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..
Question
aguiaextrema
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 accountSign in
Already have an account? Sign in here.
Sign In Now