Core/Battlegrounds: Implemented BfA Warsong Gulch
Port From (https://github.com/TrinityCore/TrinityCore/commit/72b9aace54e44d30c323bd1acda630125e8a574d)
This commit is contained in:
@@ -7,6 +7,7 @@ using Game.BattleGrounds.Zones;
|
|||||||
using Game.BattleGrounds.Zones.AlteracValley;
|
using Game.BattleGrounds.Zones.AlteracValley;
|
||||||
using Game.BattleGrounds.Zones.ArathisBasin;
|
using Game.BattleGrounds.Zones.ArathisBasin;
|
||||||
using Game.BattleGrounds.Zones.EyeofStorm;
|
using Game.BattleGrounds.Zones.EyeofStorm;
|
||||||
|
using Game.BattleGrounds.Zones.WarsongGluch;
|
||||||
using Game.DataStorage;
|
using Game.DataStorage;
|
||||||
using Game.Entities;
|
using Game.Entities;
|
||||||
using Game.Networking.Packets;
|
using Game.Networking.Packets;
|
||||||
@@ -254,6 +255,7 @@ namespace Game.BattleGrounds
|
|||||||
bg = new BgAlteracValley(bg_template);
|
bg = new BgAlteracValley(bg_template);
|
||||||
break;
|
break;
|
||||||
case BattlegroundTypeId.WS:
|
case BattlegroundTypeId.WS:
|
||||||
|
case BattlegroundTypeId.WgCtf:
|
||||||
bg = new BgWarsongGluch(bg_template);
|
bg = new BgWarsongGluch(bg_template);
|
||||||
break;
|
break;
|
||||||
case BattlegroundTypeId.AB:
|
case BattlegroundTypeId.AB:
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -3603,7 +3603,7 @@ namespace Game.Entities
|
|||||||
|| m_goValue.CapturePoint.State == BattlegroundCapturePointState.HordeCaptured;
|
|| m_goValue.CapturePoint.State == BattlegroundCapturePointState.HordeCaptured;
|
||||||
}
|
}
|
||||||
|
|
||||||
FlagState GetFlagState()
|
public FlagState GetFlagState()
|
||||||
{
|
{
|
||||||
if (GetGoType() != GameObjectTypes.NewFlag)
|
if (GetGoType() != GameObjectTypes.NewFlag)
|
||||||
return 0;
|
return 0;
|
||||||
@@ -3627,7 +3627,7 @@ namespace Game.Entities
|
|||||||
return newFlag.GetCarrierGUID();
|
return newFlag.GetCarrierGUID();
|
||||||
}
|
}
|
||||||
|
|
||||||
long GetFlagTakenFromBaseTime()
|
public long GetFlagTakenFromBaseTime()
|
||||||
{
|
{
|
||||||
if (GetGoType() != GameObjectTypes.NewFlag)
|
if (GetGoType() != GameObjectTypes.NewFlag)
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user