Quantcast Retribuition Paladin Templar's Verdict ready - WoWInterface
Thread Tools Display Modes
02-17-18, 01:14 AM   #1
A Wyrmkin Dreamwalker
Join Date: Feb 2018
Posts: 59
Retribuition Paladin Templar's Verdict ready

Hello everyone

As you may know I have been writing an addon that provides on-screen prompts for the next best action and on the Retribution Paladin I am having trouble telling when Templar's Verdict is available.

Using :

local playerTemplarsVerdictST, playerTemplarsVerdictDuration, playerTemplarsVerdictEnabled = GetSpellCooldown(85256);

tells us that it is always enabled, and mostly off cooldown (ST and Duration are both 0) except when we are in a GCD.

But it does not tell me when it can be used, when it "procs" so to speak.

I could check Holy Power and at 3 or over I would assume that Templar's Verdict is available. And if you have the "The Fires of Justice" and it has proc'ed (check the buff with the same name) then it is 2 Holy Powers needed only.

But this is a kludgy way to do it, is there another way to tell me that I can use Templar's Verdict without worrying about Holy Power, just like it lights up the button on the actionbar?
  Reply With Quote
02-17-18, 03:46 AM   #2
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
  Reply With Quote
02-19-18, 02:49 PM   #3
A Wyrmkin Dreamwalker
Join Date: Feb 2018
Posts: 59
Thanks, that did it.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Retribuition Paladin Templar's Verdict ready

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off