search it on the forums.
There's been an achievement system released a few weeks ago, it's on the first 3 pages..
|
Hi just wondering how to make a npc give a certaint amount of points when u kill it. Thanks!
search it on the forums.
There's been an achievement system released a few weeks ago, it's on the first 3 pages..
Oh, thought that system would give you points for killng one
o,o
Just look for the gwd monsters, that give u killcount when you kill them.
Then make new token in playerSave.
and make it save to that variable :0
c.method_here += 1; npchandler.java under
Code:public void dropItems(int i) { int npc = 0; //long start = System.currentTimeMillis(); Client c = (Client)Server.playerHandler.players[npcs[i].killedBy]; if(c != null) { here add something like this if (npcs[i].npcType == 912) c.Method_here += 1;
What if he rewrote the drop system?
simple way to do it is just do something like
in CombatAssistant under Attacking NpcsCode:if (Server.npcHandler.npcs[i].isDead && Server.npcHandler.npcs[i].npcType == ####) { //Replace #### with npc ID c.#### += 1; //Replace #### with name of your points i.e. slayerPoints }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |