Ejemplo n.º 1
0
        public void action(IBattleable actioner, BattleTask task)
        {
            if (ActiveSkillSupporter.canUseAffectSkill(actioner, task.getTargets(), this))
            {
                return;
            }

            observer.used();
            setBounsToCharacter(task.getTargets());
            actioner.minusMp(cost);
        }
Ejemplo n.º 2
0
        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();
        }