diff options
author | ariel- <ariel-@users.noreply.github.com> | 2016-12-30 14:23:05 -0300 |
---|---|---|
committer | ariel- <ariel-@users.noreply.github.com> | 2016-12-30 14:23:05 -0300 |
commit | a20fda9b2d63e777a49d15976d7a51cc932b40f0 (patch) | |
tree | 748621c8bbca07fa782182da121a4451c157e339 /src | |
parent | 8ffcb4ddcb9ad51eabcb5c61b0b3134db0b1d737 (diff) |
Core/Spell: unbreak generic mount spells after prev commit
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Spells/SpellMgr.cpp | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index a2b24ea0a28..22798beeaaa 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -2757,10 +2757,23 @@ void SpellMgr::LoadSpellInfoCorrections() case 53385: // Divine Storm (Damage) spellInfo->MaxAffectedTargets = 4; break; + case 47977: // Magic Broom + case 48025: // Headless Horseman's Mount + case 54729: // Winged Steed of the Ebon Blade + case 71342: // Big Love Rocket + case 72286: // Invincible + case 74856: // Blazing Hippogryph + case 75614: // Celestial Steed + case 75973: // X-53 Touring Rocket + // First two effects apply auras, which shouldn't be there + // due to NO_TARGET applying aura on current caster (core bug) + // Just wipe effect data, to mimic blizz-behavior + spellInfo->Effects[EFFECT_0].Effect = 0; + spellInfo->Effects[EFFECT_1].Effect = 0; + break; case 56342: // Lock and Load (Rank 1) - // @workaround: Delete dummy effect from rank 1, - // effect apply aura has TargetA == TargetB == 0 but core still applies it to caster - // core bug? + // @workaround: Delete dummy effect from rank 1 + // effect apply aura has NO_TARGET but core still applies it to caster (same as above) spellInfo->Effects[EFFECT_2].Effect = 0; break; case 53480: // Roar of Sacrifice |