This method already should exist in your NPCHandler.java:
Code:
public void handleJadDeath(int i) {
Client c = (Client)PlayerHandler.players[npcs[i].spawnedBy];
c.getItems().addItem(6570,1);
c.sendMessage("Congratulations on completing the fight caves minigame!");
c.getPA().resetTzhaar();
c.waveId = 300;
}
From there you could add and save an integer called something like... jadsKilled and have it increase by one each time Jad is killed so...
In Player.java add
Code:
public int jadsKilled;
In the handleJadDeath void in NPCHandler.java change it to this:
Code:
public void handleJadDeath(int i) {
Client c = (Client)PlayerHandler.players[npcs[i].spawnedBy];
c.getItems().addItem(6570,1);
c.sendMessage("Congratulations on completing the fight caves minigame!");
c.getPA().resetTzhaar();
c.waveId = 300;
c.jadsKilled++;
}