protected bool stepInternal(Battle battle)
 {
     return true;
 }
        public bool Step(Battle battle)
        {
            if (IsDisabled) {
                return true;
            }

            return stepInternal(battle);
        }
        public bool Step(Battle battle)
        {
            if (IsDisabled) {
                return true;
            }

            target = findTarget(battle);
            if (target == null) {
                return false;
            }

            if (Team.IsFriendly(target.Team)) {
                if (ChildrenCount() == 0) {
                    link(target);
                } else {
                    support(target);
                }
            } else {
                attack(target);
            }

            target = null;
            return false;
        }
 protected virtual Fighter findTarget(Battle battle)
 {
     return null;
 }
Beispiel #5
0
 protected bool stepInternal(Battle battle)
 {
     return(true);
 }