From 7aa6a72673635069a786e0651c96ababd925ac7b Mon Sep 17 00:00:00 2001 From: Blaymoira Date: Sat, 21 Feb 2009 10:58:02 +0100 Subject: [PATCH] *Do not proc 45429 on friendly targets - by Anubisss --HG-- branch : trunk --- src/game/Unit.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 1be40b33fa..f2e1867ac3 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -5543,6 +5543,9 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu // Get Scryers reputation rank if (((Player *)this)->GetReputationRank(934) == REP_EXALTED) { + if(this->IsFriendlyTo(target)) + return false; + triggered_spell_id = 45429; break; }