Commit Graph
59 Commits
Author SHA1 Message Date
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 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 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 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
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 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
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 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
megamage 31637d4aac *Merge.
--HG--
branch : trunk
2009-02-18 11:36:19 -06:00
KingPin 14234c86fa Newline added to bottom of all files.
--HG--
branch : trunk
2009-02-17 20:07:49 -06:00
megamage 00ba699d6f *Merge.
--HG--
branch : trunk
2009-02-16 19:04:31 -06:00
megamage 90313ed650 *Add DoCastAOE for script to cast AOE spells. Because AOE spells do not require any target.
*Corresponding update of Kalecgos script.

--HG--
branch : trunk
2009-02-15 13:19:18 -06:00
QAston 14d85a183e *Make range check dependent from target.
--HG--
branch : trunk
2009-02-14 15:56:04 +01:00
megamage b6f8f9eea8 *Fix build.
--HG--
branch : trunk
2009-01-30 19:02:14 -06:00
megamage 8fee06f041 *AI structure update.
--HG--
branch : trunk
2009-01-30 18:10:05 -06:00
Blaymoira 50172faf5a *Updated FindCreature and FindGameObject function
--HG--
branch : trunk
2009-01-25 09:57:40 +01:00
Drahy 7c19c420c6 * Updated copyright notice for new year (2009) part 1 - Mercurial cant convert all files at once
--HG--
branch : trunk
2009-02-04 12:04:12 +01:00
megamage 9f1409c557 *Fix a crash bug caused by motionmaster.
*Fix charge movement.

--HG--
branch : trunk
2009-01-17 17:46:28 -06:00
megamage 9b8c50bb3b *Add script function DoGetThreat and DoModifyThreatPercent and check if !pUnit to prevent crash.
*Note: it is always possible that getVictim() becomes NULL during updateAI!

--HG--
branch : trunk
2009-01-09 12:06:08 -06:00
megamage 7422c2b9f6 *Some modifications of FindCreature and FindGameobject functions.
--HG--
branch : trunk
2009-01-01 23:42:11 -06:00
Blaymoira 057d490710 *Changes in FindCreature and FindGameObject function
--HG--
branch : trunk
2008-12-28 18:10:15 +01:00
Blaymoira 89f66acc87 *Changes in function ScriptedAI::DoSay - by Lightguard
--HG--
branch : trunk
2008-12-27 21:27:41 +01:00
Blaymoira 178ddecde6 *Restore build on linux - by Lightguard
--HG--
branch : trunk
2008-12-26 14:21:29 +01:00
Blaymoira ec865f7916 *Implemented new function for Creature and Gameobject searching with gridsearchers - patch provided by Lightguard
*Names:
*Unit* FindCreature(uint32 entry, uint32 range);
*GameObject* ScriptedAI::FindGameObject(uint32 entry);

--HG--
branch : trunk
2008-12-26 13:30:46 +01:00
megamage 39083f4ff8 *Add function SummonTrigger and allow to override its AI.
*Remove some trigger scripts. Use default trigger AI and db data instead.
*Small fix on eagle boss' electrical storm.

--HG--
branch : trunk
2008-12-10 20:25:47 -06:00
megamage c72bf6e8c4 *Fix the bug that gouge/scatter shot interrupt self.
*Fix the bug that spams setspeed errors.
*Clean up scripts to delete all lines which may cause crash by removing stealth aura.

--HG--
branch : trunk
2008-11-27 15:19:06 -06:00
megamage ea68727d27 *Merge from Mangos. Add MapReference. Author: hunuza.
*Also re-commit the patches reverted in 255.

--HG--
branch : trunk
2008-11-18 19:40:06 -06:00
megamage ee02a2fc84 [svn] Send AttackStart package when update visibility.
Update DoMeleeAttackIfReady to support dual wield.
Show player modelid2 instead id3 of triggers. This should fix the bug that gameobject::castspell summon a human model.
Remove the correct flag to make creature attackable. This should fix the bug that Illidan and Magtheridon are unattackable.
Add NullCreatureAI for trinityscript.
Fix channeler's soul transfer.
Some update of black temple scripts.

--HG--
branch : trunk
2008-11-09 14:54:13 -06:00
megamage 2c83fc42fc [svn] Fix a bug that event_ai mobs do not attack or cast.
--HG--
branch : trunk
2008-11-09 10:00:15 -06:00