Maelthyr
2022-05-15 12:54:29 +02:00
parent 4920195d65
commit 68af76030c
2 changed files with 5 additions and 5 deletions

View File

@@ -2006,7 +2006,7 @@ namespace LuaUnit
#ifdef TRINITY
unit->GetThreatManager().ClearAllThreat();
#elif AZEROTHCORE
unit->getThreatMgr().clearReferences();
unit->GetThreatMgr().clearReferences();
#else
unit->GetThreatManager().clearReferences();
#endif
@@ -2994,7 +2994,7 @@ namespace LuaUnit
int32 threatPct = Eluna::CHECKVAL<int32>(L, 3, true);
#ifdef AZEROTHCORE
unit->getThreatMgr().modifyThreatPercent(victim, threatPct);
unit->GetThreatMgr().modifyThreatPercent(victim, threatPct);
#endif
return 0;
}