I want to create a dynamic button tooltip for a damage type spell what deals xxx+(BehaviorStackPoints*xx) damage. The behavior itself doesn't do a thing, I only use it for it's stacks, also the behaviors stack count changes if the player gains a level, or equips a weapon. Now, how can I set the spells button tooltip to a dynamic teyt, what changes when the behavior changes.
I managed to refer to the behaviors minimum point, but I want to refer to the current point.
So I want to make it like when you buy a weapon in LoL and your spells button tooltip changes. I've seen something similar in the "Boss Testing" arcade game too.
If someone could help me, I would really appreciate it.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello!
I want to create a dynamic button tooltip for a damage type spell what deals xxx+(BehaviorStackPoints*xx) damage. The behavior itself doesn't do a thing, I only use it for it's stacks, also the behaviors stack count changes if the player gains a level, or equips a weapon. Now, how can I set the spells button tooltip to a dynamic teyt, what changes when the behavior changes.
I managed to refer to the behaviors minimum point, but I want to refer to the current point.
Here is the current tooltip:
"Deals <d ref="Effect,TestEffectDamage,Amount"/><c val="FF8000">(+<d ref="Behavior,TestBehavior,MinPoints*0.1"/>) </c>damage."
So I want to make it like when you buy a weapon in LoL and your spells button tooltip changes. I've seen something similar in the "Boss Testing" arcade game too.
If someone could help me, I would really appreciate it.