*Do not proc 45429 on friendly targets - by Anubisss

--HG--
branch : trunk
This commit is contained in:
Blaymoira
2009-02-21 10:58:02 +01:00
parent 34ade920cf
commit 7aa6a72673
+3
View File
@@ -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;
}