I've been trying to figure out 'clif_skill_damage' and 'clif_damage' in src\map\clif.c and was wondering if it's possible for it to show damage above 999,999 by showing damage/1000 + "k"
So 1,020,342 damage would show up as 1020k.
Just having it display the number is easy enough, and I just made it show an effect whenever the damage exceeds 1 million, but if anyone knows how I could get it to show the letter at the end, that'd be much appreciated! Or even how I could change the color of the numbers shown.
For reference, I'm using rAthena rev. 15399 and the 2011-06-14b RagexeRE client.
Question
Variant
I've been trying to figure out 'clif_skill_damage' and 'clif_damage' in src\map\clif.c and was wondering if it's possible for it to show damage above 999,999 by showing damage/1000 + "k"
So 1,020,342 damage would show up as 1020k.
Just having it display the number is easy enough, and I just made it show an effect whenever the damage exceeds 1 million, but if anyone knows how I could get it to show the letter at the end, that'd be much appreciated! Or even how I could change the color of the numbers shown.
For reference, I'm using rAthena rev. 15399 and the 2011-06-14b RagexeRE client.
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.