Alex
bde5402b40
[7863] Implement for EVENT_T_SPAWNED map/zone/subzone only event conditions.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-21 05:26:38 +04:00
Neo2003
fa03b3663a
Mobs fleeing and getting assistance feature implementaion.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Also rename ACTION_T_FLEE to ACTION_T_FLEE_FOR_ASSIST for clear use
2009-05-21 01:33:28 +04:00
VladimirMangos
f332c000d1
[7860] Implement creature event ai ACTION_T_CALL_FOR_HELP for explicit call for help in some script cases.
2009-05-20 22:15:41 +04:00
VladimirMangos
72b4ff2fac
[7852] Use union of per-event type structures, more checks at creature event ai loading.
...
Including:
* Fixed check for EVENT_T_SPELLHIT school field. Add check at loading. Note: this event expect before and now schol _mask_ in param2.
* In EVENT_T_RECEIVE_EMOTE use original player condition check code instead copy of related code.
2009-05-19 22:20:36 +04:00
VladimirMangos
07d00c3927
[7847] Replace paramter unions by uniton of event ai action type structures. Add/fix some loading checks.
...
* Also send to process function reference to strucutre instead large amount fields.
* Specially note that fixed check for first arg of action type 27 that before wrongly test as quest id,
when by using code expected creature id. Possible some used data wrongly can be quest ids....
2009-05-18 22:45:20 +04:00
VladimirMangos
6aacc45ace
[7834] Mangos string loading code cleanups.
...
* Better integration creature event ai strings.
* Not inclide in checks as expected max mangos strings range value to range
2009-05-15 17:01:11 +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
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