Core/Scripts: Changed GetGUID/SetGUID script hooks to operate on ObjectGuid class
Fixed compile for boss scripts starting with letters B, C and D
This commit is contained in:
1 parent
56f46e3ce5
commit
6ce0a3107d
27 files changed
+89
-106
No files matched your search
@@ -94,7 +94,7 @@ class boss_doomwalker : public CreatureScript
|
||||
|
||||
{
|
||||
if (who && who->GetTypeId() == TYPEID_PLAYER && me->IsValidAttackTarget(who))
|
||||
if (who->HasAura(SPELL_MARK_DEATH, 0))
|
||||
if (who->HasAura(SPELL_MARK_DEATH))
|
||||
who->CastSpell(who, SPELL_AURA_DEATH, 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user