Core/Units: Defined many UnitFlags3 and implemented UNIT_FLAG3_ALTERNATIVE_DEFAULT_LANGUAGE
Port From (https://github.com/TrinityCore/TrinityCore/commit/2a5329847636ddc080c461bda06375edfbf3815d)
This commit is contained in:
@@ -4511,10 +4511,10 @@ namespace Scripts.Spells.Generic
|
||||
switch (target.GetTeamId())
|
||||
{
|
||||
case TeamId.Alliance:
|
||||
amount = Global.WorldStateMgr.GetValue(WorldStates.WarModeAllianceBuffValue, null);
|
||||
amount = Global.WorldStateMgr.GetValue(WorldStates.WarModeAllianceBuffValue, target.GetMap());
|
||||
break;
|
||||
case TeamId.Horde:
|
||||
amount = Global.WorldStateMgr.GetValue(WorldStates.WarModeHordeBuffValue, null);
|
||||
amount = Global.WorldStateMgr.GetValue(WorldStates.WarModeHordeBuffValue, target.GetMap());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user