Spells: Mol'dar's Moxie and Songflower Serenade give their stats

Both world buffs are dummy auras in the Classic client data and did
nothing. Mol'dar's Moxie (22818) now raises stamina by 15%, and
Songflower Serenade (15366) gives 5% critical strike chance and 15 to
all stats. Songflower's two effects are told apart by their amounts.
Found in the Patchwerk soak runs: both buffs were on every tank, and the
tanks' health matched the other buffs exactly without them.
This commit is contained in:
Karrz1
2026-11-16 16:40:08 +00:00
parent 33d48155e3
commit 6bc651e5b5
+33
View File
@@ -4289,6 +4289,39 @@ void SpellMgr::LoadSpellInfoCorrections()
});
});
// Classic 1.60: two Dire Maul / Felwood world buffs are dummy auras in the client data, so they gave nothing (naxx_patchwerk 1116 run 7:
// both on every tank, the tanks at 10.9k, the stamina and health of the other buffs adding up exactly without them).
// Mol'dar's Moxie (22818): stamina increased by 15% (the dummy's misc value is the stat, 2 = stamina).
ApplySpellFix({ 22818 }, [](SpellInfo* spellInfo)
{
ApplySpellEffectFix(spellInfo, EFFECT_0, [](SpellEffectInfo* spellEffectInfo)
{
if (spellEffectInfo->ApplyAuraName != SPELL_AURA_DUMMY || spellEffectInfo->MiscValue != STAT_STAMINA)
return;
spellEffectInfo->ApplyAuraName = SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE;
spellEffectInfo->MiscValueB = 1 << STAT_STAMINA;
});
});
// Songflower Serenade (15366): 5% critical strike chance and 15 to all stats. Told apart by their amounts, not by their order.
ApplySpellFix({ 15366 }, [](SpellInfo* spellInfo)
{
auto const fix = [](SpellEffectInfo* spellEffectInfo)
{
if (spellEffectInfo->ApplyAuraName != SPELL_AURA_DUMMY)
return;
if (std::lround(spellEffectInfo->BasePoints) == 5)
spellEffectInfo->ApplyAuraName = SPELL_AURA_MOD_CRIT_PCT;
else if (std::lround(spellEffectInfo->BasePoints) == 15)
{
spellEffectInfo->ApplyAuraName = SPELL_AURA_MOD_STAT;
spellEffectInfo->MiscValue = -1; // all stats
}
};
ApplySpellEffectFix(spellInfo, EFFECT_0, fix);
ApplySpellEffectFix(spellInfo, EFFECT_1, fix);
});
// Parasitic Shadowfiend Passive
ApplySpellFix({ 41913 }, [](SpellInfo* spellInfo)
{