package net.alcuria.umbracraft.definitions.enemy;

import net.alcuria.umbracraft.annotations.Order;
import net.alcuria.umbracraft.annotations.Tooltip;
import net.alcuria.umbracraft.definitions.Definition;

import com.badlogic.gdx.utils.Array;

public class EnemyDefinition extends Definition {

	public static enum EnemyPositionPreference {
		BACK, FRONT, MIDDLE;
	}

	@Tooltip("The BattleAnimationGroup")
	@Order(3)
	public String animGroup;
	@Tooltip("Secondary stats")
	@Order(7)
	public int atk, matk, def, mdef;
	@Tooltip("The face to use along the turn order table")
	@Order(10)
	public String faceId;
	@Tooltip("Max HP of the monster")
	@Order(5)
	public int hp;
	@Tooltip("Level of the monster")
	@Order(4)
	public int level;
	@Tooltip("The name of the monster")
	@Order(1)
	public String name;
	@Tooltip("The grid position preferences")
	@Order(9)
	public EnemyPositionPreference position;
	public Array<String> skills;
	@Tooltip("Additional percentage-based stats")
	@Order(8)
	public float speed, critical, accuracy, evasion, focus;
	@Tooltip("Base stats")
	@Order(6)
	public int str, wis, vit, agi;
	@Tooltip("The tag, for sorting")
	@Order(2)
	public String tag;

	@Override
	public String getName() {
		return name != null ? name : "Enemy";
	}

	@Override
	public String getTag() {
		return tag != null ? tag : "";
	}

}

@@ -510,16 +510,125 @@
 , mdef;%0A
+%09@Tooltip(%22Drops for the monster%22)%0A%09@Order(301)%0A%09public String commonDrop, uncommonDrop, rareDrop, epicDrop;%0A
 %09@Toolti
@@ -836,16 +836,110 @@
  level;%0A
+%09@Tooltip(%22Approximately how much money the enemy will drop%22)%0A%09@Order(300)%0A%09public int money;%0A
 %09@Toolti

Update monster definition to include loot