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
Messed with configs for hours, but nothing changed until I tried splitting the slots differently and testing with just a few items first. Kind of like checking what actually works before going full scale. Came across https://www.mega888reviews.com/ while taking a break, and reading through their simple, clear tips made me think maybe less complicated approaches often work best.
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