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

@@ -32,6 +32,7 @@ namespace LuaCreature
return 1;
}
#if defined(TRINITY) || defined(AZEROTHCORE)
/**
* Sets whether the [Creature] can regenerate health or not.
*
@@ -48,6 +49,7 @@ namespace LuaCreature
#endif
return 0;
}
#endif
/**
* Returns `true` if the [Creature] is set to not give reputation when killed,