Commit Graph

120 Commits

Author SHA1 Message Date
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
megamage
8e910aca6b *Merge.
--HG--
branch : trunk
2009-04-15 12:05:59 -05:00
megamage
6b11f9a511 *Call new function InitializeAI() instead of Reset() to do one-time work.
--HG--
branch : trunk
2009-04-13 17:53:09 -05:00
megamage
d697fbd158 *Merge.
--HG--
branch : trunk
2009-04-11 15:03:34 -05:00
megamage
9378a9cf21 *Add function GetPlayer and GetCreature for scripts. Please try to not use GetUnit in the future.
--HG--
branch : trunk
2009-04-11 13:42:34 -05:00
Muhaha
a011612e3f * Merged ScriptDev2 952
--HG--
branch : trunk
2009-04-09 23:07:32 +02:00
megamage
f59c4debf6 [7622] Added creatureAI with related database tables. Author: AlexDereka
*Note: three tables are renamed.

--HG--
branch : trunk
2009-04-07 19:38:09 -05:00
XTZGZoReX
cc2a089a9d * Trailing whitespace removed.
--HG--
branch : trunk
2009-04-06 21:14:51 +02:00
megamage
8408fb7cd3 *Merge.
--HG--
branch : trunk
2009-03-31 18:21:45 -06:00
megamage
7f209249a2 *Do not call reset in construct funciton of script.
*Add function doaction to safely pass parameters between scripts.

--HG--
branch : trunk
2009-03-31 18:12:49 -06:00
Muhaha
d64436a5e4 * Merged ScriptDev2 928
--HG--
branch : trunk
2009-03-22 23:11:55 +01:00
megamage
a2392121f0 *Fix the bug that summon dbc is not read. Now creatures can be summoned.
*Make minipet as tempsummon instead of pet. Make totem as tempsummon.

--HG--
branch : trunk
2009-03-19 14:41:30 -06:00
megamage
a5882ee84a *Merge.
*"Fix Glowing Blood" is not merged. Outdated patch?

--HG--
branch : trunk
2009-03-13 18:48:53 -06:00
megamage
146b2560aa *Call stopmoving in moveidle.
--HG--
branch : trunk
2009-03-13 14:42:57 -06:00
megamage
16ee4a46c2 *Merge.
--HG--
branch : trunk
2009-03-12 14:22:59 -06:00
megamage
1fbfc6da64 *Assign possessed AI and pet AI to charmed creatures.
--HG--
branch : trunk
2009-03-12 14:15:44 -06:00
megamage
5fe7b48037 *Merge.
--HG--
branch : trunk
2009-02-23 17:04:15 -06:00
megamage
34517a860f *More fix about move flag.
--HG--
branch : trunk
2009-02-23 13:14:04 -06:00
Blaymoira
08b760e953 *Fix a typo in DoZoneInCombat function - by Elron
--HG--
branch : trunk
2009-02-23 16:03:18 +01:00
Muhaha
04560f0437 * Merged ScriptDev2 897
* TODO:
- fix mob_eventai.cpp line 613 DisplayID_A
- merge boss_kaelthas.cpp with sd2
- fix azuremyst.cpp line 108 Spell->SpellFamilyFlags2

--HG--
branch : trunk
2009-02-20 14:14:16 +01:00