In arenas Replenishment should only affect the caster.

--HG--
branch : trunk
This commit is contained in:
Xanadu
2010-06-18 16:21:23 +02:00
parent c2cdc9994e
commit 9cd4e4289c

View File

@@ -2431,6 +2431,13 @@ void Spell::SelectEffectTargets(uint32 i, uint32 cur)
power = POWER_HEALTH;
break;
case 57669: // Replenishment
// In arenas Replenishment may only affect the caster
if (m_caster->GetTypeId() == TYPEID_PLAYER && m_caster->ToPlayer()->InArena())
{
unitList.clear();
unitList.push_back(m_caster);
break;
}
maxSize = 10;
power = POWER_MANA;
break;