Commit Graph

6166 Commits

Author SHA1 Message Date
megamage 6d6a4a7856 [7864] Use x.0f float constant format. Author: NoFantasy
--HG--
branch : trunk
2009-05-21 10:52:35 -05:00
megamage 5fe179019f [7863] Implement for EVENT_T_SPAWNED map/zone/subzone only event conditions. Author: Alex
--HG--
branch : trunk
2009-05-21 10:52:05 -05:00
megamage 8d771cc9f7 [7862] Fixed infinity loop at search spell related summoned gameobject in owner list. Author: VladimirMangos
--HG--
branch : trunk
2009-05-21 10:51:18 -05:00
megamage 1a4378572b [7861] Update visibility check to make possible have invisible for owner pets/totems (need for some spells) Author: Astellar
--HG--
branch : trunk
2009-05-21 10:50:28 -05:00
megamage 67c84b1f3d Mobs fleeing and getting assistance feature implementaion. Author: Neo2003
--HG--
branch : trunk
2009-05-21 10:48:00 -05:00
megamage b7053ecc0d [7860] Implement creature event ai ACTION_T_CALL_FOR_HELP for explicit call for help in some script cases. Author: VladimirMangos
--HG--
branch : trunk
2009-05-21 10:15:09 -05:00
megamage 0a5c465cdc [7858] Properly deallocate memory in tile assembler, and dereference memory when fread fails. Author: raczman
--HG--
branch : trunk
2009-05-21 10:11:36 -05:00
megamage fb0ccbf4aa [7856] Fix cast 51525 and ranks charge on target (not owner) Author: Astellar
--HG--
branch : trunk
2009-05-21 10:09:25 -05:00
megamage 4ed847a6e3 *Implement spell effect wmo damage.
--HG--
branch : trunk
2009-05-21 10:01:03 -05:00
megamage b372a5ba25 *Load gobject display info from dbc to check go boundaries.
--HG--
branch : trunk
2009-05-21 10:00:44 -05:00
megamage 40c58e5992 *Allow use gm command to set value for gobjects.
--HG--
branch : trunk
2009-05-21 09:59:49 -05:00
raczman a77f9e2092 Fix build on linux.
--HG--
branch : trunk
2009-05-21 09:54:55 +02:00
megamage 33c24110dd *Fix a bug that player takes fall damage when finishing taxi path.
--HG--
branch : trunk
2009-05-20 20:39:55 -05:00
Kudlaty 1cc1adbc8b Add some comments to changes in previous commit
--HG--
branch : trunk
2009-05-21 03:15:15 +02:00
Kudlaty ba82d76637 Fixed problem with integrated client addons. Author: tomrus88
--HG--
branch : trunk
2009-05-21 03:12:13 +02:00
Anubisss 0985fe6b5d *Fix a typo in scripts' CMakeLists.
--HG--
branch : trunk
2009-05-20 23:21:06 +02:00
Anubisss 425bb9fb55 *Merge SD2.
*r978: Added few basic parts for ramparts instance script to be used in further development.
*r979: Added support for quest 9686. - Skip this patch. Its already scripted.
*r980: Added gossip to play movie cutscene after quest 12499/12500 rewarded.
*r981: Clean up some code and correcting icon for gossip items. - Just use enums.
*r982: Added support for quest 938 (consider it a test for similar quests)

--HG--
branch : trunk
2009-05-20 23:08:46 +02:00
Anubisss a78ade9503 *Fix compile on *nix.
--HG--
branch : trunk
2009-05-20 21:06:37 +02:00
megamage 6f8dc61871 *Record target live state at filltarget and check live state at doeffect.
--HG--
branch : trunk
2009-05-20 12:58:38 -05:00
megamage 0870adb1d2 *Do not let delayed spell hit dead target. This fix the bug that penance heal dead player and make him stuck. Thanks to Stokrotka.
--HG--
branch : trunk
2009-05-20 12:43:08 -05:00
megamage 49a39abf8f *Remove some redundant code in dealdamage.
--HG--
branch : trunk
2009-05-20 12:26:14 -05:00
megamage 6d4f39e479 *Merge.
--HG--
branch : trunk
2009-05-20 11:46:43 -05:00
megamage 6473e94358 *Update Naxx scripts. Now only Kelthuzad is incompleted
--HG--
branch : trunk
2009-05-20 11:44:38 -05:00
megamage d1d194b4c7 *Update EventAI documentation. Source: ACID.
--HG--
branch : trunk
2009-05-20 11:41:32 -05:00
Kudlaty 338594e9e3 Try to fix build error on Win
--HG--
branch : trunk
2009-05-20 15:44:08 +02:00
Kudlaty f55161579c Add taxi scripts for npc Bat Handler Camille
--HG--
branch : trunk
2009-05-20 15:16:37 +02:00
Kudlaty 5ebeb2bc8a [SD2] 1075
Added 6 new taxi paths (wyrmrest temple)

--HG--
branch : trunk
2009-05-20 14:57:29 +02:00
Kudlaty e7c630ce91 [SD2] 1058
Simplify scripts using manual call ActivateTaxiPathTo().

