Change temp threat aura mods to use temp threat modifier instead of "asisting" it's threat value over all references.

--HG--
branch : trunk
This commit is contained in:
thenecromancer
2010-01-21 16:25:09 +01:00
parent 3b29a4e6f4
commit 76102c1cdd
4 changed files with 30 additions and 4 deletions
+1 -3
View File
@@ -3662,9 +3662,7 @@ void AuraEffect::HandleAuraModTotalThreat(AuraApplication const * aurApp, uint8
if (!caster || !caster->isAlive())
return;
float threatMod = (apply) ? float(GetAmount()) : float(-GetAmount());
target->getHostilRefManager().threatAssist(caster, threatMod);
target->getHostilRefManager().addTempThreat(GetAmount(), apply);
}
void AuraEffect::HandleModTaunt(AuraApplication const * aurApp, uint8 mode, bool apply) const