aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuraEffects.cpp
diff options
context:
space:
mode:
authorthenecromancer <none@none>2010-01-21 16:25:09 +0100
committerthenecromancer <none@none>2010-01-21 16:25:09 +0100
commit76102c1cdd0fc8bb473f9b3fd3965cea5a3794f6 (patch)
tree39d67aec6ba7d1008dd01529e7c27b1e92721919 /src/game/SpellAuraEffects.cpp
parent3b29a4e6f47b3fccfd05e8ebf707c1b425c8c2da (diff)
Change temp threat aura mods to use temp threat modifier instead of "asisting" it's threat value over all references.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuraEffects.cpp')
-rw-r--r--src/game/SpellAuraEffects.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/SpellAuraEffects.cpp b/src/game/SpellAuraEffects.cpp
index da27cc0ef10..6f8818298b3 100644
--- a/src/game/SpellAuraEffects.cpp
+++ b/src/game/SpellAuraEffects.cpp
@@ -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