Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void SlayerXP(int npc) {
- int[][] id = {{id, xp}};
- String[] name = {"Man","Man","Man","Man","Man","Man"};
- for(int i = 0; i < id.length; i++) {
- if(npc == id[i][0] && name[i].equals(""+NPCTASK+"")) {
- if(TASKAMOUNT > 0) {
- addSkillXP(id[i][1],18);
- } else {
- sendMessage("You've complete your task; Talk to a slayer master to recive another task.");
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment