Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- PaladinRetribution.lua
- -- May 2018
- local addon, ns = ...
- local Hekili = _G[ addon ]
- local class = Hekili.Class
- local state = Hekili.State
- local PTR = ns.PTR
- if UnitClassBase( 'player' ) == 'PALADIN' then
- local spec = Hekili:NewSpecialization( 70 )
- spec:RegisterResource( Enum.PowerType.HolyPower )
- spec:RegisterResource( Enum.PowerType.Mana )
- -- Talents
- spec:RegisterTalents( {
- zeal = 22590, -- 269569
- righteous_verdict = 22557, -- 267610
- execution_sentence = 22175, -- 267798
- fires_of_justice = 22319, -- 203316
- blade_of_wrath = 22592, -- 231832
- empyrean_power = 22593, -- 326732
- fist_of_justice = 22896, -- 234299
- repentance = 22180, -- 20066
- blinding_light = 21811, -- 115750
- unbreakable_spirit = 22185, -- 114154
- cavalier = 22595, -- 230332
- eye_for_an_eye = 22186, -- 205191
- divine_purpose = 22591, -- 223817
- holy_avenger = 11111, --105809
- seraphim = 11111, --152262
- selfless_healer = 23167, -- 85804
- justicars_vengeance = 22483, -- 215661
- healing_hands = 23086, -- 326734
- sanctified_wrath = 111111, -- 317866
- crusade = 22215, -- 231895
- inquisition = 22634, -- 84963
- } )
- -- PvP Talents
- spec:RegisterPvpTalents( {
- relentless = 3446, -- 196029
- adaptation = 3445, -- 214027
- gladiators_medallion = 3444, -- 208683
- blessing_of_sanctuary = 752, -- 210256
- cleansing_light = 3055, -- 236186
- divine_punisher = 755, -- 204914
- hammer_of_reckoning = 756, -- 247675
- jurisdiction = 757, -- 204979
- law_and_order = 858, -- 204934
- lawbringer = 754, -- 246806
- luminescence = 81, -- 199428
- ultimate_retribution = 753, -- 287947
- unbound_freedom = 641, -- 305394
- vengeance_aura = 751, -- 210323
- } )
- -- Auras
- spec:RegisterAuras( {
- avenging_wrath = {
- id = 31884,
- duration = function () return azerite.lights_decree.enabled and 25 or 20 end,
- max_stack = 1,
- },
- avenging_wrath_autocrit = {
- id = 294027,
- duration = 20,
- max_stack = 1,
- copy = "avenging_wrath_crit"
- },
- blade_of_wrath = {
- id = 281178,
- duration = 10,
- max_stack = 1,
- },
- blessing_of_freedom = {
- id = 1044,
- duration = 8,
- type = "Magic",
- max_stack = 1,
- },
- blessing_of_protection = {
- id = 1022,
- duration = 10,
- type = "Magic",
- max_stack = 1,
- },
- crusade = {
- id = 231895,
- duration = 25,
- type = "Magic",
- max_stack = 10,
- },
- divine_purpose = {
- id = 223819,
- duration = 12,
- max_stack = 1,
- },
- divine_shield = {
- id = 642,
- duration = 8,
- type = "Magic",
- max_stack = 1,
- },
- divine_steed = {
- id = 221886,
- duration = 3,
- max_stack = 1,
- },
- execution_sentence = {
- id = 267799,
- duration = 12,
- max_stack = 1,
- },
- fires_of_justice = {
- id = 209785,
- duration = 15,
- max_stack = 1,
- copy = "the_fires_of_justice" -- backward compatibility
- },
- hammer_of_justice = {
- id = 853,
- duration = 6,
- type = "Magic",
- max_stack = 1,
- },
- hand_of_hindrance = {
- id = 183218,
- duration = 10,
- type = "Magic",
- max_stack = 1,
- },
- hand_of_reckoning = {
- id = 62124,
- duration = 3,
- max_stack = 1,
- },
- inquisition = {
- id = 84963,
- duration = 45,
- max_stack = 1,
- },
- judgment = {
- id = 197277,
- duration = 15,
- max_stack = 1,
- },
- righteous_verdict = {
- id = 267611,
- duration = 6,
- max_stack = 1,
- },
- selfless_healer = {
- id = 114250,
- duration = 15,
- max_stack = 4,
- },
- shield_of_vengeance = {
- id = 184662,
- duration = 15,
- max_stack = 1,
- },
- wake_of_ashes = {
- id = 255937,
- duration = 5,
- max_stack = 1,
- },
- zeal = {
- id = 217020,
- duration = 12,
- max_stack = 3
- },
- -- Shadowlands Legendaries. This might be RegisterGear stuff idk
- final_verdict= {
- id = 337228,
- duration = 15,
- max_stack = 1,
- }
- -- Azerite Powers
- empyreal_ward = {
- id = 287731,
- duration = 60,
- max_stack = 1,
- },
- empyrean_power = {
- id = 286393,
- duration = 15,
- max_stack = 1
- },
- -- PvP
- reckoning = {
- id = 247677,
- max_stack = 30,
- duration = 30
- },
- } )
- spec:RegisterGear( 'tier19', 138350, 138353, 138356, 138359, 138362, 138369 )
- spec:RegisterGear( 'tier20', 147160, 147162, 147158, 147157, 147159, 147161 )
- spec:RegisterAura( 'sacred_judgment', {
- id = 246973,
- duration = 8
- } )
- spec:RegisterGear( 'tier21', 152151, 152153, 152149, 152148, 152150, 152152 )
- spec:RegisterAura( 'hidden_retribution_t21_4p', {
- id = 253806,
- duration = 15
- } )
- spec:RegisterGear( 'class', 139690, 139691, 139692, 139693, 139694, 139695, 139696, 139697 )
- spec:RegisterGear( 'truthguard', 128866 )
- spec:RegisterGear( 'whisper_of_the_nathrezim', 137020 )
- spec:RegisterAura( 'whisper_of_the_nathrezim', {
- id = 207633,
- duration = 3600
- } )
- spec:RegisterGear( 'justice_gaze', 137065 )
- spec:RegisterGear( 'ashes_to_dust', 51745 )
- spec:RegisterAura( 'ashes_to_dust', {
- id = 236106,
- duration = 6
- } )
- spec:RegisterGear( 'aegisjalmur_the_armguards_of_awe', 140846 )
- spec:RegisterGear( 'chain_of_thrayn', 137086 )
- spec:RegisterAura( 'chain_of_thrayn', {
- id = 236328,
- duration = 3600
- } )
- spec:RegisterGear( 'liadrins_fury_unleashed', 137048 )
- spec:RegisterAura( 'liadrins_fury_unleashed', {
- id = 208410,
- duration = 3600,
- } )
- spec:RegisterGear( "soul_of_the_highlord", 151644 )
- spec:RegisterGear( "pillars_of_inmost_light", 151812 )
- spec:RegisterGear( "scarlet_inquisitors_expurgation", 151813 )
- spec:RegisterAura( "scarlet_inquisitors_expurgation", {
- id = 248289,
- duration = 3600,
- max_stack = 3
- } )
- spec:RegisterHook( 'spend', function( amt, resource )
- if amt > 0 and resource == "holy_power" and talent.crusade.enabled and buff.crusade.up then
- addStack( "crusade", buff.crusade.remains, amt )
- end
- end )
- -- Abilities
- spec:RegisterAbilities( {
- ashen_hollow = {
- id = 316958,
- cast = function () return 1.5 * haste end,
- cooldown = 120,
- gcd = "spell",
- toggle = 'cooldowns',
- startsCombat = false,
- texture = 3565722,
- },
- avenging_wrath = {
- id = 31884,
- cast = 0,
- cooldown = function () return ( essence.vision_of_perfection.enabled and 0.87 or 1 ) * 120 end,
- gcd = "spell",
- toggle = 'cooldowns',
- notalent = 'crusade',
- startsCombat = true,
- texture = 135875,
- nobuff = 'avenging_wrath',
- handler = function ()
- applyBuff( 'avenging_wrath' )
- applyBuff( "avenging_wrath_crit" )
- if level < 115 then
- if equipped.liadrins_fury_unleashed then gain( 1, 'holy_power' ) end
- end
- end,
- },
- blade_of_justice = {
- id = 184575,
- cast = 0,
- cooldown = function () return 12 * haste end,
- gcd = "spell",
- spend = -2,
- spendType = 'holy_power',
- notalent = 'divine_hammer',
- bind = 'divine_hammer',
- startsCombat = true,
- texture = 1360757,
- handler = function ()
- removeBuff( "blade_of_wrath" )
- removeBuff( 'sacred_judgment' )
- gain( buff.holy_avenger.up and 3 or 2, 'holy_power' )
- end,
- },
- blessing_of_freedom = {
- id = 1044,
- cast = 0,
- charges = 1,
- cooldown = 25,
- recharge = 25,
- gcd = "spell",
- spend = 0.07,
- spendType = "mana",
- startsCombat = false,
- texture = 135968,
- handler = function ()
- applyBuff( 'blessing_of_freedom' )
- end,
- },
- blessing_of_protection = {
- id = 1022,
- cast = 0,
- charges = 1,
- cooldown = 300,
- recharge = 300,
- gcd = "spell",
- spend = 0.15,
- spendType = "mana",
- startsCombat = false,
- texture = 135964,
- readyTime = function () return debuff.forbearance.remains end,
- handler = function ()
- applyBuff( 'blessing_of_protection' )
- applyDebuff( 'player', 'forbearance' )
- end,
- },
- blinding_light = {
- id = 115750,
- cast = 0,
- cooldown = 90,
- gcd = "spell",
- spend = 0.06,
- spendType = "mana",
- talent = 'blinding_light',
- startsCombat = true,
- texture = 571553,
- handler = function ()
- applyDebuff( 'target', 'blinding_light', 6 )
- active_dot.blinding_light = active_enemies
- end,
- },
- cleanse_toxins = {
- id = 213644,
- cast = 0,
- cooldown = 8,
- gcd = "spell",
- spend = 0.06,
- spendType = "mana",
- startsCombat = false,
- texture = 135953,
- handler = function ()
- end,
- },
- consecration = {
- id = 26573,
- cast = 0,
- cooldown = 9,
- gcd = "spell",
- talent = 'consecration',
- startsCombat = true,
- texture = 135926,
- handler = function ()
- end,
- },
- crusade = {
- id = 231895,
- cast = 0,
- cooldown = 120,
- gcd = "spell",
- talent = 'crusade',
- toggle = 'cooldowns',
- startsCombat = false,
- texture = 236262,
- nobuff = 'crusade',
- usable = function () return not buff.crusade.up end,
- handler = function ()
- applyBuff( 'crusade' )
- end,
- },
- crusader_strike = {
- id = 35395,
- cast = 0,
- charges = 2,
- cooldown = function () return 6 * ( talent.fires_of_justice.enabled and 0.85 or 1 ) * haste end,
- recharge = function () return 6 * ( talent.fires_of_justice.enabled and 0.85 or 1 ) * haste end,
- gcd = "spell",
- spend = -1,
- spendType = 'holy_power',
- spend = 0.12,
- spendType = "mana",
- startsCombat = true,
- texture = 135891,
- handler = function ()
- end,
- },
- divine_shield = {
- id = 642,
- cast = 0,
- cooldown = function () return 300 * ( talent.unbreakable_spirit.enabled and 0.7 or 1 ) end,
- gcd = "spell",
- startsCombat = false,
- texture = 524354,
- readyTime = function () return debuff.forbearance.remains end,
- handler = function ()
- applyBuff( 'divine_shield' )
- applyDebuff( 'player', 'forbearance' )
- end,
- },
- divine_steed = {
- id = 190784,
- cast = 0,
- charges = function () return talent.cavalier.enabled and 2 or nil end,
- cooldown = 60,
- recharge = 60,
- gcd = "spell",
- startsCombat = true,
- texture = 1360759,
- handler = function ()
- applyBuff( 'divine_steed' )
- end,
- },
- divine_storm = {
- id = 53385,
- cast = 0,
- cooldown = 0,
- gcd = "spell",
- spend = function ()
- if buff.divine_purpose.up then return 0 end
- if buff.empyrean_power.up then return 0 end
- return 3 - ( buff.fires_of_justice.up and 1 or 0 ) - ( buff.the_arbiters_judgment.up and 1 or 0 )
- end,
- spendType = "holy_power",
- startsCombat = true,
- texture = 236250,
- handler = function ()
- if buff.empyrean_power.up then removeBuff( 'empyrean_power' )
- elseif buff.divine_purpose.up then removeBuff( 'divine_purpose' )
- else
- removeBuff( 'fires_of_justice' )
- removeBuff( 'the_arbiters_judgment' )
- end
- if buff.avenging_wrath_crit.up then removeBuff( "avenging_wrath_crit" ) end
- if level < 116 then
- if equipped.whisper_of_the_nathrezim then applyBuff( 'whisper_of_the_nathrezim', 4 ) end
- end
- end,
- },
- divine_toll = {
- id = 3565448,
- cast = 0,
- cooldown = 60,
- gcd = "spell",
- spend = function ()
- idklol,
- spendType = "holy_power",
- spend = 0.15,
- spendType = "mana",
- startsCombat = true,
- texture = 3578228,
- },
- execution_sentence = {
- id = 267798,
- cast = 0,
- cooldown = 30,
- gcd = "spell",
- spend = function ()
- if buff.divine_purpose.up then return 0 end
- return 3 - ( buff.fires_of_justice.up and 1 or 0 ) - ( buff.the_arbiters_judgment.up and 1 or 0 )
- end,
- spendType = "holy_power",
- talent = 'execution_sentence',
- startsCombat = true,
- texture = 613954,
- handler = function ()
- if buff.divine_purpose.up then removeBuff( 'divine_purpose' )
- else
- removeBuff( 'fires_of_justice' )
- removeBuff( 'the_arbiters_judgment' )
- end
- applyDebuff( 'target', 'execution_sentence', 12 )
- end,
- },
- eye_for_an_eye = {
- id = 205191,
- cast = 0,
- cooldown = 60,
- gcd = "spell",
- talent = 'eye_for_an_eye',
- startsCombat = false,
- texture = 135986,
- handler = function ()
- applyBuff( 'eye_for_an_eye' )
- end,
- },
- final_verdict = {
- id = 336872,
- cast = 0,
- cooldown = 0,
- gcd = "spell",
- spend = function ()
- if buff.divine_purpose.up then return 0 end
- return 3 - ( buff.fires_of_justice.up and 1 or 0 ) - ( buff.the_arbiters_judgment.up and 1 or 0 )
- end,
- spendType = "holy_power",
- startsCombat = true,
- texture = 461860,
- handler = function ()
- if buff.divine_purpose.up then removeBuff( 'divine_purpose' )
- else
- removeBuff( 'fires_of_justice' )
- removeBuff( 'the_arbiters_judgment' )
- end
- if buff.avenging_wrath_crit.up then removeBuff( "avenging_wrath_crit" ) end
- if talent.righteous_verdict.enabled then applyBuff( 'righteous_verdict' ) end
- if level < 115 and equipped.whisper_of_the_nathrezim then applyBuff( 'whisper_of_the_nathrezim', 4 ) end
- end,
- },
- flash_of_light = {
- id = 19750,
- cast = function () return ( 1.5 - ( buff.selfless_healer.stack * 0.5 ) ) * haste end,
- cooldown = 0,
- gcd = "spell",
- spend = 0.22,
- spendType = "mana",
- startsCombat = true,
- texture = 135907,
- handler = function ()
- removeBuff( 'selfless_healer' )
- end,
- },
- hammer_of_justice = {
- id = 853,
- cast = 0,
- cooldown = function ()
- if equipped.justice_gaze and target.health.percent > 75 then
- return 15
- end
- return 60
- end,
- gcd = "spell",
- spend = 0.035,
- spendType = "mana",
- startsCombat = true,
- texture = 135963,
- handler = function ()
- applyDebuff( 'target', 'hammer_of_justice' )
- if equipped.justice_gaze and target.health.percent > 75 then
- gain( 1, 'holy_power' )
- end
- end,
- },
- hammer_of_reckoning = {
- id = 247675,
- cast = 0,
- cooldown = 60,
- gcd = "spell",
- startsCombat = true,
- -- texture = ???,
- pvptalent = "hammer_of_reckoning",
- usable = function () return buff.reckoning.stack >= 50 end,
- handler = function ()
- removeStack( "reckoning", 50 )
- if talent.crusade.enabled then
- applyBuff( "crusade", 12 )
- else
- applyBuff( "avenging_wrath", 6 )
- end
- end,
- },
- hammer_of_wrath = {
- id = 24275,
- cast = 0,
- cooldown = function () return 7.5 * haste end,
- gcd = "spell",
- spend = -1,
- spendType = 'holy_power',
- startsCombat = true,
- texture = 613533,
- usable = function () return target.health_pct < 20 or buff.avenging_wrath.up or buff.crusade.up or buff.final_verdict.up end, --Ashen Hollow allows use but does not provide a buff
- handler = function ()
- if buff.final_verdict.up then removeBuff( 'final_verdict' )
- end,
- },
- hand_of_hindrance = {
- id = 183218,
- cast = 0,
- cooldown = 30,
- gcd = "spell",
- spend = 0.1,
- spendType = "mana",
- startsCombat = true,
- texture = 1360760,
- handler = function ()
- applyDebuff( 'target', 'hand_of_hindrance' )
- end,
- },
- hand_of_reckoning = {
- id = 62124,
- cast = 0,
- cooldown = 8,
- gcd = "spell",
- spend = 0.03,
- spendType = "mana",
- startsCombat = true,
- texture = 135984,
- handler = function ()
- applyDebuff( 'target', 'hand_of_reckoning' )
- end,
- },
- holy_avenger = {
- id = 105809,
- cast = 0,
- cooldown = 180,
- gcd = "spell",
- talent = 'holy_avenger',
- toggle = 'cooldowns',
- startsCombat = false,
- texture = 571555,
- handler = function ()
- applyBuff( 'holy_avenger' )
- end,
- },
- inquisition = {
- id = 84963,
- cast = 0,
- cooldown = 0,
- gcd = "spell",
- spend = 0,
- spendType = "holy_power",
- talent = 'inquisition',
- startsCombat = true,
- texture = 461858,
- usable = function () return buff.fires_of_justice.up or holy_power.current > 0 end,
- handler = function ()
- if buff.fires_of_justice.up then
- local hopo = min( 2, holy_power.current )
- spend( hopo, 'holy_power' )
- applyBuff( 'inquisition', 15 * ( hopo + 1 ) )
- return
- end
- local hopo = min( 3, holy_power.current )
- spend( hopo, 'holy_power' )
- applyBuff( 'inquisition', 15 * hopo )
- end,
- },
- judgment = {
- id = 20271,
- cast = 0,
- charges = 1,
- cooldown = function () return 12 * haste end,
- gcd = "spell",
- spend = -1,
- spendType = "holy_power",
- startsCombat = true,
- texture = 135959,
- handler = function ()
- applyDebuff( 'target', 'judgment' )
- if talent.zeal.enabled then applyBuff( 'zeal', 20, 3 ) end
- if set_bonus.tier20_2pc > 0 then applyBuff( 'sacred_judgment' ) end
- if set_bonus.tier21_4pc > 0 then applyBuff( 'hidden_retribution_t21_4p', 15 ) end
- if talent.sacred_judgment.enabled then applyBuff( 'sacred_judgment' ) end
- end,
- },
- justicars_vengeance = {
- id = 215661,
- cast = 0,
- cooldown = 0,
- gcd = "spell",
- spend = function ()
- if buff.divine_purpose.up then return 0 end
- return 5 - ( buff.fires_of_justice.up and 1 or 0 ) - ( buff.the_arbiters_judgment.up and 1 or 0 )
- end,
- spendType = "holy_power",
- startsCombat = true,
- texture = 135957,
- handler = function ()
- if buff.divine_purpose.up then removeBuff( 'divine_purpose' )
- else
- removeBuff( 'fires_of_justice' )
- removeBuff( 'the_arbiters_judgment' )
- end
- end,
- },
- lay_on_hands = {
- id = 633,
- cast = 0,
- cooldown = function () return 600 * ( talent.unbreakable_spirit.enabled and 0.7 or 1 ) end,
- gcd = "off",
- startsCombat = false,
- texture = 135928,
- readyTime = function () return debuff.forbearance.remains end,
- handler = function ()
- gain( health.max, "health" )
- applyDebuff( 'player', 'forbearance', 30 )
- if azerite.empyreal_ward.enabled then applyBuff( "empyreal_ward" ) end
- end,
- },
- rebuke = {
- id = 96231,
- cast = 0,
- cooldown = 15,
- gcd = "off",
- toggle = 'interrupts',
- startsCombat = true,
- texture = 523893,
- debuff = "casting",
- readyTime = state.timeToInterrupt,
- handler = function ()
- interrupt()
- end,
- },
- redemption = {
- id = 7328,
- cast = function () return 10 * haste end,
- cooldown = 0,
- gcd = "spell",
- spend = 0.04,
- spendType = "mana",
- startsCombat = true,
- texture = 135955,
- handler = function ()
- end,
- },
- repentance = {
- id = 20066,
- cast = function () return 1.7 * haste end,
- cooldown = 15,
- gcd = "spell",
- spend = 0.06,
- spendType = "mana",
- startsCombat = false,
- texture = 135942,
- handler = function ()
- interrupt()
- applyDebuff( 'target', 'repentance', 60 )
- end,
- },
- seraphim = {
- id = 152262,
- cast = 0,
- cooldown = 45,
- gcd = "spell",
- talent = 'seraphim',
- toggle = 'cooldowns',
- startsCombat = false,
- texture = 1030103,
- handler = function ()
- applyBuff( 'seraphim' )
- end,
- },
- shield_of_vengeance = {
- id = 184662,
- cast = 0,
- cooldown = 120,
- gcd = "spell",
- startsCombat = true,
- texture = 236264,
- usable = function () return incoming_damage_3s > 0.2 * health.max, "incoming damage over 3s is less than 20% of max health" end,
- handler = function ()
- applyBuff( 'shield_of_vengeance' )
- end,
- },
- templars_verdict = {
- id = 85256,
- cast = 0,
- cooldown = 0,
- gcd = "spell",
- spend = function ()
- if buff.divine_purpose.up then return 0 end
- return 3 - ( buff.fires_of_justice.up and 1 or 0 ) - ( buff.the_arbiters_judgment.up and 1 or 0 )
- end,
- spendType = "holy_power",
- startsCombat = true,
- texture = 461860,
- handler = function ()
- if buff.divine_purpose.up then removeBuff( 'divine_purpose' )
- else
- removeBuff( 'fires_of_justice' )
- removeBuff( 'the_arbiters_judgment' )
- end
- if buff.avenging_wrath_crit.up then removeBuff( "avenging_wrath_crit" ) end
- if talent.righteous_verdict.enabled then applyBuff( 'righteous_verdict' ) end
- if level < 115 and equipped.whisper_of_the_nathrezim then applyBuff( 'whisper_of_the_nathrezim', 4 ) end
- end,
- },
- turn_evil = {
- id = 10326,
- cast = function () return 1.5 * haste end,
- cooldown = 15,
- gcd = "spell",
- startsCombat = false,
- texture = 571559,
- },
- vanquishers_hammer = {
- id = 328204,
- cast = 0,
- cooldown = 30,
- gcd = "spell",
- spend = function ()
- return 1
- end,
- spendType = "holy_power",
- startsCombat = true,
- texture = 3578228,
- handler = function ()
- if buff.judgment.up then removeBuff( 'judgment' )
- },
- wake_of_ashes = {
- id = 255937,
- cast = 0,
- cooldown = 45,
- gcd = "spell",
- spend = -3,
- spendType = 'holy_power',
- startsCombat = true,
- texture = 1112939,
- usable = function ()
- if settings.check_wake_range and not ( target.exists and target.within12 ) then return false, "target is outside of 12 yards" end
- return true
- end,
- handler = function ()
- if target.is_undead or target.is_demon then applyDebuff( 'target', 'wake_of_ashes' ) end
- if level < 115 and equipped.ashes_to_dust then
- applyDebuff( 'target', 'ashes_to_dust' )
- active_dot.ashes_to_dust = active_enemies
- end
- end,
- },
- --[[ wartime_ability = {
- id = 264739,
- cast = 0,
- cooldown = 0,
- gcd = "spell",
- startsCombat = true,
- texture = 1518639,
- handler = function ()
- end,
- }, ]]
- word_of_glory = {
- id = 85673,
- cast = 0,
- gcd = "spell",
- spend = function ()
- if buff.divine_purpose.up then return 0 end
- return 3 - ( buff.fires_of_justice.up and 1 or 0 ) - ( buff.the_arbiters_judgment.up and 1 or 0 )
- end,
- spendType = "holy_power",
- startsCombat = true,
- texture = 133192,
- handler = function ()
- if buff.divine_purpose.up then removeBuff( 'divine_purpose' )
- else
- removeBuff( 'fires_of_justice' )
- removeBuff( 'the_arbiters_judgment' )
- end
- gain( 1.33 * stat.spell_power * 8, 'health' )
- end,
- },
- } )
- spec:RegisterPack( "Retribution""potion_of_focused_resolve",
- package = "Retribution",
- } )
- spec:RegisterSetting( "check_wake_range", false, {
- name = "Check |T1112939:0|t Wake of Ashes Range",
- desc = "If checked, when your target is outside of |T1112939:0|t Wake of Ashes' range, it will not be recommended.",
- type = "toggle",
- width = 1.5
- } )
- end
Add Comment
Please, Sign In to add comment