-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add warnings if skill cost exceeds avilable resource #5019
Conversation
a warning for when LifeCost or ManaCost is higher than avilable pool.
Co-authored-by: QuickStick <[email protected]>
…ilding into manausagewarning
Text warning for life/energy shield now doesn't seem to appear. Everything else seems fine. |
@QuickStick123 I assumed other costs would be in the top level of the cache table too but that was not the case. 946c47e should fix it. Thanks for the help. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM the only remain issue is output.Rage doesn't exist in current dev.
This can be added here as well or can just wait until #5011 is merged. Up to you.
@QuickStick123 I made it default to 0 if output.Rage is nil so i think it's fine if it stays separate. |
This will need a couple fixes for conflicts generated by #5199 being merged |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes #4998 .
Description of the problem being solved:
Currently there is no warning that a skill uses more life/mana/Es/Rage than is available. This pr also stops auras from not applying their effects even though reservation is applied even when above possible reservation.
Note that this pr makes triggered skills get cached. This may or may not cause issues with some calculations but i was not able to find any issues.
Steps taken to verify a working solution:
Before screenshot:
After screenshot: