Core/Battlegrounds: Replaced overriding m_team with more fine grained approach
Port From (https://github.com/TrinityCore/TrinityCore/commit/55587694053583b4cb85be38a47563a9fdf77271)
This commit is contained in:
@@ -2589,7 +2589,7 @@ namespace Scripts.Spells.Generic
|
||||
{
|
||||
Player caster = GetCaster().ToPlayer();
|
||||
|
||||
switch (caster.GetTeam())
|
||||
switch (caster.GetEffectiveTeam())
|
||||
{
|
||||
case Team.Alliance:
|
||||
caster.CastSpell(caster, SpellIds.PvpTrinketAlliance, new CastSpellExtraArgs(TriggerCastFlags.FullMask));
|
||||
|
||||
Reference in New Issue
Block a user