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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...