@Override
	public int actionOnBoard(Territory territory, int player){
		if(victory){
			if(territory.getFamily()==model.getFamily(player) && territory.getTroup()!=null && territory.getTroup().getTroops()[1]>0){
				territory.getTroup().addToop(0, 0, 1, 0);
				territory.getTroup().rmToop(0, 1, 0, 0);
				numberKnight[0]--;
				if(!family.knightAvailable())  numberKnight[0]=0;
			}
		}else{
			if(territory.getFamily()==model.getFamily(player) && territory.getTroup()!=null && territory.getTroup().getTroops()[2]>0){
				territory.getTroup().addToop(0, 1, 0, 0);
				territory.getTroup().rmToop(0, 0, 1, 0);
				numberKnight[getPlaceOnTrack(player)]--;
				if(!haveKnightOnBoard(model.getFamily(player))) numberKnight[getPlaceOnTrack(player)]=0;
			}
		}
		checkFinish();
		return 0;
	}