@Override
	public void onEntityHit(Player p, MapObject mo) {

		int bonus = 0;
		if(p.invArmor.getStackInSlot(3) != null){
			ItemTool weapon = (ItemTool) p.invArmor.getStackInSlot(3).getItem();
			bonus = weapon.getAttackDamage();
		}

		health -= p.getAttackDamage() + bonus;

	}