Core/Scripts: fix penance procs with Unchained magic

Closes #19005
This commit is contained in:
ariel-
2017-01-30 02:43:24 -03:00
parent b209353266
commit 5e46bb3e8c
2 changed files with 4 additions and 2 deletions

View File

@@ -0,0 +1,2 @@
-- Unchained Magic
UPDATE `spell_proc` SET `ProcFlags`=0x15400 WHERE `SpellId`=69762;

View File

@@ -958,9 +958,9 @@ class spell_pri_penance : public SpellScriptLoader
uint8 rank = GetSpellInfo()->GetRank();
if (caster->IsFriendlyTo(unitTarget))
caster->CastSpell(unitTarget, sSpellMgr->GetSpellWithRank(SPELL_PRIEST_PENANCE_R1_HEAL, rank), false);
caster->CastSpell(unitTarget, sSpellMgr->GetSpellWithRank(SPELL_PRIEST_PENANCE_R1_HEAL, rank), TRIGGERED_DISALLOW_PROC_EVENTS);
else
caster->CastSpell(unitTarget, sSpellMgr->GetSpellWithRank(SPELL_PRIEST_PENANCE_R1_DAMAGE, rank), false);
caster->CastSpell(unitTarget, sSpellMgr->GetSpellWithRank(SPELL_PRIEST_PENANCE_R1_DAMAGE, rank), TRIGGERED_DISALLOW_PROC_EVENTS);
}
}