refactor(Core): rename namespaces and macros to acore (#2454)

This commit is contained in:
Viste
2019-12-01 15:13:31 +03:00
committed by Francesco Borzì
parent e19e95e5d0
commit e22d78ecd6
278 changed files with 1292 additions and 1309 deletions

View File

@@ -835,7 +835,7 @@ class spell_kaelthas_mind_control : public SpellScriptLoader
void SelectTarget(std::list<WorldObject*>& targets)
{
if (Unit* victim = GetCaster()->GetVictim())
targets.remove_if(Trinity::ObjectGUIDCheck(victim->GetGUID(), true));
targets.remove_if(acore::ObjectGUIDCheck(victim->GetGUID(), true));
}
void Register()
@@ -995,7 +995,7 @@ class spell_kaelthas_nether_beam : public SpellScriptLoader
targetList.push_back(target);
}
Trinity::Containers::RandomResizeList(targetList, 5);
acore::Containers::RandomResizeList(targetList, 5);
for (std::list<Unit*>::const_iterator itr = targetList.begin(); itr != targetList.end(); ++itr)
GetCaster()->CastSpell(*itr, SPELL_NETHER_BEAM_DAMAGE, true);
}