*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:
QAston
2009-07-29 22:11:15 +02:00
parent f4a90873b4
commit 5d920ddbc3
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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;
}
}
+1 -1
View File
@@ -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)