SetRegenerateHealth only for AC/TC

This commit is contained in:
xIvan0ff
2021-05-23 14:56:39 +03:00
parent fa6fc881e6
commit c2bbe07163
2 changed files with 4 additions and 0 deletions

View File

@@ -790,7 +790,9 @@ ElunaRegister<Creature> CreatureMethods[] =
{ "GetCreatureFamily", &LuaCreature::GetCreatureFamily },
// Setters
#if defined(TRINITY) || defined(AZEROTHCORE)
{ "SetRegeneratingHealth", &LuaCreature::SetRegeneratingHealth },
#endif
{ "SetHover", &LuaCreature::SetHover },
{ "SetDisableGravity", &LuaCreature::SetDisableGravity },
{ "SetAggroEnabled", &LuaCreature::SetAggroEnabled },