protected int getAttackPoints() {
		int item_att_pts = 0, nitems, atk = 0, item_range_pts=0;
		nitems = showMyItems().getTotalSpace()
				- showMyItems().getAvailableSpace();
		for (int i = 0; i < nitems; i++) {
			if (showMyItems().searchItem(i).getUsing() == true) {
				item_att_pts = item_att_pts
						+ showMyItems().searchItem(i).getAttackPts();
			}
		}
		
		for (int i = 0; i < nitems; i++) {
			if (showMyItems().searchItem(i).getUsing() == true) {   //somente calcula os pontos dos items equipados
				item_range_pts = (int) ((int) item_range_pts + showMyItems().searchItem(i).getRange());
			}
		}
		
		atk = (int) ((strength * .5 + dexterity * .3 + speed * .2) + item_att_pts)
				* (XP / 3);
		atk = (int) (atk + item_range_pts/2);


		return atk;

	}