mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 03:12:09 +01:00
Core/Entities: Regenerated updatefields code with latest generator fixes
This commit is contained in:
@@ -3835,7 +3835,7 @@ std::vector<SpellPowerCost> SpellInfo::CalcPowerCost(Unit const* caster, SpellSc
|
||||
}
|
||||
|
||||
if (power->PowerType == POWER_MANA)
|
||||
flatMod *= 1.0f + caster->m_unitData->ManaCostModifierModifier;
|
||||
flatMod *= 1.0f + caster->m_unitData->ManaCostMultiplier; // this is wrong
|
||||
|
||||
powerCost += flatMod;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user