@Override
	public void damage(int damage, IDamageSource source) {
		if(this instanceof IArmored) {
			((IArmored)this).damageArmor(damage);
			this.health-=(int)Math.floor(((IArmored)this).getProtection()*damage);
		} else {
			this.health -= damage;
		}
		
		if(this.health <=0f) {
			this.kill(source);
		}
	}