*Use basepoints for effect 140 only when non-null.
--HG-- branch : trunk
This commit is contained in:
@@ -2028,7 +2028,10 @@ void Spell::EffectForceCast(uint32 i)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (damage)
|
||||||
unitTarget->CastCustomSpell(unitTarget, spellInfo->Id, &damage, NULL, NULL, true, NULL, NULL, m_originalCasterGUID);
|
unitTarget->CastCustomSpell(unitTarget, spellInfo->Id, &damage, NULL, NULL, true, NULL, NULL, m_originalCasterGUID);
|
||||||
|
else
|
||||||
|
unitTarget->CastSpell(unitTarget, spellInfo, true, NULL, NULL, m_originalCasterGUID);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Spell::EffectTriggerSpell(uint32 i)
|
void Spell::EffectTriggerSpell(uint32 i)
|
||||||
|
|||||||
Reference in New Issue
Block a user