Skip to content
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

[Balance] Issue to predict NewMoon #67

Closed
Kutikuti opened this issue Oct 25, 2017 · 5 comments
Closed

[Balance] Issue to predict NewMoon #67

Kutikuti opened this issue Oct 25, 2017 · 5 comments
Assignees

Comments

@Kutikuti
Copy link
Contributor

The artifact spell of balance is New Moon which cycle between NewMoon > HalfMoon > FullMoon > NewMoon >...
When you cast one you pass to the next one.
and the spell has 3 charges, but that's 3 considered different spells (202767, 202768, 202771), and everything charges/coodown/... is stored in New moon.
So, to determine the next spell to cast, I have a temp var that's called nextMoon where i store the next spell based on what i'm currently casting.
See here
AethysRotation - WoW Addon - Attempt to provide the useful and precise informations to execute the best possible DPS rotation in every situation.

The problem is :
When the player is casting Full Moon, the next spell is New Moon, so in nextMoon I have new moon.
BUT
newMoon is the ability tha you have in the codex and it switches it's icon by itself between the spells.
So, when I am casting fullMoon, nextmoon becomes newmoon
BUT
NewMoon still has the icon of FullMoon.

What i want is to tell the player taht when he is casting full moon, his next moon will be new moon but I can't do that...
I tried finding other spells with the same icon as new moon but that doesn't work
Everything works well for the rest because i can force cast HalfMoon and Fullmoon because that's different spells that stays with their icons

@Kutikuti Kutikuti self-assigned this Oct 25, 2017
@Kutikuti Kutikuti changed the title [Balance] [Balance] Issue to predict NewMoon Oct 25, 2017
@aethys256
Copy link
Member

You'll have to force a texture clear :) That should update it.
The cache does cache each texture, although I'll probably remove this really soon since it's probably not a performance gain (need to double check).

@Kutikuti
Copy link
Contributor Author

I don't think it's a cache problem. The thing is, Full moon hasn't finished casting, so it's normal for the New Moon icon to still show Full Moon. Is there a way to force a specific icon on a Spell ?

@chrislopez24
Copy link
Contributor

Did you try to maybe use CastAnnotate? It was added by Kojiyama iirc and allow to label an icon with text

@Kutikuti
Copy link
Contributor Author

I could but this would not solve the issue

@Kutikuti
Copy link
Contributor Author

Solved with ba82ef3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants