Why does the add-on not reconize Final Verdict

3 posts Page 1 of 1
Rangernevada
Posts: 1
Joined: 08 Jan 2021, 22:47


The add-on keeps saying Templar Verdict not on action bar, it was upgraded to Final verdict
blacktiger1974
Posts: 5
Joined: 07 Jan 2021, 09:06


08 Jan 2021, 22:51Rangernevada wrote:
The add-on keeps saying Templar Verdict not on action bar, it was upgraded to Final verdict
Have exactly the same question after The Final Verdict legendary equipment.
Seems like this add-on is already dead and abandoned be the author.
Shame...
Fratscha
Posts: 1
Joined: 14 Apr 2022, 17:19


It is really not that hard to fix.

Within the addon folder, there is a file called Retribution.lua. You can simply add the FinalVerdict Spell to the rotation.
After line 20 add "FinalVerdict = 336872,". In Line 85-87 change the Name from TemplarsVerdict to FinalVerdict. Save the file and be sure to not have a active WoW during changing this.

What you have done, is that you have told MaxDPS the new name of FinalVerdict, and that MaxDPS should use that instead of TemplarsVerdict.

That easy :)

Or copy that in a text file with the name Retribution.lua:

Beginn of text to copy (do not copy the hashtags, just what is inside):
#########################
local _, addonTable = ...;

--- @type MaxDps
if not MaxDps then return end

local Paladin = addonTable.Paladin;
local MaxDps = MaxDps;
local UnitPower = UnitPower;
local HolyPower = Enum.PowerType.HolyPower;
local RT = {
Rebuke = 96231,
ShieldOfVengeance = 184662,
AvengingWrath = 31884,
Inquisition = 84963,
Crusade = 231895,
ExecutionSentence = 343527,
ESTalent = 23467,
DivineStorm = 53385,
DivinePurpose = 223817,
TemplarsVerdict = 85256,
FinalVerdict = 336872,
HammerOfWrath = 24275,
WakeOfAshes = 255937,
BladeOfJustice = 184575,
Judgment = 20271,
JudgmentAura = 197277,
Consecration = 26573,
CrusaderStrike = 35395,
DivineRight = 277678,
RighteousVerdict = 267610,
EmpyreanPower = 326732,
HolyAvenger = 105809,
Seraphim = 152262,
FinalReckoning = 343721,
SelflessHealer = 85804,
FlashOfLight = 19750,
};
setmetatable(RT, Paladin.spellMeta);

function Paladin:Retribution()
local fd = MaxDps.FrameData;
fd.targets = MaxDps:SmartAoe();
local holyPower = UnitPower('player', HolyPower);
fd.holyPower = holyPower;
local cooldown = fd.cooldown;
local buff = fd.buff;
local debuff = fd.debuff;
local talents = fd.talents;
local targets = fd.targets;
local gcd = fd.gcd;
local targetHp = MaxDps:TargetPercentHealth() * 100;
local health = UnitHealth('player');
local healthMax = UnitHealthMax('player');
local healthPercent = ( health / healthMax ) * 100;

-- Essences
MaxDps:GlowEssences();

-- Cooldowns
MaxDps:GlowCooldown(RT.FlashOfLight, talents[RT.SelflessHealer] and buff[RT.SelflessHealer].count > 3 and healthPercent < 80);

if talents[RT.Crusade] then
MaxDps:GlowCooldown(RT.Crusade, cooldown[RT.Crusade].ready);
else MaxDps:GlowCooldown(RT.AvengingWrath, cooldown[RT.AvengingWrath].ready);
end

if talents[RT.FinalReckoning] and holyPower >=3 then
MaxDps:GlowCooldown(RT.FinalReckoning, cooldown[RT.FinalReckoning].ready);
end

if talents[RT.HolyAvenger] then
MaxDps:GlowCooldown(RT.HolyAvenger, cooldown[RT.HolyAvenger].ready);
end

--- Spenders
if talents[RT.Seraphim] and cooldown[RT.Seraphim].ready and holyPower >=3 then
return RT.Seraphim;
end

if talents[RT.ExecutionSentence] and holyPower >= 3 and cooldown[RT.ExecutionSentence].ready then
return RT.ExecutionSentence;
end

if holyPower >= 3 and targets <= 2 then
return RT.FinalVerdict;
elseif buff[RT.DivinePurpose].up then
return RT.FinalVerdict;
end

if holyPower >= 3 and targets >= 3 then
return RT.DivineStorm;
end
-- Generators
if cooldown[RT.WakeOfAshes].ready and holyPower <= 2 then
return RT.WakeOfAshes;
end

if cooldown[RT.BladeOfJustice].ready then
return RT.BladeOfJustice;
end

if targetHp <= 20 and cooldown[RT.HammerOfWrath].ready then
return RT.HammerOfWrath;
end

if cooldown[RT.Judgment].ready then
return RT.Judgment;
end

if cooldown[RT.CrusaderStrike].ready then
return RT.CrusaderStrike;
end

if cooldown[RT.Consecration].ready then
return RT.Consecration;
end
end
###########################################
End of Text to copy
3 posts Page 1 of 1
drogie łóżka stolik kawowy stół dębowy rozkładany