PDA

View Full Version : [8233] Implement new EventAI action ACTION_T_SET_INVINCEABILITY_HP_LEVEL. Author: Vla


biglad
07-30-2009, 06:08 AM
[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.

doc/EventAI.txt (http://bitbucket.org/Azrael/mgacore2/src/6987198bded6/doc/EventAI.txt) (9 lines added, 0 lines removed)
src/game/CreatureEventAI.cpp (http://bitbucket.org/Azrael/mgacore2/src/6987198bded6/src/game/CreatureEventAI.cpp) (21 lines added, 0 lines removed)
src/game/CreatureEventAI.h (http://bitbucket.org/Azrael/mgacore2/src/6987198bded6/src/game/CreatureEventAI.h) (13 lines added, 5 lines removed)
src/game/CreatureEventAIMgr.cpp (http://bitbucket.org/Azrael/mgacore2/src/6987198bded6/src/game/CreatureEventAIMgr.cpp) (10 lines added, 0 lines removed)


More... (http://bitbucket.org/Azrael/mgacore2/changeset/6987198bded6/)