aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellAuras.cpp4
-rw-r--r--src/game/SpellEffects.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index a94b681ab0b..2a072cf817f 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -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;
}
}
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 25ea3015f41..bb4147cff6c 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -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)