VladimirMangos
512c015dc2
[7731] Some code cleanups, warrning fixes.
2009-04-29 04:03:59 +04:00
VladimirMangos
73db1cbe01
[7723] New AI call EnterCombat called at enter creature to combat (and re-enter if leave by some reason).
2009-04-27 03:40:50 +04:00
VladimirMangos
f2f817883a
[7722] Fixed cast allow check in EventAI.
2009-04-27 03:32:46 +04:00
VladimirMangos
9dd305b457
[7717] Use more safe code in EventAI.
2009-04-26 19:19:36 +04:00
AlexDereka
c9d51a6dc7
[7716] Fixed some typos and possible crashes.
2009-04-26 18:49:07 +04:00
NoFantasy
727f590f6e
[7712] Fixed typo in EventAI for preventing aggro from civilians.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-25 02:24:19 +04:00
VladimirMangos
ecb5a0328a
[7710] Fixed problem with stuck in combat creatures with EventAI. Remove redundent AI field.
2009-04-24 18:56:26 +04:00
NoFantasy
07310ff6c1
[7698] Remove redundent call InterruptNonMeleeSpells.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-22 18:10:16 +04:00
VladimirMangos
d910610600
[7697] Interrupt casting at enter to evade mode.
2009-04-22 18:05:59 +04:00
NoFantasy
ee9ea143d1
[7689] Batter EventAI loading checks and fix one from possible crash cases.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-19 23:51:05 +04:00
NoFantasy
f926232efb
[7679] More checks for creature EventAI loading at server startup.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-17 15:47:51 +04:00
VladimirMangos
78dd259c38
[7672] Move ReceiveEmote from script API to AI API.
...
This is also fix triggering ReceiveEmote for EventAI broken at it move to mangos sources.
2009-04-15 06:08:52 +04:00
VladimirMangos
69fb9736cc
[7667] Add to CreatureAI field pointing to creature itself. Use it instead diff. fields in subclases.
...
Also send pointer to AI constructors ans mark constructors as explicit.
This changes allow move now some generic often used AI code to CreatureAI helper functions.
2009-04-14 06:52:16 +04:00
VladimirMangos
721e005b84
[7666] For heroic mode creature use AIName from normal mode version in same way as done for ScriptName.
...
Also at creature templates loading check that AIName/ScriptName not set for heroic mode creature versions.
2009-04-14 02:28:45 +04:00
AlexDereka
6bb6ff0f7e
[7622] Added creatureAI with related database tables.
...
Code and concept (also known as EventAI) by ScriptDev2.
Note: database table layout are compatible with original db-scripts.
2009-04-05 23:05:44 +04:00