mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-09 00:08:01 +00:00
fix: Crash (#13559)
This commit is contained in:
@@ -402,7 +402,8 @@ struct npc_obsidian_nullifier : public ScriptedAI
|
|||||||
|
|
||||||
for (Unit* target : _targets)
|
for (Unit* target : _targets)
|
||||||
{
|
{
|
||||||
DoCast(target, SPELL_DRAIN_MANA_NULLIFIER, true);
|
if (target)
|
||||||
|
DoCast(target, SPELL_DRAIN_MANA_NULLIFIER, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (me->GetPowerPct(POWER_MANA) >= 100.f)
|
if (me->GetPowerPct(POWER_MANA) >= 100.f)
|
||||||
|
|||||||
Reference in New Issue
Block a user