mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Remove CanRegenerateHealth method
This commit is contained in:
@@ -26,22 +26,6 @@ namespace LuaCreature
|
||||
return 1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns `true` if the [Creature] can regenerate its health out-of-combat,
|
||||
* and returns `false` otherwise.
|
||||
*
|
||||
* @return bool regeneratesHealth
|
||||
*/
|
||||
int CanRegenerateHealth(lua_State* L, Creature* creature)
|
||||
{
|
||||
#ifndef TRINITY
|
||||
Eluna::Push(L, creature->IsRegeneratingHealth());
|
||||
#else
|
||||
Eluna::Push(L, creature->isRegeneratingHealth());
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns `true` if the [Creature] completes the [Quest] with the ID `questID`,
|
||||
* and returns `false` otherwise.
|
||||
|
||||
Reference in New Issue
Block a user