@Override
	public void processAI() {
		if (!move()) {
			goldAdded = true;
			setDead(true);
			GameConfig.player.spendLife();
		}
		for (Effect effect : effects)
			if (modifier != null)
				modifier.inflict(effect, this);
			else
				effect.inflict(this);

		Iterator<Effect> it = effects.iterator();
		while (it.hasNext())
			if (it.next().hasEnd())
				it.remove();

	}