-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Spell Learned" condition is not correctly tracking 'replacement' spells #2214
Comments
Due to some reasons that I don't fully remember, you have to use spell names with the Spell Learned condition. It'll always be true for any extant spellID. I'll see if I can make it work with IDs, but if I remember correctly when I added this condition, there was no API provided by Blizzard that can reliably work for this with ID inputs. If I can't fix it, I'll just make it transform the ID input into a name. |
EDIT: A discord user mentioned a condition icon using spell learned on Sacred weapon did not work. Looks like I missed several solutions to track if sacred weapon can be used (you can derive holy bulwark from that as well). . My testing, on the screenshot Holy Bulward is ready/usable. Bit unhappy that I missed this initially. Can only guess I tried with SpellID instead of name. TMW version: 11.0.5 r10 (g7a86551 |
A discord user mentioned a condition icon using spell learned on Sacred weapon did not work. |
I was also testing on beta. Maybe I'll go farm out a level on my paladin just to validate that I'm not going crazy here. I'm surprised that IsUsableSpell/ reactive checks works - I figured that Blizzard would have just left the other spell as usable (but overridden). I'm also confused that OP found a situation where spell learned doesn't work - it does already transform its input to a spell name if given a spellid, so I suppose it might be not working if the name is changing for the given spellID? I didn't think that could ever happen... |
The icons in the OP work perfectly for me on retail. No difference in behavior from what I saw testing on beta. Freshly logged in as a prot pally with HA talented. I just bumped the unusable opacity so I could see that they're still working when fully on cooldown. hjgjkhgj.mp4I'll leave this open for now in case someone can up with more useful information. |
…w Paladin talents with no way to figure out which spell is active.
Added a Spell Overriden condition since it seems like none of the existing mechanisms seem to work for Ret/Templar/Light's Guidance |
WoW Version
Retail
TellMeWhen Version
11.0.5
Describe the bug
Background:
As a Prot Paladin, when "Holy Armaments" is talented, when the spell "Holy Bulwark" is used, it is replaced by the spell "Sacred Weapon". When "Sacred Weapon" is used, it becomes the "Sacred Weapon" again etc.
While this example calls out specific spells, I believe this bug would be present for any spell where using it replaces the spell with another.
Steps to reproduce:
2a. For Icon A, set the "Spell Learned" condition to FALSE, tracking spellid: 432472 (Sacred Weapon)
3a. For Icon B, set the "Spell Learned" condition to TRUE, tracking spellid: 432472 (Sacred Weapon)
Expected Result
Icon A is visible when Holy Bulwark is available, and is invisible when Sacred Weapon is available
Icon B is visible when Sacred Weapon is available, and is invisible when Holy Bulwark is available
Actual Result
Icon A is NEVER visible, regardless of which of the two spells (Holy Bulwark, Sacred Weapon) are available
Icon B is visible when either of the two spells (Holy Bulwark, Sacred Weapon) are available
Export Strings
The text was updated successfully, but these errors were encountered: