public override void Pick(PlanOfAttack plan) { int index = Random.Range(0, pickers.Count); BaseAbilityPicker p = pickers[index]; p.Pick(plan); }
public void Pick(PlanOfAttack plan) { pickers[index].Pick(plan); index++; if (index >= pickers.Count) { index = 0; } }
public override void Pick(PlanOfAttack plan) { plan.target = target; plan.ability = Find(ability); if (plan.ability == null) { plan.ability = Default(); plan.target = Targets.Foe; } }
public abstract void Pick(PlanOfAttack plan);