Download
(6Kb)
Download
Updated: 02-12-09 07:49 PM
Pictures
File Info
Updated:02-12-09 07:49 PM
Created:12-05-08 11:48 PM
Downloads:3,812
Favorites:21
MD5:

Whack

Version: 0.7
by: Naitaeti [More]

Whack is an addon for managing the so-called 969 tps/dps rotation for protection paladins by showing a vertical list of spell icons ordered by the cooldown availability and priority.

The addon supports ButtonFacade for beautifying the ability icons and OmniCC can be used for showing the time remaining for the ability to become available.

The plan is to make this addon more generic and support all kinds of rotations and/or overlapping cooldowns for all classes.

Configurable by editing the .lua file.

Inspiration drawn from Questioner over at the Maintankadin forums.

-- Known issues

- Only works for lvl80 prot paladins
- Requires 1/2 imp Judgement
- Will likely show errors if the paladin respecs from prot to ret or holy, and requires an ui reload (but won't show errors) when respecing from ret or holy to prot

-- Changelog

0.7
- Adjust the buff time of Seal of Corruption / Vengeance to 30 minutes

0.6
- Added slash commands for moving and scaling the frame (needs a UI reload to take effect)
- Internal rewrite of parts of the priority code to make it easier to add other classes / specs

0.5
- Fixed the new expiry time not being updated when recasting an ability before the old expiry time is up (i.e. when casting SoCorr before the old buff runs out)

0.4
- Fixed an issue where the buttons would keep updating as if the gcd just expired. This seemed to happen more often when spamming the abilities
- Refactored the code to make it more maintainable

0.3
- Addon name change

0.2
- Properly adhere to the rotation, previous version would show Holy Shield and Consecration as the best ability to use too early

0.1
- Initial version

Optional Files (0)


Post A Reply Comment Options
Unread 03-09-09, 05:49 PM  
Ceetos
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
is it possible to order the buttons horizontal insted of vertical ?

a great addon .. thanks for it

mfg Ceetos
Report comment to moderator  
Reply With Quote
Unread 02-19-09, 03:48 AM  
Sarkan-ZdC
A Wyrmkin Dreamwalker

Forum posts: 57
File comments: 93
Uploads: 0
Originally posted by Naitaeti
Assuming I can query for glyphs from the addon (probably can, but I've never checked) then this should be doable. I'll look into this one of the upcoming days. Not sure what spell to replace though, conc or hotr perhaps.
Toggle would be enough for me. Like

/whack shield on or so

I usually replace a Conc, it is so damn mana intensive anyhow
Report comment to moderator  
Reply With Quote
Unread 02-18-09, 09:49 AM  
Naitaeti
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 38
Uploads: 6
Originally posted by Sarkan-ZdC
Hey, I have glyphed Avenger's Shield. The Glyphe does double Damage but no bounce. The Shield is therefore the second hightes aggro move I have. Possible to implement that also in the rotation?
Assuming I can query for glyphs from the addon (probably can, but I've never checked) then this should be doable. I'll look into this one of the upcoming days. Not sure what spell to replace though, conc or hotr perhaps.
Report comment to moderator  
Reply With Quote
Unread 02-15-09, 12:45 PM  
Sarkan-ZdC
A Wyrmkin Dreamwalker

Forum posts: 57
File comments: 93
Uploads: 0
Hey, I have glyphed Avenger's Shield. The Glyphe does double Damage but no bounce. The Shield is therefore the second hightes aggro move I have. Possible to implement that also in the rotation?
Report comment to moderator  
Reply With Quote
Unread 02-11-09, 12:24 PM  
Naitaeti
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 38
Uploads: 6
Originally posted by gmillerd
maybe something akin to this would work
Yes, that would work. With the new spell checking code I added in my last uploaded version you wouldn't even need the level check, as it checks if the spells in the rotation actually exists in the spell book.

However, I remain unconvinced that the addon should have rotations for levels < 80. But if I ever get around to making the rotation configurable by the user without modifying the lua code then this won't be an issue anymore.
Last edited by Naitaeti : 02-11-09 at 12:25 PM.
Report comment to moderator  
Reply With Quote
Unread 02-10-09, 11:13 AM  
gmillerd
A Deviate Faerie Dragon

Forum posts: 16
File comments: 14
Uploads: 0
Originally posted by Naitaeti
The addon uses spell ids for determining what spell that should be used, and each spell rank has it's own spell id. And Rank 2 of Shield of Righteousness for instance is available first at lvl80. The same goes for other spells as well.
maybe something akin to this would work

Code:
local level = UnitLevel("player");

if level == 80 then

   -- spells in the rotation at 80                                                                        
   priorities = {
      { spell = corrid, pri = 1, wait = 120 },     -- seal of corr                                        
      { spell = 48952,  pri = 2, wait = 9},        -- holy shield (rank 8)                                
      { spell = 61411,  pri = 3 },                 -- shor (rank 2)                                       
      { spell = 20271,  pri = 4 },                 -- judgement of light                                  
      { spell = 53595,  pri = 5 },                 -- hotr                                                
      { spell = 48819,  pri = 6, wait = 9 },       -- cons (rank 8)                                       
   }

elseif level >= 75 then

   -- spells in the rotation at 75+                                                                       
   priorities = {
      { spell = corrid, pri = 1, wait = 120},
      { spell = 48951,  pri = 2, wait = 9}, -- 75 hs / rank 5                                             
      { spell = 53600,  pri = 3},           -- 75 sor / rank 1                                            
      { spell = 20271,  pri = 4 },          -- judgement of light                                         
      { spell = 53595,  pri = 5 },          -- hotr                                                       
      { spell = 48818,  pri = 6, wait = 9}, -- con rank 7                                                 
   }

end




--[[-------------------------------------------------------------------------------                       
Code                                                                                                      
---------------------------------------------------------------------------------]]                       

local _, class = UnitClass("player")
if class ~= "PALADIN" or level <75 then
   DEFAULT_CHAT_FRAME:AddMessage("Whack currently only works for prot paladins of 75 level or higher")
   DisableAddOn("Whack")
   return
end
Report comment to moderator  
Reply With Quote
Unread 02-04-09, 07:50 AM  
Naitaeti
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 38
Uploads: 6
Originally posted by gmillerd
Why only 80? Why not 75+ At 75 is when a Prot Paladin has SoR and HotR assuming they are ?/51+/?
The addon uses spell ids for determining what spell that should be used, and each spell rank has it's own spell id. And Rank 2 of Shield of Righteousness for instance is available first at lvl80. The same goes for other spells as well.
Report comment to moderator  
Reply With Quote
Unread 02-03-09, 10:22 AM  
gmillerd
A Deviate Faerie Dragon

Forum posts: 16
File comments: 14
Uploads: 0
Why only 80? Why not 75+ At 75 is when a Prot Paladin has SoR and HotR assuming they are ?/51+/?
Report comment to moderator  
Reply With Quote
Unread 01-08-09, 10:09 PM  
Naitaeti
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 38
Uploads: 6
Originally posted by Malizzar
Ok how do you move it?
You'll need to modify the .lua code. Open the core.lua file in a text editor, look for the two lines close to the top of the file that reads

Code:
local xpos   = 1440
local ypos   = 503
and change the numbers to the X and Y position you want the buttons to be located at. You may have to experiment a bit until you find a suitable location unless you're familiar with your UI scale / geometry and how the X and Y position relates to these, but it isn't hard.
Report comment to moderator  
Reply With Quote
Unread 01-08-09, 06:06 PM  
Malizzar
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Ok how do you move it?
Report comment to moderator  
Reply With Quote
Unread 01-05-09, 05:16 PM  
katana
A Cyclonian
 
katana's Avatar

Forum posts: 47
File comments: 30
Uploads: 0
Errr stupid question, but... how do you move it ?

NM, found it
__________________
Calthas, member of Omega on Sargeras.
Holy Devoted Paladin.
Last edited by katana : 01-05-09 at 05:17 PM.
Report comment to moderator  
Reply With Quote
Unread 01-01-09, 07:02 PM  
Naitaeti
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 38
Uploads: 6
Originally posted by Peculator
I'm a Paladin that reads the maintankadin forum and have recently started using this addon. It's excellent for keeping the flow going when you have dropped out of a proper 96969 rotation because of GCD's used on other stuff such as taunting. Reminder to re-seal also works wonders.
Nice to hear it's useful for other people as well!
Report comment to moderator  
Reply With Quote
Unread 12-31-08, 11:15 AM  
Peculator
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
I'm a Paladin that reads the maintankadin forum and have recently started using this addon. It's excellent for keeping the flow going when you have dropped out of a proper 96969 rotation because of GCD's used on other stuff such as taunting. Reminder to re-seal also works wonders.
Report comment to moderator  
Reply With Quote
Unread 12-06-08, 10:42 AM  
Oakayam
Premium Member
 
Oakayam's Avatar

Forum posts: 40
File comments: 136
Uploads: 0
The plan is to make this addon more generic and support all kinds of rotations and/or overlapping cooldowns for all classes.
cheers

Keep up the good work =^.^=
I'm also waiting for druid support.
__________________
Report comment to moderator  
Reply With Quote
Unread 12-06-08, 05:56 AM  
o_o
A Kobold Labourer

Forum posts: 0
File comments: 40
Uploads: 0
Nice addon idea.
I'll really love to see it extended to somehow support dps druid rotation.

Keep the good work ^^
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: