VladimirMangos
c5bda77fe2
[8605] Check unused text/summon data in EventAI scripts.
2009-10-09 10:26:19 +04:00
Infinity
ae8712e61b
[8258] Replace redundent PQuery uses by Query in EventAI code.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-27 17:55:01 +04:00
VladimirMangos
18ae2de853
[8235] Fixed typos in ACTION_T_SET_INVINCEABILITY_HP_LEVEL.
...
Thanks to Zor for pointing.
2009-07-23 17:28:06 +04:00
VladimirMangos
dce0941511
[8233] Implement new EventAI action ACTION_T_SET_INVINCEABILITY_HP_LEVEL.
...
Action set min. health value that can be set for creature in result damage apply.
It can be used in duel like events with creatures to prevent killing creature and other
cases when creature must avoid damage at some health level while it used.
2009-07-23 12:40:21 +04:00
VladimirMangos
ef6b3f978d
[8134] Fixed typo in ACTION_T_MORPH_TO_ENTRY_OR_MODEL check.
2009-07-06 11:26:06 +04:00
NoFantasy
68848314e2
[8040] Implement Creature::ForcedDespawn and ACTION_T_FORCE_DESPAWN for EventAI.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-18 19:11:57 +04:00
VladimirMangos
5350dbafd9
[8018] Implement EVENT_T_BUFFED and EVENT_T_TARGET_BUFFED for creature EventAI.
...
Its can be used for check specific spell auras stack size for event triggering.
2009-06-15 02:25:57 +04:00
NoFantasy
c7c480f6ba
[7914] Fixed variable name typos in creature event AI code.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-30 04:44:05 +04:00
VladimirMangos
b83f32fc19
[7905] Implement ACTION_T_SET_SHEATH for creature event ai make possibility set ranged fire state.
...
Also related cleanup code in field cases and player Player::SetSheath.
2009-05-29 01:05:39 +04:00
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