@@ -174,6 +174,7 @@ enum PriestSpells
174174 SPELL_PRIEST_PRAYER_OF_MENDING_AURA = 41635 ,
175175 SPELL_PRIEST_PRAYER_OF_MENDING_HEAL = 33110 ,
176176 SPELL_PRIEST_PRAYER_OF_MENDING_JUMP = 155793 ,
177+ SPELL_PRIEST_PRAYERFUL_LITANY = 391209 ,
177178 SPELL_PRIEST_PROTECTIVE_LIGHT_AURA = 193065 ,
178179 SPELL_PRIEST_PROTECTOR_OF_THE_FRAIL = 373035 ,
179180 SPELL_PRIEST_PURGE_THE_WICKED = 204197 ,
@@ -2981,6 +2982,32 @@ class spell_pri_prayer_of_mending_jump : public spell_pri_prayer_of_mending_Spel
29812982 }
29822983};
29832984
2985+ // 391209 - Prayerful Litany (attached to 596 - Prayer of Healing)
2986+ class spell_pri_prayerful_litany : public SpellScript
2987+ {
2988+ bool Validate (SpellInfo const * /* spellInfo*/ ) override
2989+ {
2990+ return ValidateSpellEffect ({ { SPELL_PRIEST_PRAYERFUL_LITANY, EFFECT_0 } });
2991+ }
2992+
2993+ bool Load () override
2994+ {
2995+ return GetCaster ()->HasAuraEffect (SPELL_PRIEST_PRAYERFUL_LITANY, EFFECT_0);
2996+ }
2997+
2998+ void CalcPrimaryTargetHealing (SpellEffectInfo const & /* effectInfo*/ , Unit const * victim, int32& /* healing*/ , int32& /* flatMod*/ , float & pctMod) const
2999+ {
3000+ if (victim == GetExplTargetUnit ())
3001+ if (AuraEffect const * prayerfulLitanyEff = GetCaster ()->GetAuraEffect (SPELL_PRIEST_PRAYERFUL_LITANY, EFFECT_0))
3002+ AddPct (pctMod, prayerfulLitanyEff->GetAmount ());
3003+ }
3004+
3005+ void Register () override
3006+ {
3007+ CalcHealing += SpellCalcHealingFn (spell_pri_prayerful_litany::CalcPrimaryTargetHealing);
3008+ }
3009+ };
3010+
29843011// 193063 - Protective Light (Aura)
29853012class spell_pri_protective_light : public AuraScript
29863013{
@@ -4436,6 +4463,7 @@ void AddSC_priest_spell_scripts()
44364463 RegisterSpellScript (spell_pri_prayer_of_mending_dummy);
44374464 RegisterSpellAndAuraScriptPair (spell_pri_prayer_of_mending, spell_pri_prayer_of_mending_aura);
44384465 RegisterSpellScript (spell_pri_prayer_of_mending_jump);
4466+ RegisterSpellScript (spell_pri_prayerful_litany);
44394467 RegisterSpellScript (spell_pri_protective_light);
44404468 RegisterSpellScript (spell_pri_protector_of_the_frail);
44414469 RegisterSpellScript (spell_pri_holy_10_1_class_set_2pc);
0 commit comments