Core/Battlegrounds: Rework Eye of the Storm
Port From (https://github.com/TrinityCore/TrinityCore/commit/32af4bf8fa2936904a6bebe16445e66ef26340ce)
This commit is contained in:
@@ -37,7 +37,7 @@ namespace Game.BattleGrounds.Zones.AlteracValley
|
||||
for (byte j = 0; j < 9; j++)
|
||||
m_Team_QuestStatus[i][j] = 0;
|
||||
|
||||
_captainBuffTimer[i].Reset(120000 + RandomHelper.URand(0, 4) * 60); //as far as i could see, the buff is randomly so i make 2minutes (thats the duration of the buff itself) + 0-4minutes @todo get the right times
|
||||
_captainBuffTimer[i] = new(120000 + RandomHelper.URand(0, 4) * 60); //as far as i could see, the buff is randomly so i make 2minutes (thats the duration of the buff itself) + 0-4minutes @todo get the right times
|
||||
}
|
||||
|
||||
_mineInfo[(byte)AlteracValleyMine.North] = new AlteracValleyMineInfo(Team.Other, new StaticMineInfo(WorldStateIds.IrondeepMineOwner, WorldStateIds.IrondeepMineAllianceControlled, WorldStateIds.IrondeepMineHordeControlled, WorldStateIds.IrondeepMineTroggControlled, (byte)TextIds.IrondeepMineAllianceTaken, (byte)TextIds.IrondeepMineHordeTaken));
|
||||
@@ -53,7 +53,7 @@ namespace Game.BattleGrounds.Zones.AlteracValley
|
||||
InitNode(i, Team.Horde, true);
|
||||
InitNode(AVNodes.SnowfallGrave, Team.Other, false); //give snowfall neutral owner
|
||||
|
||||
_mineResourceTimer.Reset(MiscConst.MineResourceTimer);
|
||||
_mineResourceTimer = new(MiscConst.MineResourceTimer);
|
||||
|
||||
StartMessageIds[BattlegroundConst.EventIdSecond] = (uint)BroadcastTextIds.StartOneMinute;
|
||||
StartMessageIds[BattlegroundConst.EventIdThird] = (uint)BroadcastTextIds.StartHalfMinute;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
// Copyright (c) CypherCore <http://github.com/CypherCore> All rights reserved.
|
||||
// Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE file in the project root for full license information.
|
||||
|
||||
|
||||
namespace Game.BattleGrounds.Zones
|
||||
{
|
||||
class BgIsleofConquest : Battleground
|
||||
|
||||
@@ -2,11 +2,10 @@
|
||||
// Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE file in the project root for full license information.
|
||||
|
||||
using Framework.Constants;
|
||||
using Game.Entities;
|
||||
using Game.Networking.Packets;
|
||||
using Game.DataStorage;
|
||||
using System.Collections.Generic;
|
||||
using Game.Entities;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Game.BattleGrounds.Zones
|
||||
{
|
||||
@@ -401,7 +400,7 @@ namespace Game.BattleGrounds.Zones
|
||||
|
||||
if (set)
|
||||
{
|
||||
player.CastSpell(player, BattlegroundConst.SpellRecentlyDroppedFlag, true);
|
||||
player.CastSpell(player, BattlegroundConst.SpellRecentlyDroppedNeutralFlag, true);
|
||||
UpdateFlagState(team, WSGFlagState.OnGround);
|
||||
|
||||
if (team == Team.Alliance)
|
||||
|
||||
Reference in New Issue
Block a user