What bug does the patch fix? What features does the patch add?
Nowdays, Serendipity isn't consumed by Prayer of Healing or Greater Heal. This patch fixes this.
For which repository revision was the patch created?
10179
Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.
No
Who has been writing this patch? Please include either forum user names or email addresses.
Maxxie and me
diff --git a/src/game/UnitAuraProcHandler.cpp b/src/game/UnitAuraProcHandler.cpp
index 8b6d563..6c7b9e6 100644
--- a/src/game/UnitAuraProcHandler.cpp
+++ b/src/game/UnitAuraProcHandler.cpp
@@ -3634,6 +3639,16 @@ bool Unit::HandleAddPctModifierAuraProc(Unit* /*pVictim*/, uint32 /*damage*/, Au
}
break;
}
+ case SPELLFAMILY_PRIEST:
+ {
+
+ if (spellInfo->SpellIconID == 2900) //Serendipity removal
+ {
+ RemoveAurasDueToSpell(triggeredByAura->GetId());
+ return true;
+ }
+ }
+
}
return true;
}
And the DB part
insert into `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMaskA0`, `SpellFamilyMaskA1`, `SpellFamilyMaskA2`, `SpellFamilyMaskB0`, `SpellFamilyMaskB1`, `SpellFamilyMaskB2`, `SpellFamilyMaskC0`, `SpellFamilyMaskC1`, `SpellFamilyMaskC2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) values('63735','0','6','4608','0','0','0','0','0','0','0','0','0','0','0','100','0');