mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
fix(Core/Spell): Flame Breath (Catapult) (#2115)
* fix(Core/Spell): Flame Breath (Catapult) - Will fix issue with Wintergrasp Catapult Siege spell (Flame Breath). - The SQL is added just in case, if someone already tried temp fix applying another spell. https://github.com/azerothcore/azerothcore-wotlk/issues/1978#issuecomment-507880360 - Done, updated. Wintergrasp Demolisher - Spell Ram is fixed also * Fix treating numeric values as string
This commit is contained in:
@@ -4311,19 +4311,31 @@ void SpellMgr::LoadDbcDataCorrections()
|
||||
spellInfo->DurationIndex = 367; // 2 Hours
|
||||
break;
|
||||
// Wintergrasp spells
|
||||
case 51422: // Cannon (Tower Cannon)
|
||||
spellInfo->EffectRadiusIndex[EFFECT_0] = 20; // Radius: 20 yards
|
||||
break;
|
||||
case 57607: // WintergraspCatapult - Spell Plague Barrel - EffectRadiusIndex
|
||||
case 57619: // WintergraspDemolisher - Spell Hourl Boulder - EffectRadiusIndex
|
||||
case 57610: // Cannon (Siege Turret)
|
||||
spellInfo->EffectRadiusIndex[EFFECT_0] = 20; // Radius: 20 yards
|
||||
spellInfo->EffectRadiusIndex[EFFECT_1] = 10; // Radius: 10 yards
|
||||
spellInfo->EffectRadiusIndex[1] = EFFECT_RADIUS_25_YARDS; // SPELL_EFFECT_WMO_DAMAGE
|
||||
case 51422: // WintergraspCannon - Spell Fire Cannon - EffectRadiusIndex
|
||||
spellInfo->EffectRadiusIndex[0] = EFFECT_RADIUS_10_YARDS; // SPELL_EFFECT_SCHOOL_DAMAGE
|
||||
break;
|
||||
case 54107: // WintergraspDemolisher - Spell Ram - EffectRadiusIndex
|
||||
spellInfo->EffectRadiusIndex[0] = EFFECT_RADIUS_3_YARDS; // SPELL_EFFECT_KNOCK_BACK
|
||||
spellInfo->EffectRadiusIndex[1] = EFFECT_RADIUS_3_YARDS; // SPELL_EFFECT_SCHOOL_DAMAGE
|
||||
spellInfo->EffectRadiusIndex[2] = EFFECT_RADIUS_3_YARDS; // SPELL_EFFECT_WEAPON_DAMAGE
|
||||
break;
|
||||
case 51678: // WintergraspSiegeEngine - Spell Ram - EffectRadiusIndex
|
||||
spellInfo->EffectRadiusIndex[0] = EFFECT_RADIUS_10_YARDS; // SPELL_EFFECT_KNOCK_BACK
|
||||
spellInfo->EffectRadiusIndex[1] = EFFECT_RADIUS_10_YARDS; // SPELL_EFFECT_SCHOOL_DAMAGE
|
||||
spellInfo->EffectRadiusIndex[2] = EFFECT_RADIUS_20_YARDS; // SPELL_EFFECT_WEAPON_DAMAGE
|
||||
break;
|
||||
case 57606: // WintergraspCatapult - Spell Plague Barrell - Range
|
||||
spellInfo->rangeIndex = 164; // "Catapult Range"
|
||||
break;
|
||||
case 50999: // Boulder (Demolisher)
|
||||
spellInfo->EffectRadiusIndex[EFFECT_0] = 20; // Radius: 20 yards
|
||||
spellInfo->EffectRadiusIndex[EFFECT_1] = 3; // Radius: 3 yards
|
||||
spellInfo->EffectRadiusIndex[EFFECT_0] = 13; // 10yd
|
||||
break;
|
||||
case 50990: // Flame Breath (Catapult)
|
||||
spellInfo->EffectRadiusIndex[EFFECT_0] = 30; // Radius: 30 yards
|
||||
spellInfo->EffectRadiusIndex[EFFECT_0] = 19; // 18yd
|
||||
break;
|
||||
|
||||
/////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user