Added single target HalveAggro and DoubleAggro

Both exported to perl/lua
pass the target you wish to change their hate.
This commit is contained in:
Michael Cook (mackal)
2014-02-18 16:52:51 -05:00
parent 068bd57fbc
commit 6e474f22a2
4 changed files with 85 additions and 1 deletions
+3 -1
View File
@@ -192,6 +192,8 @@ public:
void SetHate(Lua_Mob other);
void SetHate(Lua_Mob other, int hate);
void SetHate(Lua_Mob other, int hate, int damage);
void HalveAggro(Lua_Mob other);
void DoubleAggro(Lua_Mob other);
uint32 GetHateAmount(Lua_Mob target);
uint32 GetHateAmount(Lua_Mob target, bool is_damage);
uint32 GetDamageAmount(Lua_Mob target);
@@ -345,4 +347,4 @@ public:
};
#endif
#endif
#endif