fix(DB/Quest): Fixed quest "Krolmir, Hammer of Storms". (#11742)

Fixes #11728
This commit is contained in:
UltraNix
2022-05-16 17:07:55 +02:00
committed by GitHub
parent e5e1200dcd
commit 7d3809330b
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
--
DELETE FROM `smart_scripts` WHERE `entryorguid`=30331 AND `source_type`=0 AND `id`=5;
INSERT INTO `smart_scripts` VALUES
(30331,0,5,0,54,0,100,0,0,0,0,0,0,85,56606,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Jokkum - on just summoned - Cast Riding Jokkum');

View File

@@ -4270,6 +4270,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->DurationEntry = sSpellDurationStore.LookupEntry(21);
});
// Jokkum Summon
ApplySpellFix({ 56541 }, [](SpellInfo* spellInfo)
{
spellInfo->Effects[EFFECT_0].MiscValueB = 844;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];