K I found a post from Rileystarcraft, that I can't find again for some reason...I have been digging around in here all day. In it was a line of code I guess or something like that, which you can put into a buttons tooltip and the raw text will appear in game as the amount of damage the effect does.
The code was and I am going to try to get this as right as I can. "<d ref="Effect,EffectName,Amount"/> and that works it makes the damage show up where ever that text is.
Issue, via a behavior named Levels, of Veterancy type, in the veterancy levels+ field I have it set so that each level the player gains X% increase to all types of damage done, spell, ranged, melee, and splash. This effects any and all weapons, abilities or effects caused by that player it works really great for only having 1 - 2 leveling systems, 1 for shieldless and 1 for with shields, so you don't have to have a different one for each weapon or hero depending on their attack speed dps etc... anyway it works cool for making everything scale together nicely. My weapons tooltips automatically update themselves through the default system I guess, but what I was wondering is if anyone knows a little line of text like the one above that will insert the modified damage into the tooltip?
The tooltips pull data from the catalog, not any particular unit. So it's not possible for them to dynamically update based on the state of the unit's behavior - only global upgrades will change the values. Sorry :(
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
K I found a post from Rileystarcraft, that I can't find again for some reason...I have been digging around in here all day. In it was a line of code I guess or something like that, which you can put into a buttons tooltip and the raw text will appear in game as the amount of damage the effect does.
The code was and I am going to try to get this as right as I can. "<d ref="Effect,EffectName,Amount"/> and that works it makes the damage show up where ever that text is.
Issue, via a behavior named Levels, of Veterancy type, in the veterancy levels+ field I have it set so that each level the player gains X% increase to all types of damage done, spell, ranged, melee, and splash. This effects any and all weapons, abilities or effects caused by that player it works really great for only having 1 - 2 leveling systems, 1 for shieldless and 1 for with shields, so you don't have to have a different one for each weapon or hero depending on their attack speed dps etc... anyway it works cool for making everything scale together nicely. My weapons tooltips automatically update themselves through the default system I guess, but what I was wondering is if anyone knows a little line of text like the one above that will insert the modified damage into the tooltip?
Any help is greatly appreciated.
The tooltips pull data from the catalog, not any particular unit. So it's not possible for them to dynamically update based on the state of the unit's behavior - only global upgrades will change the values. Sorry :(