• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Display Mana Required for spell in percentage

Status
Not open for further replies.
Level 3
Joined
Mar 6, 2010
Messages
36
If a spell required 20% of your base mana, and lets say the base mana was 100. How would I make the mana required display 20 for the 20% mana cost?

I'm not using the "Stats - Mana Cost" I'm using the description to display my mana cost.


Thanks.
 
Level 3
Joined
Mar 6, 2010
Messages
36
Okay thanks, +rep to both of you.

Going to be hard to balance my map without taking a percentage away lol.
 
Level 3
Joined
Mar 6, 2010
Messages
36
You can write into the tootip: "costs 20% of your max mana", and manage the mana cost with triggers

I do that, but that leaves the player unable to know exactly when he can use it or if he can use it.. (unless they wanna whip out a calculator or do the math themselves every time, lol)
 
Status
Not open for further replies.
Top