mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Update CreatureMethods.h
This commit is contained in:
@@ -1062,7 +1062,7 @@ auto const& threatlist = creature->getThreatManager().getThreatList();
|
|||||||
{
|
{
|
||||||
float dist = Eluna::CHECKVAL<float>(L, 2);
|
float dist = Eluna::CHECKVAL<float>(L, 2);
|
||||||
|
|
||||||
#ifdef TRINITY
|
#if defined TRINITY || AZEROTHCORE
|
||||||
creature->SetWanderDistance(dist);
|
creature->SetWanderDistance(dist);
|
||||||
#else
|
#else
|
||||||
creature->SetRespawnRadius(dist);
|
creature->SetRespawnRadius(dist);
|
||||||
|
|||||||
Reference in New Issue
Block a user