--HG--
branch : trunk
2009-05-20 08:40:06 +02:00
Kudlaty 8305f6d3bc Merge & move taxi scripts into one file as npc_taxi
--HG--
branch : trunk
2009-05-20 07:13:19 +02:00
Drahy 28d0feabe2 * Used trinity sql coding style
--HG--
branch : trunk
2009-05-20 04:25:27 +02:00
Anubisss 5854d17783 *Merge SD2.
*r973: Added support for quest 2767
*r974: Start MoveChase when boss reach phase 3.
*r975: Added support for quest 863 - Skip this patch because its already scripted. Just use enum instead of #define
*r976: Added support for quest 435 - Skip this patch because its already scripted. Just use enum instead of #define
*977: Remove one needless grid search and use new functions for SetRun in one script. - Skip this patch because TrinityCore2 has use another way for it.

--HG--
branch : trunk
2009-05-19 23:48:48 +02:00
megamage d8ce14c66a *Add script of Thaddius.
--HG--
branch : trunk
2009-05-19 16:06:52 -05:00
megamage 221f9348d1 *Fix a typo in spell_full.sql. By Kudlaty
--HG--
branch : trunk
2009-05-19 15:44:27 -05:00
megamage ac33cb94f3 [7855] Add description command to pool_* tables for simplify DB development. Author: Seizerkiller
Note: this fields not used and not loaded by mangos.

--HG--
branch : trunk
2009-05-19 15:43:17 -05:00
megamage 1e3591d4e9 [7854] Fixed typo in random text selection code. Author: NoFantasy
--HG--
branch : trunk
2009-05-19 15:42:06 -05:00
megamage 74206e4b6a [7852] Use union of per-event type structures, more checks at creature event ai loading. Author: VladimirMangos
Including:
    * Fixed check for EVENT_T_SPELLHIT school field. Add check at loading. Note: this event expect before and now schol _mask_ in param2.
    * In EVENT_T_RECEIVE_EMOTE use original player condition check code instead copy of related code.

--HG--
branch : trunk
2009-05-19 15:38:36 -05:00
megamage ca4c3eb847 [7851] Fixed typo to allow work '.tele name' command.
[7850] Fixed '.pinfo name' work, move reputation code from it to new command '.character reputation [$name]'.
Provide and use universal way for get locale and locale index for chat/console command use.
Author: VladimirMangos

--HG--
branch : trunk
2009-05-19 15:34:07 -05:00
megamage 68c1d0feab *Allow send gobject guid in send opcode command.
--HG--
branch : trunk
2009-05-19 15:26:43 -05:00
Anubisss 73157c8314 *Fix a typo.
--HG--
branch : trunk
2009-05-19 21:07:31 +02:00
Anubisss b0ea9c589a *Merge SD2.
*r968: Adjust some scripts to use SetEquipmentSlots()
*r969: Made a few corrections to EventAI.txt
*r970: Added ScriptedAI function SetCombatMovement() for future use/development.
*r971: Small adjustments to escortAI, remove some useless code and always use current WaitTimer if not already 0 after return to last known waypoint.
*r972: Added support for quest 1651

--HG--
branch : trunk
2009-05-19 21:03:43 +02:00
QAston e348b671e7 *Corret proc from bloodsurge and judgements of the wise
*Do not proc backfire dmg from sw:death if target is killed
*Allow hots to proc from selfcast
*Fix glyph of corruption.

--HG--
branch : trunk
2009-05-19 20:33:11 +02:00
QAston 2b47f0c0f7 *Fix Demonic Empowerment.
*Some code optimisations.
*Set formalCasterGuid for area auras correctly.

--HG--
branch : trunk
2009-05-19 18:33:49 +02:00
megamage 2a2eff190c *Fix some bugs about pet spells: such as cannot cast/cannot autocast.
--HG--
branch : trunk
2009-05-19 01:23:52 -05:00
megamage 833ceee7c5 *Fix a bug that player cannot remove buff which is not casted by self.
--HG--
branch : trunk
2009-05-18 23:07:36 -05:00
megamage ba727af796 *Fix a crash caused by a typo in SetCantProc. Thanks to Drahy. Do not use rev between 3392 and 3404.
--HG--
branch : trunk
2009-05-18 17:48:03 -05:00
QAston 483714d845 *Fix a typo causing healing bonus for spells to be far too low.
--HG--
branch : trunk
2009-05-18 22:59:57 +02:00
megamage 3f98363aab *Merge.
--HG--
branch : trunk
2009-05-18 15:17:53 -05:00
megamage df866dd37b [7848] Fix set variable to zero on apply -100% mod Author: SeT
--HG--
branch : trunk
2009-05-18 15:15:22 -05:00
megamage c3499f39da [7847] Replace paramter unions by uniton of event ai action type structures. Add/fix some loading checks. Author: VladimirMangos
* Also send to process function reference to strucutre instead large amount fields.
    * Specially note that fixed check for first arg of action type 27 that before wrongly test as quest id,
    when by using code expected creature id. Possible some used data wrongly can be quest ids....

--HG--
branch : trunk
2009-05-18 15:14:27 -05:00
megamage 40dad11d74 [7846] Add empty line to end of .h file Author: timmit
--HG--
branch : trunk
2009-05-18 15:10:13 -05:00