ifstate.talent.devastator.enabledthen-- 1 Rage for instigate with devastator, 2 rage for instigate with devastate
return(base_rage_gen*(state.talent.war_machine.enabledand1.5or1))+(state.talent.instigate.enabledand1or0)-- 1 Rage for instigate
else
return(base_rage_gen*(state.talent.war_machine.enabledand1.5or1))+(state.talent.instigate.enabledand2or0)-- 2 Rage for instigate
end
end
},
conquerors_banner={
aura="conquerors_banner",
last=function()
localapp=state.buff.conquerors_banner.applied
localt=state.query_time
returnapp+floor(t-app)
end,
interval=1,
value=4,
},
})
-- Talents
spec:RegisterTalents({
-- Warrior
berserker_rage={90372,18499,1},-- Go berserk, removing and granting immunity to Fear, Sap, and Incapacitate effects for 6 sec.
berserker_shout={90348,384100,1},-- Go berserk, removing and granting immunity to Fear, Sap, and Incapacitate effects for 6 sec. Also remove fear effects from group members within 12 yards.
bitter_immunity={90356,383762,1},-- Restores 20% health instantly and removes all diseases, poisons and curses affecting you.
blood_and_thunder={90342,384277,1},-- Thunderclap deals 10% increased damage. If you have Rend, Thunder Clap affects 5 nearby targets with Rend.
bounding_stride={90355,202163,1},-- Reduces the cooldown of Heroic Leap by 15 sec, and Heroic Leap now also increases your movement speed by 70% for 3 sec.
cacophonous_roar={90383,382954,1},-- Intimidating Shout can withstand 200% more damage before breaking.
crackling_thunder={90342,203201,1},-- Thunder Clap's radius is increased by 50%, and it reduces movement speed by an additional 20%.
cruel_strikes={90381,392777,2},-- Critical strike chance increased by 1% and critical strike damage of Execute increased by 5%.
double_time={90382,103827,1},-- Increases the maximum number of charges on Charge by 1, and reduces its cooldown by 3 sec.
elysian_might={90323,386285,1},-- Spear of Bastion's duration is increased by 2 sec. While you remain within Spear of Bastion's area your critical strike damage is increased by 25%.
fast_footwork={90371,382260,1},-- Movement speed increased by 5%.
furious_blows={90336,390354,1},-- Auto-attack speed increased by 5%.
heroic_leap={90346,6544,1},-- Leap through the air toward a target location, slamming down with destructive force to deal 423 Physical damage to all enemies within 8 yards, and resetting the remaining cooldown on Taunt.
impending_victory={90326,202168,1},-- Instantly attack the target, causing 899 damage and healing you for 30% of your maximum health. Killing an enemy that yields experience or honor resets the cooldown of Impending Victory and makes it cost no Rage.
inspiring_presence={90332,382310,1},-- Rallying Cry's duration is increased by 3 sec and it grants an additional 5% maximum health.
intervene={90329,3411,1},-- Run at high speed toward an ally, intercepting all melee and ranged attacks against them for 6 sec while they remain within 10 yds.
intimidating_shout={90384,5246,1},-- Causes the targeted enemy and up to 5 additional enemies within 8 yards to cower in fear. Targets are disoriented for 8 sec.
leeching_strikes={90344,382258,1},-- Leech increased by 5%.
menace={90383,275338,1},-- Intimidating Shout will knock back all nearby enemies except your primary target, and cause them all to cower in fear for 15 sec instead of fleeing.
overwhelming_rage={90378,382767,2},-- Maximum Rage increased by 15.
piercing_howl={90348,12323,1},-- Snares all enemies within 12 yards, reducing their movement speed by 70% for 8 sec.
piercing_verdict={90379,382948,1},-- Spear of Bastion's instant damage increased by 50% and its Rage generation is increased by 100%.
rallying_cry={90331,97462,1},-- Lets loose a rallying cry, granting all party or raid members within 40 yards 15% temporary and maximum health for 10 sec.
reinforced_plates={90368,382939,1},-- Armor increased by 20%.
rumbling_earth={90374,275339,1},-- Shockwave's range increased by 6 yards and when Shockwave strikes at least 3 targets, its cooldown is reduced by 15 sec.
second_wind={90332,29838,1},-- Restores 6% health every 1 sec when you have not taken damage for 5 sec.
seismic_reverberation={90340,382956,1},-- If Whirlwind or Revenge hits 3 or more enemies, it hits them 1 additional time for 30% damage.
shattering_throw={90351,64382,1},-- Hurl your weapon at the enemy, causing 1,798 Physical damage, ignoring armor, and removing any magical immunities. Deals up to 500% increased damage to absorb shields.
shockwave={90375,46968,1},-- Sends a wave of force in a frontal cone, causing 540 damage and stunning all enemies within 10 yards for 2 sec. Generates 10 Rage.
sonic_boom={90321,390725,1},-- Shockwave deals 350% increased damage and will always critical strike.
spear_of_bastion={90380,376079,1},-- Throw a spear at the target location, dealing 2,967 Physical damage instantly and an additional 3,136 damage over 4 sec. Deals reduced damage beyond 5 targets. Enemies hit are chained to the spear's location for the duration. Generates 20 Rage.
spell_reflection={90385,23920,1},-- Raise your shield, reflecting the first spell cast on you, and reduce magic damage you take by 20% for 5 sec.
storm_bolt={90337,107570,1},-- Hurls your weapon at an enemy, causing 512 Physical damage and stunning for 4 sec.
thunderous_roar={90359,384318,1},-- Roar explosively, dealing 2,877 Physical damage to enemies within 12 yds and cause them to bleed for 3,343 physical damage over 8 sec. Generates 10 Rage.
thunderous_words={90358,384969,1},-- Increases the duration of Thunderous Roar's Bleed effect by 2.0 sec and increases the damage of your bleed effects by 15% at all times.
titanic_throw={90341,384090,1},-- Throws your weapon at the enemy, causing 629 Physical damage to it and 5 nearby enemies. Generates high threat.
uproar={90357,391572,1},-- Thunderous Roar's cooldown reduced by 30 sec.
wild_strikes={90360,382946,2},-- Haste increased by 1% and your auto-attack critical strikes increase your auto-attack speed by 10% for 10 sec.
wrecking_throw={90351,384110,1},-- Hurl your weapon at the enemy, causing 1,798 Physical damage, ignoring armor. Deals up to 500% increased damage to absorb shields.
-- Protection
anger_management={90311,152278,1},-- Every 10 Rage you spend reduces the remaining cooldown on Avatar and Shield Wall by 1 sec.
armored_to_the_teeth={90259,394855,2},-- Gain Strength equal to 2% of your Armor.
avatar={92639,401150,1},-- Transform into a colossus for 20 sec, causing you to deal 20% increased damage and removing all roots and snares. Generates 10 Rage.
barbaric_training={90377,390675,1},-- Revenge deals 25% increased damage but now costs 10 more rage.
battering_ram={90262,394312,1},-- Shield Charge critical strike chance and critical strike damage increased by 20%, and Shield Charge increases your auto-attack damage and speed by 20% for 20 sec.
battle_stance={90261,386164,1},-- A balanced combat state that increases the critical strike chance of your abilities by 3% and reduces the duration of movement impairing effects by 10%. Lasts until canceled.
battlescarred_veteran={90435,386394,1},-- When your health is brought below 30%, you take 80% less damage for 8 sec and healing you receive is increased by 100%. Cannot occur more than once every 180 sec.
best_served_cold={90304,202560,1},-- Revenge deals 10% more damage, or 20% more damage when your successful dodges or parries have made it cost no Rage.
bloodborne={90448,385704,2},-- Deep Wounds, Rend and Thunderous Roar's Bleed effects deal 10% increased damage.
bloodsurge={90300,384361,1},-- Your Bleed effects have a chance to grant you 5 Rage.
bolster={90264,280001,1},-- Last Stand's cooldown is reduced by 60 sec, and it grants you the Shield Block effect for its duration.
booming_voice={90314,202743,1},-- Demoralizing Shout also generates 30 Rage, and increases damage you deal to affected targets by 20%.
brace_for_impact={90296,386030,1},-- Using Shield Slam increases the damage of Shield Slam by 5% for 16 sec, and it increases the block value of your shield by 3%. Stacking up to 5 times.
brutal_vitality={90451,384036,1},-- 10% of damage you deal adds to your active Ignore Pain.
challenging_shout={90309,1161,1},-- Taunts all enemies within 10 yds to attack you for 6 sec.
champions_bulwark={90316,386328,1},-- Shield Charge deals 20% increased damage, grants you Shield Block, Revenge!, and generates an additional 20 Rage.
concussive_blows={90334,383115,1},-- Cooldown of Pummel reduced by 1.0 sec. Successfully interrupting an enemy increases the damage you deal to them by 5% for 10 sec.
crushing_force={90369,390642,2},-- Shield Slam deals an additional 5% damage and deals 5% increased critical strike damage.
dance_of_death={90260,393965,1},-- If your Ravager helps kill an enemy, it lasts 2.0 sec longer and deals 20% increased damage. This effect also applies to future Ravagers for the next 2 min.
defenders_aegis={90310,397103,1},-- Shield Wall gains 1 additional charge, and its cooldown is reduced by 30 sec.
defensive_stance={90330,386208,1},-- A defensive combat state that reduces all damage you take by 15%, and all damage you deal by 10%. Lasts until canceled.
demoralizing_shout={90305,1160,1},-- Demoralizes all enemies within 15 yards, reducing the damage they deal to you by 20% for 8 sec.
devastator={90299,236279,1},-- Your auto attacks deal an additional 397 Physical damage and have a 20% chance to reset the remaining cooldown on Shield Slam.
disrupting_shout={90307,386071,1},-- Taunts all enemies within 14 yds to attack you for 6 sec, interrupts all spellcasting within 14 yds and prevents any spell in that school from being cast for 6 sec.
endurance_training={90339,382940,1},-- Stamina increased by 5% and the duration of Fear, Sap and Incapacitate effects on you is reduced by 10.0%.
enduring_alacrity={90433,384063,1},-- Increases Stamina and Armor by 5% and your Haste by 1%.
focused_vigor={90318,384067,1},-- Increases Strength and Armor by 5% and your critical strike chance by 1%.
frothing_berserker={90370,392790,1},-- Revenge has a 20% chance to immediately refund 50% of the Rage spent.
fueled_by_violence={90451,383103,1},-- You are healed for 85% of the damage dealt by Deep Wounds.
heavy_repercussions={90319,203177,1},-- Shield Slam generates 2 more Rage and extends the duration of Shield Block by 1.0 sec.
honed_reflexes={90361,391271,1},-- Cooldown of Shield Slam and Pummel reduced by 1.0 sec.
ignore_pain={90295,190456,1},-- Fight through the pain, ignoring 50% of damage taken, up to 6,294 total damage prevented.
immovable_object={90364,394307,1},-- Activating Avatar or Shield Wall casts the other at reduced effectiveness.
impenetrable_wall={90310,384072,1},-- Shield Slam generates an additional 3 Rage and reduces the remaining cooldown of Shield Wall by 5 sec.
improved_heroic_throw={90306,386034,1},-- Heroic Throw deals 100% increased damage and inflicts Deep Wounds.
indomitable={90434,202095,1},-- Your maximum health is increased by 10%, and every 10 Rage you spend heals you for 1% of your maximum health.
instigate={90301,394311,1},-- Devastate deals 20% increased damage and generates 2 Rage. Devastator deals 10% increased damage and generates 1 Rage.
into_the_fray={90319,202603,1},-- You gain 2% Haste for each enemy or ally within 10 yards, up to 10% Haste.
juggernaut={90449,393967,1},-- Execute increases Execute's damage dealt by 3% for 20 sec, stacking up to 15 times.
last_stand={90297,12975,1},-- Increases maximum health by 30% for 15 sec, and instantly heals you for that amount.
massacre={90313,281001,1},-- Execute is now usable on targets below 35% health.
onehanded_weapon_specialization={90324,382895,1},-- Damage with one-handed weapons and Leech increased by 5%.
punish={90449,275334,1},-- Shield Slam deals 10% increased damage, and reduces enemies' damage against you by 3% for 9 sec. Multiple punishments may overlap.
ravager={90432,228920,1},-- Throws a whirling weapon at the target location that chases nearby enemies, inflicting 9,150 Physical damage to all enemies over 10.3 sec. Deals reduced damage beyond 8 targets. Generates 10 Rage each time it deals damage.
rend={90302,394062,1},-- Wounds the target, causing 577 Physical damage instantly and an additional 1,802 Bleed damage over 15 sec.
revenge={90298,6572,1},-- Swing in a wide arc, dealing 845 Physical damage to all enemies in front of you. Deals reduced damage beyond 5 targets. Your successful dodges and parries have a chance to make your next Revenge cost no Rage.
shield_charge={90317,385952,1},-- Charge to an enemy with your shield, dealing 4,945 Physical damage to it and 1,978 Physical damage to all enemies within 10 yards. Also stuns the primary target for 4 sec. Generates 20 Rage.
shield_specialization={90315,386011,2},-- Increases Block chance by 6% and your Block value by 12%.
shield_wall={90312,871,1},-- Reduces all damage you take by 40% for 8 sec.
show_of_force={90320,385843,1},-- Revenge damage increased by 10% and Revenge increases the damage of your next Thunder Clap by 20%.
sidearm={90334,384404,1},-- Your auto-attacks have a 20% chance to hurl weapons at your target and 3 other enemies in front of you, dealing an additional 449 Physical damage.
spell_block={90450,392966,1},-- You are able to block spells for 20 sec.
storm_of_steel={90431,382953,1},-- Ravager's damage is reduced by 30% but it now has 2 charges and generates 20 Rage each time it deals damage.
strategist={90303,384041,1},-- Devastate, Thunder Clap, Revenge, and Execute have a 30% chance to reset the remaining cooldown on Shield Slam.
sudden_death={90320,29725,1},-- Your attacks have a chance to make your next Execute cost no Rage, be usable on any target regardless of their health, and deal damage as if you spent 40 Rage.
thunder_clap={90343,6343,1},-- Blasts all enemies within 8 yards for 822 Physical damage. and reduces their movement speed by 20% for 10 sec. Deals reduced damage beyond 5 targets. Generates 5 Rage.
thunderlord={90308,385840,1},-- Increases the radius of Demoralizing Shout by 5 yards. Each enemy hit by Thunder Clap reduces the remaining cooldown on Demoralizing Shout by 1.0 sec, up to 3.0 sec.
tough_as_nails={90450,385888,1},-- Blocking an attack deals 539 Physical damage to the attacker, ignoring armor. Generates high threat.
unnerving_focus={90452,384042,1},-- Last Stand increases your Rage generation by 50%.
unstoppable_force={90364,275336,1},-- Avatar increases the damage of Thunder Clap and Shockwave by 50%, and reduces the cooldown of Thunder Clap by 50%.
violent_outburst={90265,386477,1},-- Consuming 30 rage grants a stack of Seeing Red, which transforms at 8 stacks into Violent Outburst, causing your next Shield Slam or Thunder Clap to deal 200% increased damage, generate 100% more Rage and grant Ignore Pain.
war_machine={90345,316733,1},-- Your auto attacks generate 50% more Rage. Killing an enemy instantly generates 5 Rage, and increases your movement speed by 30% for 8 sec.
})
-- PvP Talents
spec:RegisterPvpTalents({
bodyguard=168,-- (213871) Protect an ally, causing 40% of all Physical damage they take to be transfered to you. When the target takes Physical damage, your Shield Slam cooldown has a 30% chance to be reset. Bodyguard is cancelled if the target is further than 15 yards from you. Lasts 1 min. Only one target can be Bodyguarded at a time.
demolition=5374,-- (329033)
disarm=24,-- (236077) Disarm the enemy's weapons and shield for 6 sec. Disarmed creatures deal significantly reduced damage.
dragon_charge=831,-- (206572) Run at high speed at a distance in front of you. All enemies in your path will take 2,857 Physical damage and be knocked back.
morale_killer=171,-- (199023)
oppressor=845,-- (205800) You focus the assault on this target, increasing their damage taken by 3% for 6 sec. Each unique player that attacks the target increases the damage taken by an additional 3%, stacking up to 5 times. Your melee attacks refresh the duration of Focused Assault.
rebound=833,-- (213915)
shield_bash=173,-- (198912) Bash the target with your shield dealing 3181.1 Physical damage and reducing their damage done by 15%. If the target is casting, the cooldown is instantly reset. Generates 3 Rage.
sword_and_board=167,-- (199127) Increases the critical strike chance of your Devastate and Shield Slam by 30% while Shield Block is active.
--(2) Shield Slam deals 15% increased damage and reduces the cooldown of Last Stand by 1 sec. During Last Stand these effects are doubled.
--(4) For 10 sec after Last Stand ends, Shield Slam unleashes a wave of force dealing (45% of Attack power) Physical damage to enemies in front of you and reducing damage they deal to you by 5% for 5 sec.
desc="If checked, |T1377132:0|t Ignore Pain can be recommended while it is already active. This setting may cause you to spend more Rage on mitigation.",
type="toggle",
width="full"
})
spec:RegisterSetting("stack_shield_block",false,{
name="Overlap |T132110:0|t Shield Block",
desc=function()
return"If checked, the addon can recommend overlapping |T132110:0|t Shield Block usage. \n\n"..
"This setting avoids leaving Shield Block at 2 charges, which wastes cooldown recovery time."
end,
type="toggle",
width="full"
})
spec:RegisterSetting("stance_weaving",false,{
name="Allow Stance Changes",
desc=function()
return"If checked, custom priorities can be written to recommend changing between stances. For example, Battle Stance could be recommended when "
.."using offensive cooldowns, then Defensive Stance can be recommended when tanking resumes.\n\n"
.."If left unchecked, the addon will not recommend changing your stance as long as you are already in a stance. This choice prevents the addon "
.."from endlessly recommending that you change your stance when you do not want to change it."
end,
type="toggle",
width="full"
})
spec:RegisterSetting("reserve_rage",35,{-- Ignore Pain cost is 35, Shield Block is 30.
name="|T135726:0|t Reserve Rage for Mitigation",
desc="If set above 0, the addon will not recommend |T132353:0|t Revenge or |T135358:0|t Execute unless you'll be still have this much Rage afterward.\n\n"
.."When set to |cFFFFD10035|r or higher, this feature ensures that you can always use |T1377132:0|t Ignore Pain and |T132110:0|t Shield Block when following recommendations for damage and threat.",
type="range",
min=0,
max=100,
step=1,
width="full",
})
spec:RegisterSetting("shield_wall_amount",50,{
name="|T132362:0|t Shield Wall Damage Required",
desc="If set above 0, the addon will not recommend |T132362:0|t Shield Wall unless you have taken this much damage in the past 5 seconds, as a percentage of your maximum health.\n\n"
.."If set to |cFFFFD10050%|r and your maximum health is 50,000, then the addon will only recommend Shield Wall when you've taken 25,000 damage in the past 5 seconds.\n\n"
.."This value is reduced by 50% when playing solo.",
type="range",
min=0,
max=200,
step=1,
width="full",
})
spec:RegisterSetting("shield_wall_health",50,{
name="|T132362:0|t Shield Wall Health Percentage",
desc="If set below 100, the addon will not recommend |T132362:0|t Shield Wall unless your current health has fallen below this percentage.",
name="Require |T132362:0|t Shield Wall Damage and Health",
desc="If checked, |T132362:0|t Shield Wall will not be recommended unless both the Damage Required |cFFFFD100and|r Health Percentage requirements are met.\n\n"
.."Otherwise, Shield Wall can be recommended when |cFFFFD100either|r requirement is met.",
type="toggle",
width="full"
})
spec:RegisterSetting("rallying_cry_amount",50,{
name="|T132351:0|t Rallying Cry Damage Required",
desc="If set above 0, the addon will not recommend |T132351:0|t Rallying Cry unless you have taken this much damage in the past 5 seconds, as a percentage of your maximum health.\n\n"
.."If set to |cFFFFD10050%|r and your maximum health is 50,000, then the addon will only recommend Rallying Cry when you've taken 25,000 damage in the past 5 seconds.\n\n"
.."This value is reduced by 50% when playing solo.",
type="range",
min=0,
max=200,
step=1,
width="full",
})
spec:RegisterSetting("rallying_cry_health",50,{
name="|T132351:0|t Rallying Cry Health Percentage",
desc="If set below 100, the addon will not recommend |T132351:0|t Rallying Cry unless your current health has fallen below this percentage.",
name="Require |T132351:0|t Rallying Cry Damage and Health",
desc="If checked, |T132351:0|t Rallying Cry will not be recommended unless both the Damage Required |cFFFFD100and|r Health Percentage requirements are met.\n\n"
.."Otherwise, Rallying Cry can be recommended when |cFFFFD100either|r requirement is met.",
desc="If set above 0, the addon will not recommend |T135871:0|t Last Stand unless you have taken this much damage in the past 5 seconds, as a percentage of your maximum health.\n\n"
.."If set to |cFFFFD10050%|r and your maximum health is 50,000, then the addon will only recommend Last Stand when you've taken 25,000 damage in the past 5 seconds.\n\n"
.."This value is reduced by 50% when playing solo.",
name="Require |T135871:0|t Last Stand Damage and Health",
desc="If checked, |T135871:0|t Last Stand will not be recommended unless both the Damage Required |cFFFFD100and|r Health Percentage requirements are met.\n\n"
.."Otherwise, Last Stand can be recommended when |cFFFFD100either|r requirement is met.",