Ok so this is the code i have
Code:
case 13447:
c.getPA().addSkillXP((110000), 0);
c.getPA().addSkillXP((110000), 1);
c.getPA().addSkillXP((110000), 2);
c.getPA().addSkillXP((110000), 3);
c.getPA().addSkillXP((110000), 4);
c.getPA().addSkillXP((110000), 5);
c.getPA().addSkillXP((110000), 6);
c.getPA().refreshSkill(3);
c.getPA().refreshSkill(5);
c.sendMessage("You rub the lamp and you receive some experience!");
c.getItems().deleteItem(13447,1);
break;
When i rub the lamp, my hp stays at like 10 and prayer stays at 1.
Also i've seen ways that people make 'addskillxp' codes much neater but i don't know how to do it.
Thanks.