fix(Core/Spell): [Potion] Elixir of Minor Fortitude effect disappear (#4217)

This commit is contained in:
r0m1ntik
2021-01-08 23:26:17 +01:00
committed by GitHub
parent ce7b503e7b
commit b35d3a8fb8

View File

@@ -3179,7 +3179,7 @@ void SpellMgr::LoadSpellCustomAttr()
case 12579: // Player Winter's Chill
case 29306: // Naxxramas(Gluth's Zombies): Infected Wound
case 61920: // Ulduar(Spellbreaker): Supercharge
case 63978: // Ulduar(Rubble): Stone Nova
case 63978: // Ulduar(Rubble): Stone Nova
spellInfo->AttributesCu |= SPELL_ATTR0_CU_SINGLE_AURA_STACK;
break;
case 43138: // North Fleet Reservist Kill Credit
@@ -3299,6 +3299,13 @@ void SpellMgr::LoadDbcDataCorrections()
spellInfo->AttributesEx3 |= SPELL_ATTR3_IGNORE_HIT_RESULT;
});
// Elixir of Minor Fortitude
ApplySpellFix({ 2378 }, [](SpellEntry* spellInfo)
{
spellInfo->manaCost = 0;
spellInfo->manaPerSecond = 0;
});
// Evergrove Druid Transform Crow
ApplySpellFix({ 38776 }, [](SpellEntry* spellInfo)
{
@@ -3698,7 +3705,7 @@ void SpellMgr::LoadDbcDataCorrections()
spellInfo->EffectBasePoints[EFFECT_0] = 100; // 100% chance of procc'ing, not -10% (chance calculated in PrepareTriggersExecutedOnHit)
});
// Easter Lay Noblegarden Egg Aura
// Easter Lay Noblegarden Egg Aura
ApplySpellFix({ 61719 }, [](SpellEntry* spellInfo)
{
// Interrupt flags copied from aura which this aura is linked with
@@ -3794,7 +3801,7 @@ void SpellMgr::LoadDbcDataCorrections()
20184, // Judgement of Justice
20185, // Judgement of Light
20186, // Judgement of Wisdom
68055 // Judgements of the Just
68055 // Judgements of the Just
}, [](SpellEntry* spellInfo)
{
// hack for seal of light and few spells, judgement consists of few single casts and each of them can proc
@@ -3979,7 +3986,7 @@ void SpellMgr::LoadDbcDataCorrections()
{
spellInfo->EffectImplicitTargetB[EFFECT_1] = TARGET_DEST_DB;
});
// Killing Spree (teleport)
ApplySpellFix({ 57840 }, [](SpellEntry* spellInfo)
{
@@ -4870,7 +4877,7 @@ void SpellMgr::LoadDbcDataCorrections()
spellInfo->Attributes &= ~SPELL_ATTR0_LEVEL_DAMAGE_CALCULATION;
});
// Koralon, Flaming Cinder
// Koralon, Flaming Cinder
ApplySpellFix({ 66690 }, [](SpellEntry* spellInfo)
{
// missing radius index