What bug does this patch fix: Currently when mounting on a scaled mount you get mounted on the dummy spell.
Detailed Explanation: When you mount onto a scaled mount it puts on the dummy spell because it has the mounted spell effect.
How to reproduce: Cast big blizzard bear.
Index: SpellFixes.cpp =================================================================== --- SpellFixes.cpp (revision 3134) +++ SpellFixes.cpp (working copy) @@ -1762,6 +1762,34 @@ if( sp != NULL ) sp->c_is_flags |= SPELL_FLAG_IS_INHERITING_LEVEL; + /********************************************************** + * Scaled Mounts + **********************************************************/ + //Big Blizzard Bear + sp = dbcSpell.LookupEntryForced( 58983 ); + if( sp != NULL ) + sp->Effect[0] = SPELL_EFFECT_NULL; + //Winged Steed of Ebon Blade + sp = dbcSpell.LookupEntryForced( 54729 ); + if( sp != NULL ) + sp->Effect[0] = SPELL_EFFECT_NULL; + //Headless Horsemen Mount + sp = dbcSpell.LookupEntryForced( 48025 ); + if( sp != NULL ) + sp->Effect[0] = SPELL_EFFECT_NULL; + //Magic Broom + sp = dbcSpell.LookupEntryForced( 47977 ); + if( sp != NULL ) + sp->Effect[0] = SPELL_EFFECT_NULL; + //Magic Rooster + sp = dbcSpell.LookupEntryForced( 65917 ); + if( sp != NULL ) + sp->Effect[0] = SPELL_EFFECT_NULL; + //Invincible + sp = dbcSpell.LookupEntryForced( 72286 ); + if( sp != NULL ) + sp->Effect[0] = SPELL_EFFECT_NULL; + ////////////////////////////////////////////////////// // CLASS-SPECIFIC SPELL FIXES // //////////////////////////////////////////////////////
mounts.patch (1.27K)
Number of downloads: 9

Help

























