Jump to content
  • 0

Who Know Java Code


MegaCheat

Question

vazw to code auto edw katw

 msg.replace("%crtdmg%", String.valueOf(player.getStat().calcStat(Stats.CRITICAL_DAMAGE, 1, null, null)));

 

alla mou vgazei kapws etsi

https://www.mediafire.com/view/p2eafywy4u4v6po/gg.png/file

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
2 hours ago, MegaCheat said:

vazw to code auto edw katw

 msg.replace("%crtdmg%", String.valueOf(player.getStat().calcStat(Stats.CRITICAL_DAMAGE, 1, null, null)));

 

alla mou vgazei kapws etsi

https://www.mediafire.com/view/p2eafywy4u4v6po/gg.png/file

final DecimalFormat decimalFormat = new DecimalFormat("0.00");
msg.replace("%crtdmg%", decimalFormat.format(your long calcStat here));

you can always change the format

  • Upvote 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock