*Allow SPELL_EFFECT_FORCE_CAST (140) to trigger spells with basepoints
*Correct target selection for unrelenting assault - by thenecromancer. --HG-- branch : trunk
This commit is contained in:
@@ -2614,11 +2614,11 @@ void AuraEffect::HandleAuraDummy(bool apply, bool Real, bool changeAmount)
|
||||
{
|
||||
// Unrelenting Assault, rank 1
|
||||
case 46859:
|
||||
caster->CastSpell(m_target,64849,true,NULL,aurEff);
|
||||
m_target->CastSpell(m_target,64849,true,NULL,aurEff);
|
||||
break;
|
||||
// Unrelenting Assault, rank 2
|
||||
case 46860:
|
||||
caster->CastSpell(m_target,64850,true,NULL,aurEff);
|
||||
m_target->CastSpell(m_target,64850,true,NULL,aurEff);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2028,7 +2028,7 @@ void Spell::EffectForceCast(uint32 i)
|
||||
return;
|
||||
}
|
||||
|
||||
unitTarget->CastSpell(unitTarget, spellInfo, true, NULL, NULL, m_originalCasterGUID);
|
||||
unitTarget->CastCustomSpell(unitTarget, spellInfo->Id, &damage, NULL, NULL, true, NULL, NULL, m_originalCasterGUID);
|
||||
}
|
||||
|
||||
void Spell::EffectTriggerSpell(uint32 i)
|
||||
|
||||
Reference in New Issue
Block a user