HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Changing Item and Ability Description

05-02-2005, 01:50 AM#1
DarkMage
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.
05-02-2005, 11:57 AM#2
divine_peon
well, you can type it directly to the tooltip
05-02-2005, 04:27 PM#3
Ant
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.
05-02-2005, 11:48 PM#4
DarkMage
oh, well thanks then.
This place is way over rated.
05-03-2005, 03:49 AM#5
Ignitedstar
Isn't all trigger-related(obviously)?

Do you mean having more then 2 things to do when you try to make a formula with triggers?
05-03-2005, 12:54 PM#6
DarkMage
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.
05-03-2005, 01:39 PM#7
Anitarf
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.
05-03-2005, 03:25 PM#8
DarkMage
Dang! Thats so wrong! Thank you for the information.
05-03-2005, 06:23 PM#9
StealthFox
It works with the research tooltips so it should work in theory....I'll try and see if I can get it to work.