You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

232 lines
11 KiB

--- ============================ HEADER ============================
--- ======= LOCALIZE =======
-- Addon
local addonName, addonTable = ...
-- HeroDBC
local DBC = HeroDBC.DBC
-- HeroLib
local HL = HeroLib
local Cache = HeroCache
local Unit = HL.Unit
local Player = Unit.Player
local Target = Unit.Target
local Pet = Unit.Pet
local Spell = HL.Spell
local MultiSpell = HL.MultiSpell
local Item = HL.Item
local MergeTableByKey = HL.Utils.MergeTableByKey
-- HeroRotation
local HR = HeroRotation
--- ============================ CONTENT ============================
-- Spell
if not Spell.Warrior then Spell.Warrior = {} end
Spell.Warrior.Commons = {
-- Racials
AncestralCall = Spell(274738),
ArcaneTorrent = Spell(50613),
BagofTricks = Spell(312411),
Berserking = Spell(26297),
BloodFury = Spell(20572),
Fireblood = Spell(265221),
LightsJudgment = Spell(255647),
-- Abilities
BattleShout = Spell(6673),
Charge = Spell(100),
HeroicThrow = Spell(57755),
Pummel = Spell(6552),
Slam = Spell(1464),
VictoryRush = Spell(34428),
DefensiveStance = Spell(386208),
-- Talents
Avatar = Spell(107574),
BerserkerRage = Spell(18499),
BerserkersTorment = Spell(390123),
BloodandThunder = Spell(384277),
DoubleTime = Spell(103827),
CrushingForce = Spell(382764),
FrothingBerserker = Spell(215571),
ImmovableObject = Spell(394307),
IntimidatingShout = Spell(5246),
HeroicLeap = Spell(6544),
ImpendingVictory = Spell(202168),
OverwhelmingRage = Spell(382767),
RallyingCry = Spell(97462),
RumblingEarth = Spell(275339),
Shockwave = Spell(46968),
SonicBoom = Spell(390725),
SpearofBastion = Spell(376079),
SpellReflection = Spell(23920),
StormBolt = Spell(107570),
ThunderClap = MultiSpell(6343, 396719),
ThunderousRoar = Spell(384318),
TitanicThrow = Spell(384090),
WreckingThrow = Spell(384110),
-- Buffs
AvatarBuff = Spell(107574),
BattleShoutBuff = Spell(6673),
WarMachineBuff = Spell(262232),
-- Pool
Pool = Spell(999910),
}
Spell.Warrior.Fury = MergeTableByKey(Spell.Warrior.Commons, {
-- Abilities
BerserkerStance = Spell(386196),
Bloodbath = Spell(335096),
CrushingBlow = Spell(335097),
Execute = MultiSpell(5308, 280735),
Whirlwind = Spell(190411),
-- Talents
AngerManagement = Spell(152278),
Annihilator = Spell(383916),
AshenJuggernaut = Spell(392536),
Bloodthirst = Spell(23881),
ColdSteelHotBlood = Spell(383959),
DancingBlades = Spell(391683),
Frenzy = Spell(335077),
ImprovedWhilwind = Spell(12950),
MeatCleaver = Spell(280392),
OdynsFury = Spell(385059),
Onslaught = Spell(315720),
RagingBlow = Spell(85288),
Rampage = Spell(184367),
Ravager = Spell(228920),
RecklessAbandon = Spell(396749),
Recklessness = Spell(1719),
StormofSwords = Spell(388903),
SuddenDeath = Spell(280721),
Tenderize = Spell(388933),
TitanicRage = Spell(394329),
TitansTorment = Spell(390135),
WrathandFury = Spell(392936),
-- Buffs
AshenJuggernautBuff = Spell(392537),
BloodcrazeBuff = Spell(393951),
DancingBladesBuff = Spell(391688),
EnrageBuff = Spell(184362),
FrenzyBuff = Spell(335082),
MeatCleaverBuff = Spell(85739),
MercilessAssaultBuff = Spell(409983),
RecklessnessBuff = Spell(1719),
SuddenDeathBuff = Spell(280776),
})
Spell.Warrior.Arms = MergeTableByKey(Spell.Warrior.Commons, {
-- Abilities
BattleStance = Spell(386164),
Execute = MultiSpell(163201, 281000),
Whirlwind = Spell(1680),
-- Talents
AngerManagement = Spell(152278),
Battlelord = Spell(386630),
BlademastersTorment = Spell(390138),
Bladestorm = MultiSpell(227847, 389774),
Cleave = Spell(845),
ColossusSmash = MultiSpell(167105, 262161),
Dreadnaught = Spell(262150),
ExecutionersPrecision = Spell(386634),
FervorofBattle = Spell(202316),
Hurricane = Spell(390563),
IgnorePain = Spell(190456),
Juggernaut = Spell(383292),
Massacre = Spell(281001),
MercilessBonegrinder = Spell(383317),
MortalStrike = Spell(12294),
Overpower = Spell(7384),
Rend = Spell(772),
Skullsplitter = Spell(260643),
StormofSwords = Spell(385512),
SuddenDeath = Spell(29725),
SweepingStrikes = Spell(260708),
TestofMight = Spell(385008),
TideofBlood = Spell(386357),
Unhinged = Spell(386628),
Warbreaker = Spell(262161),
WarlordsTorment = Spell(390140),
-- Buffs
BattlelordBuff = Spell(386631),
CrushingAdvanceBuff = Spell(410138),
HurricaneBuff = Spell(390581),
JuggernautBuff = Spell(383292),
MartialProwessBuff = Spell(7384),
MercilessBonegrinderBuff = Spell(383316),
SuddenDeathBuff = Spell(52437),
SweepingStrikesBuff = Spell(260708),
TestofMightBuff = Spell(385013),
-- Debuffs
ColossusSmashDebuff = Spell(208086),
DeepWoundsDebuff = Spell(262115),
ExecutionersPrecisionDebuff = Spell(386633),
RendDebuff = Spell(388539),
})
Spell.Warrior.Protection = MergeTableByKey(Spell.Warrior.Commons, {
-- Abilities
BattleStance = Spell(386164),
Devastate = Spell(20243),
Execute = Spell(163201),
ShieldBlock = Spell(2565),
ShieldSlam = Spell(23922),
-- Talents
Avatar = Spell(401150),
BarbaricTraining = Spell(390675),
Bolster = Spell(280001),
BoomingVoice = Spell(202743),
ChampionsBulwark = Spell(386328),
DemoralizingShout = Spell(1160),
EnduringDefenses = Spell(386027),
HeavyRepercussions = Spell(203177),
IgnorePain = Spell(190456),
Intervene = Spell(3411),
ImpenetrableWall = Spell(384072),
Juggernaut = Spell(393967),
LastStand = Spell(12975),
Massacre = Spell(281001),
Ravager = Spell(228920),
Rend = Spell(394062),
Revenge = Spell(6572),
SeismicReverberation = Spell(382956),
ShieldCharge = Spell(385952),
ShieldWall = Spell(871),
SuddenDeath = Spell(29725),
UnnervingFocus = Spell(384042),
UnstoppableForce = Spell(275336),
-- Buffs
AvatarBuff = Spell(401150),
EarthenTenacityBuff = Spell(410218), -- T30 4P
LastStandBuff = Spell(12975),
RallyingCryBuff = Spell(97463),
RevengeBuff = Spell(5302),
SeeingRedBuff = Spell(386486),
ShieldBlockBuff = Spell(132404),
ShieldWallBuff = Spell(871),
SuddenDeathBuff = Spell(52437),
ViolentOutburstBuff = Spell(386478),
VanguardsDeterminationBuff = Spell(394056), -- T29 2P
-- Debuffs
RendDebuff = Spell(388539),
})
-- Items
if not Item.Warrior then Item.Warrior = {} end
Item.Warrior.Commons = {
-- Trinkets
AlgetharPuzzleBox = Item(193701, {13, 14}),
BeacontotheBeyond = Item(203963, {13, 14}),
CrimsonGladiatorsBadgeofFerocity = Item(201807, {13, 14}),
ElementiumPocketAnvil = Item(202617, {13, 14}),
IrideusFragment = Item(193743, {13, 14}),
ManicGrieftorch = Item(194308, {13, 14}),
VialofAnimatedBlood = Item(159625, {13, 14}),
}
Item.Warrior.Fury = MergeTableByKey(Item.Warrior.Commons, {
})
Item.Warrior.Arms = MergeTableByKey(Item.Warrior.Commons, {
})
Item.Warrior.Protection = MergeTableByKey(Item.Warrior.Commons, {
})