EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Featured Projects > ProfitUI

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 03-24-2014, 04:05 PM
PrincessAriel PrincessAriel is offline
A Fallen Diplomat
 
Join Date: Mar 2006
Server: Antonia Bayle
Posts: 54
Default Variant-Click to Cure method

I was going through the variants today and saw something new called Click to Cure Method...what is this and what is it for?
Reply With Quote
  #2  
Unread 03-24-2014, 05:43 PM
tknarr's Avatar
tknarr tknarr is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Jul 2006
Server: Unrest
Posts: 849
Default

The normal method ProfitUI and most other UIs use for group/raid window cure buttons is the /useabilityonplayer command. For healer classes with a cure spell that's fine, there's only one numeric spell ID to code for and the cure's almost always available since it's a fast recast. But when it comes to cure potions, there's multiple IDs and the UI has to list them in order and hope you don't have two different types of cure potions in your inventory. And if you have a cure spell on a slow recast (like mages) and need to self-cure using a potion only if your cure's down, the UI can't code for that. So there's cases where the normal /useabilityonplayer UI code may not be optimal.

SOE introduced a /cureplayer command a while back. Unlike /useabilityonplayer, it doesn't need a spell or potion ID. It knows what cures each class has, knows the IDs of the potions, and automatically uses the best one. The downside is that it's too specific for healers. With /useabilityonplayer a healer just has to click somewhere in the cure buttons and their cure will cast. With /cureplayer the healer has to click an active detriment icon, eg. if you click on the trauma icon when your target only has a noxious and arcane detriment active /cureplayer won't fire off a cure.

I wanted support for /cureplayer as an alternative to having to keep the cure item ID lists up-to-date, but I didn't want to force anyone to change to it. So I added it as a variant. By default you get the method Profit's always used. If you're familiar with /cureplayer and think it fits better (and it may if you're a class that needs to use potions to self-cure), you can switch to that variant.
__________________
"Hey! I'm not illiterate. I had a book once. ...could've used some ketchup though..."
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Forum Jump


All times are GMT -5. The time now is 02:37 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI