Commit Graph

139 Commits

Author SHA1 Message Date
maximius
184c8ac829 *Cleanup
--HG--
branch : trunk
2009-08-13 18:20:40 -07:00
Kudlaty
ed637fbf1f Merge [SD2]
r1211 Correct tempsummon type for adds and add spellId for future use. Patch by Abim - skip
r1212 Added support for quest 6523. Patch by Meldanor - skip (already have that, just move waypoints to db)
r1213 Add a few missing address-of operators and some general cleanup.
r1214 Adjusting how pet are summoned and check when new pet can be summoned for sharkkis. - skip
r1215 Added support for event related to quest 12727. Original patch by ckegg
r1216 Some adjustments to function for controlling combat movement (MoveChase())
r1217 Use SetCombatMovement() for more scripts where expected and remove one useless function from Scripted_NoMovementAI (this may be fully removed)
r1218 Correct script_texts, adding variable %s where missing (...and where expected. Note that not all creature emote texts contain name of sender). - skip
r1219 Reset DATA_OPERA_OZ_DEATHCOUNT to 0 at start, in case event was previously run and incremented counter.
r1220 Correct lost-in-process FillPointMovementListForCreature() for quest 12727 (copy/paste == bad)

--HG--
branch : trunk
2009-08-13 02:48:34 +02:00
Kudlaty
c2b2611a42 Merge [SD2]
r1192 Adding and correct spell used for hard enrage after 15 minutes, and also correct initial ability if any of dragons are alive at initial aggro. Added placeholder for soft enrage at 10%HP left.
r1193 Fixed typo in EnterEvadeIfOutOfCombatArea()
r1194 Implement basic parts of tomb of seven event in BRD. - skip (already scripted)
r1195 Some cleanup to parts of the seven event script.
r1196 Reset event for triage-quests in better way and also clear lists.
r1197 Clean up and add long time incomplete script for first boss in SWP. - skip
r1198 Correct typo in filename in previous commit, sorry :) - skip
r1199 Added script for areatrigger 4853, to be used to start pre-event, second boss in SWP. - skip
r2000 Check alive-state before hatching all eggs. Patch by kolomati2
      Correct typo in variable. - skip
r2001 Correct one spellId and remove non-existing. By Tassader. - skip
r2002 Added support for quest 12739(and 12742 to 12750). Patch by ckegg - skip (already scripted)
r2003 Corrected copyright notices in misc makefile.am - skip
r2004 Added: Missing heroic spells for Vexallus. Heroic version is complete now.
      Added: Missing heroic spells for Murmur. Heroic version is also complete.
      Fixed: As always some timers.

--HG--
branch : trunk
2009-08-12 23:34:19 +02:00
QAston
e2e70b936b *Cleanups and obsolete spell handlers remove.
--HG--
branch : trunk
2009-08-11 19:57:27 +02:00
megamage
31374835f6 *Cleanup about deleting player.
--HG--
branch : trunk
2009-08-10 23:32:20 -05:00
megamage
df9cf9c0fa *Some scripts of ulduar boss (far from finished)
--HG--
branch : trunk
2009-08-09 15:09:44 -05:00
Kudlaty
10d2625a5c Merge [SD2]
r1151 Remove old workaround and instead use spell to summon dragonhawk from eggs in ZA. Correct eggs hatched count. - skip
r1152 Remove obsolete script function DoZoneInCombat() and replace in code with SetInCombatWithZone(). Requires Mangos 8057+ - skip
r1153 Respawn eggs for boss in ZA in case evade. Remove old workaround and summon dragonhawks by spell from all remaining eggs at 35% hp. - skip
r1154 Added main spells for first boss in ZA - skip
r1155 Added ZA boss' spirit lynx script - skip
r1156 Correct typos and errors in misc .txt files - skip
r1157 Added abilities and phases for halazzi - skip
r1158 Add two lost variables in previous commit, used for reset phase - skip
r1159 Use expected movement flag for escortAI (source need more detailed cleanup) - skip
r1160 More corrections of movementflags + minor cleanup code. - skip
r1161 Correcting boss astromancer and adds' spells. Some minor code cleanup.
r1162 Fix typo related to ReceiveEmote() and update code for once script, using spell instead of emote.
r1163 Added spells for Unworthy Initiate. - skip
r1164 Added ScriptedAI function EnterEvadeIfOutOfCombatArea() used for location check of creatures that are expected to evade when out of certain area. Location coordinates are hard coded for each creature entry.
r1165 Replace/use EnterEvadeIfOutOfCombatArea for three bosses, with locations added in previous commit.
r1166 Add one more boss to EnterEvadeIfOutOfCombatArea() list and also use boolean for function (to be used if special case evade events are expected).
r1167 Remove some old (and wrong/not needed) movementflags, correct remaining to use MONSTER_* - skip
r1168 Fixed spellId typo - skip
r1169 Added basic support for quest 12733 (change our script to this)
r1170 Remove meele attack for mini-boss and add some distance for MoveChase()

--HG--
branch : trunk
2009-08-08 21:29:12 +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
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
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
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
Kudlaty
88137c07b9 Merge [SD2]
r1080 Update code with new and faster functions for distance checks.

--HG--
branch : trunk
2009-06-19 16:42:48 +02:00
megamage
726e686f08 *Cleanup of scripts.
--HG--
branch : trunk
2009-06-16 11:45:33 -05:00
megamage
e192d8f39b *Some work on vehicle.
--HG--
branch : trunk
2009-06-14 09:57:57 -05:00
megamage
0e6e4fff64 *Fix the bug that door state of naxx is not loaded.
--HG--
branch : trunk
2009-06-13 11:23:50 -05:00
megamage
17591b40c1 *More cleanup of scripts.
--HG--
branch : trunk
2009-06-04 17:49:51 -05:00
megamage
cd632749d6 *More cleanup of scripts.
--HG--
branch : trunk
2009-06-04 17:42:48 -05:00
megamage
7db7e004f4 *Remove useless class ScriptedInstance.
--HG--
branch : trunk
2009-06-04 17:11:34 -05:00
megamage
08e48f5084 *Use dynamic cast for ai cast.
--HG--
branch : trunk
2009-06-04 17:03:43 -05:00
megamage
8fa2fa0fdb *Use dynamic cast for script cast.
--HG--
branch : trunk
2009-06-04 16:36:33 -05:00
megamage
89f4c1c444 *Add function FindNearestCreature and FindNearestGameObject to replace old FindCreature and FindGameObject
--HG--
branch : trunk
2009-05-29 16:49:28 -05:00
megamage
773f9d072c *Set boss active=false after they arrive home. This fix the bug that boss is stuck at some far away grid and there spawns another boss.
--HG--
branch : trunk
2009-05-27 23:26:08 -05:00
megamage
9624f6e099 *Fix a typo in Thaddius script that make he not berserk.
*Update Heigan script so that players outside the room will be teleported in when eruption happens.
Thanks to cryingcloud.

--HG--
branch : trunk
2009-05-26 19:55:41 -05:00
megamage
6473e94358 *Update Naxx scripts. Now only Kelthuzad is incompleted
--HG--
branch : trunk
2009-05-20 11:44:38 -05: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
megamage
c75e3d526b *Update Naxx script. Let boss evade if they are pulled out of room.
--HG--
branch : trunk
2009-05-17 16:37:03 -05:00
megamage
698b43f088 *Make some boss scripts safer. But I still strongly recommend that you do not spawn instance bosses outside the instance. They may make server crash like hell.
--HG--
branch : trunk
2009-05-16 22:45:13 -05:00
megamage
8994cbe081 *Update some script functions.
--HG--
branch : trunk
2009-05-13 10:54:11 -05:00
megamage
f631b2a2d6 *Update creature AI functions.
--HG--
branch : trunk
2009-05-11 11:46:48 -05:00
megamage
f9f5d078fd *Update instance script functions.
--HG--
branch : trunk
2009-05-11 03:17:13 -05:00
megamage
82f886e3c1 *Update AI scripts. Use better default AI.
--HG--
branch : trunk
2009-05-10 22:48:22 -05:00
megamage
dcf41256dd *Move some AI functions to core. No real change.
--HG--
branch : trunk
2009-05-10 16:07:49 -05:00
megamage
40a8e6d3ab *Rename some script functions (no real change).
--HG--
branch : trunk
2009-05-10 14:29:28 -05:00
megamage
1576a44d38 *Update naxx script.
--HG--
branch : trunk
2009-05-10 01:22:51 -05:00
megamage
e35d07ad81 *Update Sapphiron script.
--HG--
branch : trunk
2009-05-09 10:50:41 -05:00
megamage
f4e8654337 *Update creature AI functions
--HG--
branch : trunk
2009-05-06 00:05:54 -05:00
megamage
9f0f239e60 *Merge.
*Also fix build in VC7 and VC8.

--HG--
branch : trunk
2009-05-02 13:30:55 -05:00
megamage
f303ee08c5 *Update spell selection.
--HG--
branch : trunk
2009-05-02 11:28:11 -05:00
megamage
db817d668a *Merge.
--HG--
branch : trunk
2009-05-01 18:37:32 -05:00
megamage
c9cd3b07f9 *Add some InstanceData functions to better handle instance doors.
--HG--
branch : trunk
2009-05-01 18:24:12 -05:00
megamage
02f56a6ad8 *Fix build.
--HG--
branch : trunk
2009-04-30 23:40:51 -05:00
megamage
8a57a94eca *Merge.
--HG--
branch : trunk
2009-04-30 23:38:21 -05:00
megamage
ce68fc9c64 *Update some naxx boss scripts.
--HG--
branch : trunk
2009-04-29 00:15:18 -05:00
megamage
4e0d7e4f33 *Sort script folders by map.
*Fix build.

--HG--
branch : trunk
2009-04-27 23:09:27 -05:00
megamage
8f0fecd7e3 *Fix build.
--HG--
branch : trunk
2009-04-27 21:23:42 -05:00
Chaz Brown
b14bb5b39a Change all SD2: to TSCR:
--HG--
branch : trunk
2009-04-24 00:51:09 -04:00
Chaz Brown
d0ffec6592 Change all SD2: to TSCR:
--HG--
branch : trunk
2009-04-24 00:50:59 -04:00
megamage
f5fff5b186 *Add a new class for event based scripts. Two examples are given.
--HG--
branch : trunk
2009-04-22 23:03:49 -05:00
Machiavelli
b92eac3b27 Merge SD2 up to r967
--HG--
branch : trunk
2009-04-19 21:16:11 +02:00