Ovale Spell Priority and Tankadins 4.2
Moderators: Fridmarr, Worldie, Aergis, _Chloe
4 posts
• Page 1 of 1
Ovale Spell Priority and Tankadins 4.2
All.
I'm trying to update the stock Ovale Spell Priority code to include Theck's Rotation of:
(SotR if Sacred Duty or Inquisition active)>Inq>CS>AS>J.
I've got the Inq>CS>AS>J down.
My problem is the conditional "SotR if Sacred Duty or Inquisition active" if not then Inquisition.
Here is the pertinent stock code:
My Attempt at modifying it:
The problem with my attempt is this: Its not recognizing the X And (Y or Z) its doing it as (X and Y) or Z.
Anybody have any idea on how to do this??
Thanks
Eroslight
I'm trying to update the stock Ovale Spell Priority code to include Theck's Rotation of:
(SotR if Sacred Duty or Inquisition active)>Inq>CS>AS>J.
I've got the Inq>CS>AS>J down.
My problem is the conditional "SotR if Sacred Duty or Inquisition active" if not then Inquisition.
Here is the pertinent stock code:
- Code: Select all
if CheckBoxOff(aoe)
{
if HolyPower(more 2) Spell(SHIELDOFTHERIGHTEOUS)
Spell(CRUSADERSTRIKE)
}
My Attempt at modifying it:
- Code: Select all
{
if HolyPower(more 2) and BuffDuration(SACREDDUTY more 0) or BuffDuration(INQUISITION more 0) Spell(SHIELDOFTHERIGHTEOUS)
if HolyPower(more 2) Spell(INQUISITION)
Spell(CRUSADERSTRIKE)
}
The problem with my attempt is this: Its not recognizing the X And (Y or Z) its doing it as (X and Y) or Z.
Anybody have any idea on how to do this??
Thanks
Eroslight
- Eroslight
- Posts: 152
- Joined: Mon Dec 10, 2007 12:17 am
Re: Ovale Spell Priority and Tankadins 4.2
try to parenthize the Y or Z part? like this:
- Code: Select all
{
if HolyPower(more 2) and (BuffDuration(SACREDDUTY more 0) or BuffDuration(INQUISITION more 0)) Spell(SHIELDOFTHERIGHTEOUS)
if HolyPower(more 2) Spell(INQUISITION)
Spell(CRUSADERSTRIKE)
}
-

RedAces - Posts: 500
- Joined: Tue Dec 01, 2009 9:39 am
- Location: Germany
Re: Ovale Spell Priority and Tankadins 4.2
Doesn't Like it - I just Broke it up into two "AND" statements which works.
- Eroslight
- Posts: 152
- Joined: Mon Dec 10, 2007 12:17 am
Re: Ovale Spell Priority and Tankadins 4.2
Can I see your string?
The Element of Forum Hyperbole

---
Flüttershy - Draenei Protection Paladin, Aerie Peak
Klaudandus - BE Protection Paladin, Feathermoon (Semi-retired)

---
Flüttershy - Draenei Protection Paladin, Aerie Peak
Klaudandus - BE Protection Paladin, Feathermoon (Semi-retired)
-

Klaudandus - Posts: 9036
- Joined: Thu Apr 02, 2009 7:08 am
- Location: Texas' Armpit
4 posts
• Page 1 of 1
Return to Add-ons, UI, and Macros
Who is online
Users browsing this forum: No registered users and 4 guests
