mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
Core/Spells: fixed a derpy code issue in mana tide totem script
This commit is contained in:
@@ -1054,8 +1054,7 @@ class spell_sha_mana_tide_totem : public SpellScriptLoader
|
||||
// @TODO: Exclude the "short term" buffs from the stat value
|
||||
if (Unit* caster = GetUnitOwner())
|
||||
if (Unit* owner = caster->GetCharmerOrOwner())
|
||||
if (Unit* owner = caster->GetOwner())
|
||||
amount = CalculatePct(owner->GetStat(STAT_SPIRIT), amount);
|
||||
amount = CalculatePct(owner->GetStat(STAT_SPIRIT), amount);
|
||||
}
|
||||
|
||||
void Register() override
|
||||
|
||||
Reference in New Issue
Block a user