Commit Graph

3434 Commits

Author SHA1 Message Date
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
megamage
2cdb3865aa [7845] Implement reload support for creature eventAI tables. Author: evilstar
--HG--
branch : trunk
2009-05-18 15:09:34 -05:00
megamage
bd87c96f4c [7844] Fixed mangos string storage index type. Author: VladimirMangos
--HG--
branch : trunk
2009-05-18 15:07:14 -05:00
megamage
e8be2f026e *Add some scripted spells for naxx.
--HG--
branch : trunk
2009-05-18 15:04:05 -05:00
QAston
d0ef4b8b4a *Merge.
--HG--
branch : trunk
2009-05-18 21:55:04 +02:00
QAston
7ed391aa92 *Fix beacon of light
*Apply healing aura mods to leech auras.

--HG--
branch : trunk
2009-05-18 21:54:11 +02:00
megamage
609f7bd6b9 *Add a missing part of sql of 3391. By nesocip
--HG--
branch : trunk
2009-05-18 14:50:29 -05:00
Anubisss
3449432e38 *Add ATTACK_DISTANCE from MaNGOS.
--HG--
branch : trunk
2009-05-18 20:34:09 +02:00
QAston
6c7f2d2b24 *Spell_proc_event entries for Malestorm Weapon - by throneinc
*Fix bug that some spells can't proc
*Add spell_proc_event entries for some items.

--HG--
branch : trunk
2009-05-18 19:00:20 +02:00
megamage
e45c57f298 *Fix the bug that startfall aoe damage also apply on direct target.
*Add starfall spell bonus for other ranks. By Uruviel and Nesocip.

--HG--
branch : trunk
2009-05-18 10:22:43 -05:00
Anubisss
a57d52fa28 *Rename a sql file because firstly You should convert the waypoints and after drop the columns.
--HG--
branch : trunk
rename : sql/updates/3257_world_creature_addon_(waypoint).sql => sql/updates/3258_world_creature_addon_(waypoint).sql
2009-05-18 15:53:59 +02:00
megamage
0b9bb3b4ff *Use Null AI for spell click creature as default.
--HG--
branch : trunk
2009-05-17 23:28:12 -05:00
megamage
a922f36da5 *Update script for Loatheb.
--HG--
branch : trunk
2009-05-17 23:27:51 -05:00
megamage
1d859b6ee4 [7843] Added newline into Pet.h end to make gcc happy. Author: ApoC
--HG--
branch : trunk
2009-05-17 18:43:07 -05:00
megamage
786083d8cc [7842] Set and stop combat for pets at player enter to GM-mode. Author: DonTomika
--HG--
branch : trunk
2009-05-17 18:42:01 -05:00
megamage
ce0feb36ea [7841] Fixed: Prevent loading maps/vmaps when building enum. Author: SilverIce
--HG--
branch : trunk
2009-05-17 18:41:16 -05:00
megamage
3d43b9a612 *Remove some unused scripts and add a missing scriptname to full sql.
--HG--
branch : trunk
2009-05-17 18:00:17 -05:00