People gain pk points when they get killed by a boss..
How can I stop this ? So they only get pkpoints when killing someone in wildy

Code:
public void applyDead() {    
        c.respawnTimer = 10;
        c.isDead = false;
        if(c.duelStatus != 6) {
            //c.killerId = c.getCombat().getKillerId(c.playerId);
            c.killerId = findKiller();
            Client o = (Client) Server.playerHandler.players[c.killerId];
            if(o != null) {
                if(!(c.npcIndex > 0) && c.inPits == false){
                }
                if (c.killerId != c.playerId)               
                o.sendMessage("You have defeated "+Misc.optimizeText(c.playerName)+"!");
                                if(c.inWild() && o.npcIndex > 1 && c.wildLevel > 0 || !c.isInArd() || !c.isInFala() || !c.isInPbox() || !c.inFunPk()){
                                        o.pkPoints += 1;
                                        o.sendMessage("You have received 1 PK Point.");
                                }
                                
                c.playerKilled = c.playerId;
                if(o.duelStatus == 5) {
                    o.duelStatus++;
                }
            }
        }
        c.poisonDamage = 0;
        c.faceUpdate(0);
			EventManager.getSingleton().addEvent(new Event() {
				public void execute(EventContainer b) {
		c.npcIndex = 0;
		c.playerIndex = 0;
				b.stop();
				}
				}, 2500);
		c.stopMovement();
        if(c.duelStatus <= 4) {
            c.sendMessage("Oh dear you are dead!");
        } else if(c.duelStatus != 6) {
            c.sendMessage("You have lost the duel!");
        }
        resetDamageDone();
        c.specAmount = 10;
        c.getItems().addSpecialBar(c.playerEquipment[c.playerWeapon]);
        c.lastVeng = 0;
        c.vengOn = false;
        resetFollowers();
        c.attackTimer = 10;
	removeAllWindows();
	c.tradeResetNeeded = true;
  	}
thanks if you help