Core/Spells: Conver/Update warrior "Retaliation" for 4.3.4

This commit is contained in:
Vincent-Michael committed 2013-07-22 00:13:58 +02:00
1 parent b684cd6079
commit 6c21bbaaa4
4 files changed
+50 -11

No files matched your search

@@ -94,6 +94,7 @@ class spell_pri_body_and_soul : public SpellScriptLoader
void HandleEffectSpeedProc(AuraEffect const* aurEff, ProcEventInfo& eventInfo)
{
PreventDefaultAction();
// Proc only with Power Word: Shield or Leap of Faith
if (!(eventInfo.GetDamageInfo()->GetSpellInfo()->SpellFamilyFlags[0] & 0x1 || eventInfo.GetDamageInfo()->GetSpellInfo()->SpellFamilyFlags[2] & 0x80000))
return;
@@ -103,6 +104,7 @@ class spell_pri_body_and_soul : public SpellScriptLoader
void HandleEffectDispelProc(AuraEffect const* aurEff, ProcEventInfo& eventInfo)
{
PreventDefaultAction();
// Proc only with Cure Disease
if (eventInfo.GetDamageInfo()->GetSpellInfo()->Id != SPELL_PRIEST_CURE_DISEASE || eventInfo.GetProcTarget() != GetTarget())
return;