Jump to content
  • 0

[HELP]FakeNpc


Question

Posted

I have a problem with Fakenpc need to have a place tittle HP (100% HP)

But write me an error.

 

    [javac] .........................\java\com\l2jserver\gameserver\network\serverpackets\AbstractNpcInfo.java:238: cannot find symbol

    [javac] symbol  : class DecimalFormat

    [javac] location: class com.l2jserver.gameserver.network.serverpackets.AbstractNpcInfo.NpcInfo

    [javac] writeS(fpc.title + " - HP " + new DecimalFormat("#.##").format(100.0 * _npc.getCurrentHp() / _npc.getMaxVisibleHp()) + "%"); // visible title

    [javac]                                                     ^

    [javac] 1 error

 

BUILD FAILED

Total time: 3 seconds

3 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..