Core/Battleground: Rework BattlegroundScore
Port From (https://github.com/TrinityCore/TrinityCore/commit/da0ec4f830c4428a17fd4e52124dca6c63e25961)
This commit is contained in:
@@ -332,25 +332,6 @@ namespace Framework.Constants
|
||||
BonusHonor = 4,
|
||||
DamageDone = 5,
|
||||
HealingDone = 6,
|
||||
|
||||
// Ws And Ey
|
||||
FlagCaptures = 7,
|
||||
FlagReturns = 8,
|
||||
|
||||
// Ab And Ic
|
||||
BasesAssaulted = 9,
|
||||
BasesDefended = 10,
|
||||
|
||||
// Av
|
||||
GraveyardsAssaulted = 11,
|
||||
GraveyardsDefended = 12,
|
||||
TowersAssaulted = 13,
|
||||
TowersDefended = 14,
|
||||
MinesCaptured = 15,
|
||||
|
||||
// Sota
|
||||
DestroyedDemolisher = 16,
|
||||
DestroyedWall = 17
|
||||
}
|
||||
|
||||
//Arenas
|
||||
|
||||
@@ -1028,6 +1028,10 @@ namespace Framework.Database
|
||||
// PvpItem.db2
|
||||
PrepareStatement(HotfixStatements.SEL_PVP_ITEM, "SELECT ID, ItemID, ItemLevelDelta FROM pvp_item WHERE (`VerifiedBuild` > 0) = ?");
|
||||
|
||||
// PvpStat.db2
|
||||
PrepareStatement(HotfixStatements.SEL_PVP_STAT, "SELECT Description, ID, MapID FROM pvp_stat WHERE (`VerifiedBuild` > 0) = ?");
|
||||
PrepareStatement(HotfixStatements.SEL_PVP_STAT_LOCALE, "SELECT ID, Description_lang FROM pvp_stat_locale WHERE (`VerifiedBuild` > 0) = ? AND locale = ?");
|
||||
|
||||
// PvpSeason.db2
|
||||
PrepareStatement(HotfixStatements.SEL_PVP_SEASON, "SELECT ID, MilestoneSeason, AllianceAchievementID, HordeAchievementID FROM pvp_season" +
|
||||
" WHERE (`VerifiedBuild` > 0) = ?");
|
||||
@@ -2070,6 +2074,9 @@ namespace Framework.Database
|
||||
|
||||
SEL_PVP_ITEM,
|
||||
|
||||
SEL_PVP_STAT,
|
||||
SEL_PVP_STAT_LOCALE,
|
||||
|
||||
SEL_PVP_SEASON,
|
||||
|
||||
SEL_PVP_TALENT,
|
||||
|
||||
Reference in New Issue
Block a user