public void refreshBonuses() {
		bonuses = new int[18];
		for (Item item : player.getEquipment().getItems().getItems()) {
			if (item == null)
				continue;
			int[] bonuses = ItemBonuses.getItemBonuses(item.getId());
			if (bonuses == null)
				continue;
			for (int id = 0; id < bonuses.length; id++) {
				if (id == 15 && this.bonuses[id] != 0)
					continue;
				this.bonuses[id] += bonuses[id];
			}
		}
	}