mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Fix for TC
This commit is contained in:
@@ -23,7 +23,11 @@ namespace LuaCreature
|
|||||||
{
|
{
|
||||||
bool enable = Eluna::CHECKVAL<bool>(L, 2, true);
|
bool enable = Eluna::CHECKVAL<bool>(L, 2, true);
|
||||||
|
|
||||||
|
#if defined(AZEROTHCORE)
|
||||||
creature->SetRegeneratingHealth(enable);
|
creature->SetRegeneratingHealth(enable);
|
||||||
|
#else
|
||||||
|
creature->SetRegenerateHealth(enable);
|
||||||
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user