*Do not proc 45429 on friendly targets - by Anubisss
--HG-- branch : trunk
This commit is contained in:
@@ -5543,6 +5543,9 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
|
|||||||
// Get Scryers reputation rank
|
// Get Scryers reputation rank
|
||||||
if (((Player *)this)->GetReputationRank(934) == REP_EXALTED)
|
if (((Player *)this)->GetReputationRank(934) == REP_EXALTED)
|
||||||
{
|
{
|
||||||
|
if(this->IsFriendlyTo(target))
|
||||||
|
return false;
|
||||||
|
|
||||||
triggered_spell_id = 45429;
|
triggered_spell_id = 45429;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user