package net.alcuria.umbracraft.definitions.skill;

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

import com.badlogic.gdx.utils.Array;

public class SkillDefinition extends Definition {

	@Tooltip("The multiplier of the base damage")
	public float damageMultiplier;
	@Tooltip("The cost to use the skill, in EP")
	public int epCost;
	@Tooltip("The icon to use for the skill")
	public String iconId;
	public float maxPercentageCost;
	@Tooltip("The name of the skill")
	public String name;
	@Tooltip("The targets of the skill, relative to the drop point")
	public Array<SkillPositionDefinition> target;
	@Tooltip("The ATB cost of the skill, in turns")
	public float turnCost;

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

}

@@ -148,16 +148,95 @@
 inition;
+%0Aimport net.alcuria.umbracraft.definitions.skill.actions.SkillActionDefinition;
 %0A%0Aimport
@@ -318,16 +318,116 @@
 tion %7B%0A%0A
+%09@Tooltip(%22The action sequence when using the skill%22)%0A%09public Array%3CSkillActionDefinition%3E actions;%0A
 %09@Toolti
@@ -829,16 +829,17 @@
 %3E target
+s
 ;%0A%09@Tool

Add fields for targets and actions