Code:killer.waterfiends--;
|
I'm trying to make it so when you kill an npc it takes
down toCode:killer.waterfiends = 50;
This is what I have.Code:killer.waterfiends = 49;
Currently when I kill one it doesn't go down to 49. It goes to -1 is what I'm guessing. What do I put instead of:Code:if (id == 5361 && killer.waterfiends > 0) { killer.getSkills().addXp(Skills.SLAYER, 6000); killer.waterfiends = -1; return; }
?Code:killer.waterfiends = -1;
Thanks.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |