diff options
author | megamage <none@none> | 2009-07-30 10:53:16 +0800 |
---|---|---|
committer | megamage <none@none> | 2009-07-30 10:53:16 +0800 |
commit | 3926cb174b7a5ff98a69705092831a7111333377 (patch) | |
tree | f34f9ac23333d2bb5e91cdda898b02264328a65b /doc | |
parent | dd94fb12d68677c01b906ab05ef8c8eb676554b3 (diff) |
[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
Diffstat (limited to 'doc')
-rw-r--r-- | doc/EventAI.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/EventAI.txt b/doc/EventAI.txt index 7434a7adf8e..c63fb9044cc 100644 --- a/doc/EventAI.txt +++ b/doc/EventAI.txt @@ -137,6 +137,7 @@ Each event type has its own specific interpretation of it's params, like every e 39 ACTION_T_CALL_FOR_HELP Radius Call any friendly out-of-combat creatures in a radius (Param1) to attack current creature's target. 40 ACTION_T_SET_SHEATH Sheath Sets sheath state for a creature (0 = no weapon, 1 = melee weapon, 2 = ranged weapon). 41 ACTION_T_FORCE_DESPAWN No Params Despawns the creature +42 ACTION_T_SET_INVINCEABILITY_HP_LEVEL hp_level, is_percent Set min. health level for creature that can be set at damage as flat value or percent from max health * = Use -1 where the param is expected to do nothing. Random constant is generated for each event, so if you have a random yell and a random sound, they will be linked up with each other (ie. param2 with param2). @@ -737,6 +738,14 @@ This possible setup by set ar event AI start (single used EVENT_T_TIMER_OOC set Despawns the creature (in or out of combat) No parameters +------------------------- +42 ACTION_T_SET_INVINCEABILITY_HP_LEVEL +------------------------- +Parameter 1: min. health level for creature that can be set at damage, 0 used as absent min. health value for apply damage. +Parameter 2: format of paramater 1 value +0 paramater 1 used as flat value +1 paramater 1 used as percent (0..100) from creature max health + ========================================= Target Types ========================================= |