fix(Core/SpellMgr): Add cooldown to some vehicle spells (#4300)

* fix(Core/SpellMgr): Add cooldown to some spells

* author and spellscript

Co-Authored-By: Wyrserth <43747507+Wyrserth@users.noreply.github.com>
This commit is contained in:
Kitzunu
2021-01-31 03:09:50 +01:00
committed by GitHub
parent c5ce3e4460
commit 628c75d67f
3 changed files with 103 additions and 3 deletions

View File

@@ -6766,10 +6766,58 @@ void SpellMgr::LoadDbcDataCorrections()
spellInfo->EffectBasePoints[0] = 1; // corrects seat id (points - 1 = seatId)
});
// The Iron Colossus
ApplySpellFix({ 56513, 56524 }, [](SpellEntry* spellInfo)
// Jormungar Strike
ApplySpellFix({ 56513 }, [](SpellEntry* spellInfo)
{
spellInfo->RecoveryTime = (spellInfo->Id == 56524 ? 6000 : 2000);
spellInfo->RecoveryTime = 2000;
});
ApplySpellFix({
37851, // Tag Greater Felfire Diemetradon
37918 // Arcano-pince
}, [](SpellEntry* spellInfo)
{
spellInfo->RecoveryTime = 3000;
});
ApplySpellFix({
54997, // Cast Net (tooltip says 10s but sniffs say 6s)
56524 // Acid Breath
}, [](SpellEntry* spellInfo)
{
spellInfo->RecoveryTime = 6000;
});
ApplySpellFix({
47911, // EMP
48620, // Wing Buffet
51752 // Stampy's Stompy-Stomp
}, [](SpellEntry* spellInfo)
{
spellInfo->RecoveryTime = 10000;
});
ApplySpellFix({
37727, // Touch of Darkness
54996 // Ice Slick (tooltip says 20s but sniffs say 12s)
}, [](SpellEntry* spellInfo)
{
spellInfo->RecoveryTime = 12000;
});
// Signal Helmet to Attack
ApplySpellFix({ 51748 }, [](SpellEntry* spellInfo)
{
spellInfo->RecoveryTime = 15000;
});
ApplySpellFix({
51756, // Charge
37919, //Arcano-dismantle
37917 //Arcano-Cloak
}, [](SpellEntry* spellInfo)
{
spellInfo->RecoveryTime = 20000;
});
// Kaw the Mammoth Destroyer