HardstuckGuild / GW2-Tooltips.js

Tooltips.js frontend
1 stars 1 forks source link

Display Derivative Attributes In Tooltips #52

Closed mightyteapot closed 8 months ago

mightyteapot commented 9 months ago

Note: Needs a big brain designer to figure out a good way to do this (it may not be a very good idea)

Various attributes have 'derivative attributes' i.e. 21 Precision = 1% crit, 15 ferocity = 1% crit damage etc. Would be good to display this derivative value alongside the primary value whenever it shows up in tooltips.

SaculRennorb commented 9 months ago

So If a TT sais: "Increases Ferocity by 150" you would like to also show how much crit damage that equates to (" = 10% Crit damage") ?

Seems like a very niche feature to me, should be doable tho. If that is what you are getting at, could you collect a few TT which would be affected by that? I would like to see the range of things that would be affected by this, because right now i can only imagine this being interesting for a handful of traits and that's it.

mightyteapot commented 9 months ago

Examples would be traits/skills that directly modify an attribute such as the guardian staff trait image

or traits that grant an attribute from a buff such as this engineer trait

image

SaculRennorb commented 8 months ago

Ive added this to the lib, but im almost certain this wont catch all cases. Some things the game just did not intend to ever do.

image image

This might get put on more instances than it should. I couldn't find any, but if it does, just open more issues.