diff options
| author | Subv <s.v.h21@hotmail.com> | 2012-04-14 20:03:47 -0500 |
|---|---|---|
| committer | Subv <s.v.h21@hotmail.com> | 2012-04-14 20:08:16 -0500 |
| commit | 3d8aaabaf3f4c627a583ff8c5a611a7b02400931 (patch) | |
| tree | f13064d5bd0dd0ab17fd08b1d8aa9b04e73774a7 /src/server/game/Entities/Unit | |
| parent | 8a33ddc010a4be4a181191d2b8b06dee611a1a9c (diff) | |
Core/Spells: Do not proc spells with PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_(NEG|POS) if there is no target, reimplemented Storm, Earth and Fire talent in another way
Closes #3367
Closes #2424
If you find more spells that are broken because of this, please notify us
Signed-off-by: Subv <s.v.h21@hotmail.com>
Diffstat (limited to 'src/server/game/Entities/Unit')
| -rwxr-xr-x | src/server/game/Entities/Unit/Unit.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index 200f1b42ca7..4da56b72017 100755 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -7356,20 +7356,6 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere triggered_spell_id = 63685; break; } - // Storm, Earth and Fire - if (dummySpell->SpellIconID == 3063) - { - // Earthbind Totem summon only - if (procSpell->Id != 2484) - return false; - - float chance = (float)triggerAmount; - if (!roll_chance_f(chance)) - return false; - - triggered_spell_id = 64695; - break; - } // Ancestral Awakening if (dummySpell->SpellIconID == 3065) { |
