Core/Spells: Fix health for Mana Tide Totem

This commit is contained in:
insider42
2011-05-19 01:24:53 +07:00
committed by tobmaps
parent c4a0d47e0e
commit 8049ad5ff5
+4
View File
@@ -3022,6 +3022,10 @@ void Spell::EffectSummonType(SpellEffIndex effIndex)
if (!summon || !summon->isTotem())
return;
// Mana Tide Totem
if (m_spellInfo->Id == 16190)
damage = m_caster->CountPctFromMaxHealth(10);
if (damage) // if not spell info, DB values used
{
summon->SetMaxHealth(damage);