aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Scripting/ScriptMgr.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2014-09-26 22:26:51 +0200
committerShauren <shauren.trinity@gmail.com>2014-09-26 22:26:51 +0200
commit605d51533c73067f5395a3e522d1d02c6f7f2047 (patch)
tree202afb6b598468ac241c6e6b232cf62249b5b263 /src/server/game/Scripting/ScriptMgr.cpp
parentb620b2d27aa1a46b89689e2f24b7ff53c2a32054 (diff)
Core/Spells: Always add threat for spells from spell_threat table, not only if target was hit. Unsuccessful cast results in 0 threat added instead of the full amount and creating threat list entry for caster. This fixes various exploits with taunt spells bugging out scripts due to taunt immunity/passive state (creatures would immediately evade resetting script state if no entries were present on threat list - entry with no threat is not the same as no entry)
Closes #11883
Diffstat (limited to 'src/server/game/Scripting/ScriptMgr.cpp')
0 files changed, 0 insertions, 0 deletions