Skip to content

Instantly share code, notes, and snippets.

@FilipLukac
Created May 1, 2012 16:43
Show Gist options
  • Save FilipLukac/2569525 to your computer and use it in GitHub Desktop.
Save FilipLukac/2569525 to your computer and use it in GitHub Desktop.
InnerFire prayer of Mending vs Absorbs
'<diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp
index a78b768..f603c22 100755
--- a/src/server/game/Entities/Unit/Unit.cpp
+++ b/src/server/game/Entities/Unit/Unit.cpp
@@ -14408,6 +14408,9 @@ void Unit::ProcDamageAndSpellFor(bool isVictim, Unit* target, uint32 procFlag, u
if (!IsTriggeredAtSpellProcEvent(target, triggerData.aura, procSpell, procFlag, procExtra, attType, isVictim, active, triggerData.spellProcEvent))
continue;
+ if ((isVictim && procExtra & PROC_EX_ABSORB) && (spellProto->SpellFamilyFlags[0] & 00000400 && spellProto->SpellFamilyName == SPELLFAMILY_PRIEST))
+ continue;
+
// Triggered spells not triggering additional spells
bool triggered = !(spellProto->AttributesEx3 & SPELL_ATTR3_CAN_PROC_WITH_TRIGGERED) ?
(procExtra & PROC_EX_INTERNAL_TRIGGERED && !(procFlag & PROC_FLAG_DONE_TRAP_ACTIVATION)) : false;>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment