*Fix broken threat mod auras. Now players can gain correct threat.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-21 13:58:08 -05:00
parent 787cd7fcb5
commit 6c38623dfc
+1 -1
View File
@@ -3898,7 +3898,7 @@ void AuraEffect::HandleModThreat(bool apply, bool Real)
if(GetMiscValue() & int32(1<<x)) if(GetMiscValue() & int32(1<<x))
{ {
if(m_target->GetTypeId() == TYPEID_PLAYER) if(m_target->GetTypeId() == TYPEID_PLAYER)
ApplyPercentModFloatVar(m_target->m_threatModifier[x], GetParentAura()->IsPositive() ? m_amount : -m_amount, apply); ApplyPercentModFloatVar(m_target->m_threatModifier[x], m_amount, apply);
} }
} }
} }