Jump to content
  • 0

[help] Npc level freya


Question

Posted

what command I have to add the script to the NPC level and add that he did not take.

currently this well

 

st.takeItems (ADENA, price1);

player.setExp (player.getStat (). getExpForLevel (play er.getLevel ())) / / sets exp to 0%, if you do not like ppl abusing this by deleveling at 99% exp, delete this line

player.removeExpAndSp (player.getExp () - Experience.LEVEL [player.getLevel () - 1], 0);

player.sendPacket (new CreatureSay (npc.getObjectId (), 0, "Eerie Manager", "Congratulations," player.getName + () + "Has Been Decreased Your level!"));

2 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...

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