Commit Graph

21 Commits

Author SHA1 Message Date
megamage
d4f124cb87 [8258] Replace redundent PQuery uses by Query in EventAI code. Author: Infinity
--HG--
branch : trunk
2009-07-31 10:51:30 +08:00
megamage
7f6926dd3b [8235] Fixed typos in ACTION_T_SET_INVINCEABILITY_HP_LEVEL. Author: VladimirMangos
Thanks to Zor for pointing.

--HG--
branch : trunk
2009-07-30 10:56:15 +08:00
megamage
3926cb174b [8233] Implement new EventAI action ACTION_T_SET_INVINCEABILITY_HP_LEVEL. Author: VladimirMangos
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.

--HG--
branch : trunk
2009-07-30 10:53:16 +08:00
QAston
855c0dc3b2 [8134] Fixed typo in ACTION_T_MORPH_TO_ENTRY_OR_MODEL check. Author: VladimirMangos
--HG--
branch : trunk
2009-07-06 17:41:45 +02:00
megamage
c4a8da0e32 [8040] Implement Creature::ForcedDespawn and ACTION_T_FORCE_DESPAWN for EventAI. Author: NoFantasy
--HG--
branch : trunk
2009-06-18 17:05:01 -05:00
megamage
208fbe220d [8018] Implement EVENT_T_BUFFED and EVENT_T_TARGET_BUFFED for creature EventAI. Author: VladimirMangos
Its can be used for check specific spell auras stack size for event triggering.
[8017] Always reset creature EventAI phase at creature death.

--HG--
branch : trunk
2009-06-15 23:10:06 -05:00
megamage
4b3be64c79 [7914] Fixed variable name typos in creature event AI code. Author: NoFantasy
--HG--
branch : trunk
2009-05-31 15:58:16 -05:00
megamage
1288761fb7 [7905] Implement ACTION_T_SET_SHEATH for creature event ai make possibility set ranged fire state. Author: VladimirMangos
Also related cleanup code in field cases and player Player::SetSheath.

--HG--
branch : trunk
2009-05-28 18:43:57 -05:00
megamage
5fe179019f [7863] Implement for EVENT_T_SPAWNED map/zone/subzone only event conditions. Author: Alex
--HG--
branch : trunk
2009-05-21 10:52:05 -05:00
megamage
67c84b1f3d Mobs fleeing and getting assistance feature implementaion. Author: Neo2003
--HG--
branch : trunk
2009-05-21 10:48:00 -05:00
megamage
b7053ecc0d [7860] Implement creature event ai ACTION_T_CALL_FOR_HELP for explicit call for help in some script cases. Author: VladimirMangos
--HG--
branch : trunk
2009-05-21 10:15:09 -05:00
megamage
74206e4b6a [7852] Use union of per-event type structures, more checks at creature event ai loading. Author: VladimirMangos
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.

--HG--
branch : trunk
2009-05-19 15:38:36 -05:00
megamage
c3499f39da [7847] Replace paramter unions by uniton of event ai action type structures. Add/fix some loading checks. Author: VladimirMangos
* 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....

--HG--
branch : trunk
2009-05-18 15:14:27 -05:00
megamage
f5af5ea9e3 [7834] Mangos string loading code cleanups. Author: VladimirMangos
* Better integration creature event ai strings.
    * Not inclide in checks as expected max mangos strings range value to range

--HG--
branch : trunk
2009-05-15 16:41:36 -05:00
megamage
8644c48db8 *Add new eventAI action 105 call assistance. Param1 = radius.
--HG--
branch : trunk
2009-04-25 09:15:40 -05:00
megamage
d159e84325 [7689] Batter EventAI loading checks and fix one from possible crash cases. Author: NoFantasy
--HG--
branch : trunk
2009-04-19 18:24:40 -05:00
megamage
ad41b0c9e1 *Fix build.
--HG--
branch : trunk
2009-04-17 16:07:54 -05:00
megamage
3d628d5298 [7679] More checks for creature EventAI loading at server startup. Author: NoFantasy
--HG--
branch : trunk
2009-04-17 15:18:03 -05:00
megamage
e5088b8522 *Use EventAI as default AIName for creatures without an AIName but with eventai scripts.
--HG--
branch : trunk
2009-04-17 15:10:43 -05:00
megamage
8089219695 *Set creature's AIName to "EventAI" if it has event script.
--HG--
branch : trunk
2009-04-15 11:54:27 -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