mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 10:56:38 +01:00
In arenas Replenishment should only affect the caster.
--HG-- branch : trunk
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user