public void action(IBattleable actioner, BattleTask task) { if (ActiveSkillSupporter.canUseAffectSkill(actioner, task.getTargets(), this)) { return; } observer.used(); setBounsToCharacter(task.getTargets()); actioner.minusMp(cost); }
public void action(IBattleable actioner, BattleTask task) { if (!ActiveSkillSupporter.canUseAffectSkill(actioner, task.getTargets(), this)) { return; } attack(actioner, task.getTargets()); actioner.minusMp(this.cost); observer.used(); }