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

Error calculating number in item tooltip #304

Open
wodim opened this issue Jun 12, 2021 · 4 comments
Open

Error calculating number in item tooltip #304

wodim opened this issue Jun 12, 2021 · 4 comments
Labels
Feature request i want something that is missing

Comments

@wodim
Copy link
Contributor

wodim commented Jun 12, 2021

https://tcubuntu.northeurope.cloudapp.azure.com/aowow/?item=21647

"Use: Reduces the threat you generate by 70-2*MAX(0,PL-60)% for 20 sec. (3 min cooldown)"

@Sarjuuk
Copy link
Owner

Sarjuuk commented Oct 18, 2021

The formula can not be resolved, because player level (PL) is unknown.

So working as intended.

@Sarjuuk Sarjuuk closed this as completed Oct 18, 2021
@wodim
Copy link
Contributor Author

wodim commented Oct 18, 2021

A feature request could be to add a level slider like items have.

Or default to level 80. That would be infinitely more useful than just showing the formula, imo.

@Sarjuuk
Copy link
Owner

Sarjuuk commented Oct 18, 2021

Setting it at a fixed level 80 would kill the information, that the spell scales with level, so no!

Adapting the level slider for inline formulas should be possible though.

@Sarjuuk Sarjuuk reopened this Oct 18, 2021
@Sarjuuk Sarjuuk added the Feature request i want something that is missing label Oct 18, 2021
@wodim
Copy link
Contributor Author

wodim commented Oct 18, 2021

For example this item requires level 60. So it could say by default "Reduces threat by x% at level 60." There already are tooltips that say (1.71% @ L80) and stuff like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request i want something that is missing
Projects
None yet
Development

No branches or pull requests

2 participants