Commit Graph
913 Commits
Author SHA1 Message Date
Kudlaty be74be36f6 Merge [SD2]
r1146 Use ForcedDespawn() where possible and remove some not needed function calls. Code style applied. Requires Mangos 8040+
r1147 Make Millhouse have better movement, using distance for MoveChase
r1148 Added missing call sendGossipMenu
r1149 Correct mixed up emote and language in one script_texts
r1150 Update custom SD2 patch for Mangos 0.12 branch - skip

--HG--
branch : trunk
2009-08-07 18:07:40 +02:00
Kudlaty 0aef1a9a48 Merge [SD2]
r1142 Fix: Kael'thas advisors gain double health in phase 3 and dropp them on reset
      Fix: Void Reaver will now ignore pets and totems when casting arcane orb
r1143 Remove old workaround for summon kael(TK) weapons and use spells instead. Apply code style to parts of code.
r1144 Added lost sql from revision 1119 and 1121 - skip
r1145 Correcting details for npc related to quest 590

--HG--
branch : trunk
2009-08-07 02:03:27 +02:00
QAston 50c73d433c *Add SpellCasterAI as a framework for casting only units (like ebon gargoyle or mirror image.
--HG--
branch : trunk
2009-08-06 23:10:36 +02:00
Kudlaty 6eb19cbe0f Merge [SD2]
r1130 Update scripts using common way to initialize heroic and instance data and apply sd2 code style. - skip
r1131 Added more parts of vazruden/nazan -encounter. Note scriptCall MovementInform() must be corrected before this script can work as expected. - skip
r1132 Add custom patch for backport SD2 to 0.12 branch of Mangos. Please note this is not officially supported and bugs are not to be posted in regular way (use own thread in forums for help/improvements) - skip
r1133 Replace some needless use of script function DoSpawnCreature with direct call of SummonCreature.
r1134 Correct timer for najentus spine and remove obsolete code. - skip
r1135 Corrected a few variables in misc scripts, apply SD2 code style - skip
r1136 Added support for quest 12848 - skip (already scripted)
r1137 Correct timer and check if event already begun for mob_illidari - skip
r1138 Remove one custom MoveInLineOfSight and use only for intro
r1139 Remove useless cached copy of creature guid already cached in instance script. Call Reset for boss when encounter actually start to ensure adds list are filled and also simplify some additional for mob's script. - skip
r1140 Restore compile after changes in displayId. Requires Mangos 8015+ - skip
r1141 Added instance script for map 601 - skip (already have better)

--HG--
branch : trunk
2009-08-06 20:35:18 +02:00
Kudlaty 87f573752e Merge [SD2]
r1120 Add CallForHelp at aggro for two instance bosses. Requires Mangos 7951+
r1121 Added basic parts of boss spell definitions and texts for Nexus instance - skip (already have better)
r1122 Correct one spellId, add more spell definitions for boss noth - skip
r1123 Remove wrong spell for gluth and add missing emote text. Summon only expected amount of adds. Some additional cleanup in anubrekhan and check heroic for a few spell cast. - skip
r1124 Use normal health check calculation for easier backport (to older client)
r1125 Fixed typo in previous commit
r1126 Add spell cast to dragon in scrying orb event and add workaround for kill credit.
r1127 Convert gossip related define to enum and remove one useless (redefinition)
r1128 Remove no longer needed item scripts that can be controlled with database table item_required_target (Mangos 7980+)
r1129 Remove one more obsolete item script (use spell_area DB table for area limited spell).
      Cleanup other and provide spell error message. Requires Mangos 7983+

--HG--
branch : trunk
2009-08-06 19:10:50 +02:00
Kudlaty e645927759 Merge [SD2]
r1114 Added two new struct ObjectDistanceOrder/ObjectDistanceOrderReversed for generic use sorting objects by GetDistanceOrder()
r1115 Remove obsolete code in misc scripts and use struct ObjectDistanceOrder/Reversed instead
r1116 Added script for mob 24079 + related instance script - skip (already have it better)
r1117 Update DoPlaySoundToSet function and allow WorldObject as source for sound.
r1118 Correcting end bosses scripts in SM cathedral
r1119 Added basic scripts w/texts for bosses in utgarde keep

--HG--
branch : trunk
2009-08-06 17:36:32 +02:00
megamage d4dca0c8cd *Mirror Image By thenecromancer
*Fixes a bug when images loose name after they reset
*Fixes a bug when images consistently interrupt owner's cast
*Fixed a bug when images have very laggy follow movement
*Removed a line that made no sense

--HG--
branch : trunk
2009-08-06 08:53:29 -05:00
megamage 8c875f2323 *Patch Reliquary of Souls. By Farah
--HG--
branch : trunk
2009-08-06 08:50:44 -05:00
megamage 87c8df8f3a *Add script of General Bjarngrim, Halls of Lightning. Source: SD2. Thanks to manuel.
--HG--
branch : trunk
2009-08-06 08:49:41 -05:00
megamage bcbfbd6826 *Some clean up of scripts.
--HG--
branch : trunk
2009-08-05 22:24:30 -05:00
Rat 35cf6778de *added script for training dummies
*added new creature extra flag (CREATURE_FLAG_EXTRA_NO_SKILLGAIN) if set creature won't increase player's weapon skill

--HG--
branch : trunk
2009-08-04 12:38:35 +02:00
QAston 2e34af64cf *Allow ItemExpire events to be scripted.
*Add .debug itemexpire command
*Add script for Disgusting Jar and Mysterious Egg - original patch by Elron.

--HG--
branch : trunk
2009-08-04 01:44:14 +02:00
QAston f93830e0ae *Add DeleteObjectWith owner function for gameobject deletion with updating owner object list
*Cleanups in Aura 1852 and recenlty added glyph code.

--HG--
branch : trunk
2009-08-03 14:52:30 +02:00
Rat f166fa145f *fix Lady Vashj
*fix Toxic Sporebat's Toxic Pool spell

--HG--
branch : trunk
2009-08-03 01:12:05 +02:00
Chaz Brown ba26a738c4 Really fix CRLF
--HG--
branch : trunk
2009-07-29 16:59:50 -04:00
QAston f4a90873b4 *Use _SECURE_SCL=0 in all release vcpp projects - original patch by DearScorpion.
--HG--
branch : trunk
2009-07-29 13:57:20 +02:00
QAston 6bb0ff8948 *Implement attribute flag SPELL_ATTR_EX3_BLOCKABLE_SPELL - now spells: Gouge, Kick, Wing Clip, Rake, Hamstring are blocable - by thenecromancer.
--HG--
branch : trunk
2009-07-28 23:27:45 +02:00
QAston c15c25aca4 *Cleanups and Fixes in Mirror Image script.
--HG--
branch : trunk
2009-07-28 21:34:18 +02:00
Kudlaty 0aa4879ecc Script for quest 12570. Author: manuel
--HG--
branch : trunk
2009-07-27 13:21:35 +02:00
QAston 190863e5a5 *Update procflags for Imp.Shadowform.
*Use item speed value instead of attack speed value for enchant PPM - by MaS0n.
*Correctly apply cooldown to Improved leader of the pack mana regen.
*Do not refresh duration when stack from aura is dropped - by Apoc

--HG--
branch : trunk
2009-07-26 19:58:01 +02:00
Kudlaty 93e7fe61ca Add missing file from rev 4594
--HG--
branch : trunk
2009-07-25 22:18:34 +02:00
Kudlaty d62da4cc16 Merge [SD2]
r1106 Prevent abuse of item 44222. Apply some SD2 code style
r1107 Add health modification for phase and correct phase value for kael(TK)
r1108 Remove scripted function SetSheathState() and use mangos function instead. Fix one typo and apply sd2 code style for one script.
r1109 Remove old makefile* files not needed.
r1110 Some minor adjustments to sharkkis, add one spell and also add distance to MoveChase. Not kill boss' advisors on Reset when not needed.
r1111 Check pointers and avoid possible crash
r1112 Added script for friendly Kael in MgT (movement to orb-platform, transform and gossip)
r1113 Correct misunderstanding added in 1112, and use timer for transformation instead (creature are expected to spawn/fly down once player use orb).

--HG--
branch : trunk
2009-07-25 22:16:21 +02:00
Anubisss 2cad0f09d4 *Minor clean in Muru.
*Fix SWP's door handling.

--HG--
branch : trunk
2009-07-25 02:50:35 +02:00
Kudlaty 261e75c9cf Merge [SD2]
r1100 Added basic AI definitions for boss sartharion (with adds, using a common AI for certain events) and intro calling drakes
r1101 Correcting a few details and simplify call drakes for boss sartharion
      Add boss and mini-boss' abilities and add more common events to common drakes AI
r1102 Drop support for Windows VC71 (2003) (ref Mangos rev 7865)
r1103 Added support for quest 6481 (summon npc 11920)
r1104 Restore compile after change in OnCreatureCreate(). Require Mangos 7871+ - skip (we don't merge 7871?)
r1105 Remove code related to taunt immune. creature_template.flags_extra(CREATURE_FLAG_EXTRA_NOT_TAUNTABLE) must be used instead where creature should always be immune.

--HG--
branch : trunk
2009-07-24 22:42:17 +02:00
Anubisss 0bb2fc634a *Remove duplicate items from scripts' CMakeLists.
--HG--
branch : trunk
2009-07-24 13:47:38 +02:00
Kudlaty 4f7e94ace2 Merge [SD2]
r1095 Correct one spellId in hyjal - skip
r1096 Remove more grid search code from scripts and use functions.
r1097 Remove obsolete functions redefined in 1094
r1098 Added text for bosses in map 615
r1099 Added instance script for map 615

--HG--
branch : trunk
2009-07-24 06:16:31 +02:00
Kudlaty 607dfaf8c9 Merge [SD2]
r1088 Add grid searcher class PlayerAtMinimumRangeAway and create ScriptedAI function GetPlayerAtMinimumRange that return player in grid with at least the defined range away from m_creature.
r1089 Remove no longer needed grid search code and use function instead. - skip
r1090 Rename and clarify function variables - skip
r1091 Add two new grid search functions to return list of creature and gameobject. Remove unused class.
r1092 Remove more grid search code in scripts and use functions instead.
r1093 Remove obsolete grid search class and rename new to a more consistent name.
r1094 Speed up functions GetCreature/GameObjectListWithEntryInGrid a bit

--HG--
branch : trunk
2009-07-24 05:27:49 +02:00
Kudlaty a7832a632b Script for quest 11878. Author: Drethek
Missing update of *full.sql

--HG--
branch : trunk
2009-07-23 20:04:58 +02:00
Kudlaty 95b5da8cdf Functions Clean Up - by Drethek
--HG--
branch : trunk
2009-07-23 19:43:21 +02:00
Kudlaty 81e6f06680 Add script for quest 12861. Author: Drethek.
--HG--
branch : trunk
2009-07-23 19:30:25 +02:00
QAston 21ffe5f70a *Cleanup in The Endless Hunger script. - by Drethek.
--HG--
branch : trunk
2009-07-23 15:22:45 +02:00
QAston 1eef9f86f6 *Script for Plug the Sinkholes - by Drethek.
--HG--
branch : trunk
2009-07-23 15:13:17 +02:00
QAston 8e44d673b9 *Merge.
--HG--
branch : trunk
2009-07-22 17:11:20 +02:00
QAston 2ff21d4cef *Implement Aura Type 247 (SPELL_AURA_CLONE_CASTER) and 279 (SPELL_AURA_INITIALIZE_IMAGES)
*Handle CMSG_GET_MIRRORIMAGE_DATA opcode.
*Save Minions follow angle to allow themmoving in a formation
*Improvements in SpellAI: correctly evade and select attack target for creatures without threat list
*Use SpellAI instead of PetAI for not controllable guardians
*Only guardians with SUMMON_TYPE_PET are controllable now
*Add script and template data for Mirror Image.
*Thanks to Drahy for help.

--HG--
branch : trunk
2009-07-22 17:10:30 +02:00
Anubisss a22a9399dd *Fix door handling in Akama's script.
--HG--
branch : trunk
2009-07-22 02:05:29 +02:00
megamage ffcbd11b2c [8190] Update killing quest objectives base at creature_template KillCredit fields. Author: GriffonHeart
Note: for avoid double counting must be removed C++ scripts and EventAI scripts that do same thing in old way.

    Signed-off-by: VladimirMangos <[email protected]>

    Also implement KillCreditN field check at loading.

--HG--
branch : trunk
2009-07-20 12:30:37 +08:00
Rat ac91127d78 Backed out changeset: ad3793582d28
--HG--
branch : trunk
2009-07-19 23:19:52 +02:00
Rat e1c44483f5 *added script for Underbog Colossus (SSC)
--HG--
branch : trunk
2009-07-19 23:08:38 +02:00
Necroo a91296aec6 *Add cooldown timer for boss Grand Magus Telestra.
--HG--
branch : trunk
2009-07-19 13:36:55 +02:00
Rat c8342ca8ce *use OriginalVictim for some range based spell casts (only scripts)
-fixed void reaver's arcane orb spell, now it is shown in combatlog (cheers to bossmods)

--HG--
branch : trunk
2009-07-18 23:22:23 +02:00
Rat b7b3264cb5 *SerpentShrine Caverns fixes
-target only players for some spells
-innerdeamons only follow their 'targets'
-despawn deamons when Leo divides himself

--HG--
branch : trunk
2009-07-18 20:18:09 +02:00
Rat 99112d1966 *fixed Supremus' Vulcanos (temp fix untill summon spell fixed)
*fixed Supremus Molten Flame

--HG--
branch : trunk
2009-07-18 19:46:14 +02:00
Rat 69c8c84f09 *implemented MOJO (yes the frog from Zul'Aman) have fun
--HG--
branch : trunk
2009-07-18 18:18:33 +02:00
BroodWyrm 926e4b8c08 * And add the right one
--HG--
branch : trunk
2009-07-17 23:46:36 +02:00
QAston b897fcbe10 *Use spell instead of function for giing kill credit in Death's Challenge script - by Drethek.
--HG--
branch : trunk
2009-07-17 19:26:53 +02:00
QAston 88cd705c26 *Remove some code for spells not present in dbc of 313.
--HG--
branch : trunk
2009-07-17 17:26:13 +02:00
BroodWyrm d6bd04ab0d * Add script for Val'kyr Battle-maiden - patch provided by Drethek
* Add summonerguid to summons by spell

--HG--
branch : trunk
2009-07-16 20:27:53 +02:00
QAston 8898e9f420 *Fix the bug that escorted creatures return to their spawnpoint after engaging combat.
--HG--
branch : trunk
2009-07-14 20:15:47 +02:00
QAston 814f66db91 *Fix Defensive Tactics.
*Correctly delete gameobject in BT_Najentus script.

--HG--
branch : trunk
2009-07-13 23:36:38 +02:00
Anubisss 87213301e7 *Merge SD2.
*r1202: Added support for quest 12739(and 12742 to 12750). Patch by ckegg

*And merge a grid searcher from SD2.

--HG--
branch : trunk
2009-07-12 01:17:04 +02:00