177 - Add Inverse to Action Usable
I want to have an texture shown if I have "The Art of War" but not when I can use "Hammer of Wrath", there is "Action Usable" for the Hammer-part but I can't inverse it (only show when "Action is NOT usable"), could you please add it?
I thought of doing it in another way:
I have an extra texture for when "Hammer of Wrath" is usable, can I make something like "only show the Art-Of-War-Texture if the Hammer-Of-Wrath-Texture is not shown" ? That would be a custom trigger, but I can't seem to find an example or any documentation how to do this.
Thanks for all you hard work! Keep it up!!
- 6 comments
- 6 comments
Facts
- Last updated
- May 28, 2011
- Reported
- May 26, 2011
- Status
- Fixed - Developer made requested changes. QA should verify.
- Type
- Enhancement - A change which is intended to better the project in some way
- Priority
- Medium - Normal priority.
- Votes
- 0
- Reply
- #6
Mirrormn May 28, 2011 at 20:24 UTC - 0 likesI don't exactly remember why I avoided adding an Inverse option to the Action Usable trigger. I think it had something to do with the necessity of ignoring global cooldowns. Anyway, this is added in r161.
- Reply
- #5
CommanderSirow May 26, 2011 at 17:04 UTC - 0 likesOkey that makes things a bit more complicated. If WA triggers could be concatenated using combinations of AND and OR it would be easy. (I think its currently that way to have simple trigger-update/re-evaluate rules)
EDIT: Neverwind, took a look at WA code and I was wrong! ^^
- Reply
- #4
Ravengus May 26, 2011 at 16:47 UTC - 0 likesIt's a little more complex than that...
AoW = Art of War Buff
HoW = Hammer of Wrath
is impossible to do without custom triggers or Action unusable.
For the custom trigger I'd need something like IsActionUsable, but this needs the actionbar slot, as well as GetActionCooldown needs an actionbar slot...
- Reply
- #3
CommanderSirow May 26, 2011 at 16:33 UTC - 0 likesI can't quite remember why there was no inverse option on "Action-Usable" but I'm sure there was one. For now uses ccKeeps trick + add additional triggers for "no wings" (aura -> wings -> inverse) and enemy above 20% (status -> health -> "> 20%").
- Reply
- #2
Ravengus May 26, 2011 at 12:06 UTC - 0 likesThe display ccKep describes is "show Texture if Art of War is present and Hammer of Wrath has no cooldown".
I want to have a display "show Texture if Art of War is present and Hammer is NOT usable - either on Cooldown or no Wings or Enemy over 20% where the ability is greyed out (unusable) but not on cooldown".
- Reply
- #1
ccKep May 26, 2011 at 09:41 UTC - 0 likes1. Create a Texture or Icon Display
2. Trigger Configuration
2.1 Main Trigger
- Type: Status
- Status: Cooldown Progress (Spell)
- Spell: Hammer of Wrath
- Inverse: Yes
2.2 Add a second Trigger
- Type: Aura
- Aura(s): The Art of War
- Unit: Player
- Aura Type: Buff
3. At the top:
- Required for Activation: All Triggers