How do you set the description (ToolTip realy) to display a short mathmaticle formula.
what I mean is... If the ability FireBolt does 5 damage on its own then with triggers deals an extra amount based on the casters Int, how would I show that on the decription of the ability?
would it be somthing like: Deals <add(5+(intenger(casting units current Int)))> damage to target unit.
Yah. I think the simplest most direct way is to type it into the tooltip. As in type "5 + your current intelligence". I think there was a thread about this recently, and I think the conclusion was that it wasn't very possible to dynamically change tooltips. So just say "5 + your intel" and that's good.
No no, I mean that I want the spell to do damage based on the heros Int. That I can do simply. What im asking is how can I display that in the tooltop of the spell?
Say if the hero has 12 int then the tooltip of Fire Bolt will say it does 120 (10*12) damage.
Then if he buys a tome or gets a rob that +int then the damage will go up.
Can't be done, engine limitations. Sorry. The only way to bypass it would be to make a different version/level of the spell for each damage. That would be only possible in a mod with very low stat values.