• 🏆 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!

Internal ability data problem

Status
Not open for further replies.
Level 15
Joined
Jan 27, 2007
Messages
948
Hello everyone.
How do I use the internal ability data?
I can get it to work but it will only display the first data number, like:
Critical strike chance: 1
The numbers that go after the dot doesn't show, like
Critical strike chance: 1.35)

To accomplish that I use "<AOcr:DataA%" for example.

Any help on how to display the red color numbers? (not to be shown in color, but the numbers to be displayed)

The problem with this is that for example if my chance is 0.50% it will say 0

Thanks in advance!
 
Level 15
Joined
Jan 27, 2007
Messages
948
Actually, the crit chance goes up to 100 (the number, not the chance). 0.01 would't be 1%, but 0.01%. And that's what I need, if you have 0.01% it has to be shown as 0.01%, not 0% as it does right now.

That's the actual problem. All numbers that go under 1.00 are shown as 0. Kind of confusing for the user, he may think he has 0% chance to crit when he actually has 0.5% for example
 
Status
Not open for further replies.
Top