Exemplo n.º 1
0
 public IList GetSelectionRange()
 {
     IList selectionRange = new List<Transform>();
     AttackCalculation atkCal = new AttackCalculation(attacker);
     foreach(Transform map in atkCal.GetMagicTarget(atkCal.Attacker)){
         selectionRange.Add(map);
     }
     return selectionRange;
 }
Exemplo n.º 2
0
    public IList GetSelectionRange()
    {
        IList             selectionRange = new List <Transform>();
        AttackCalculation atkCal         = new AttackCalculation(attacker);

        foreach (Transform map in atkCal.GetMagicTarget(atkCal.Attacker))
        {
            selectionRange.Add(map);
        }
        return(selectionRange);
    }
Exemplo n.º 3
0
    public IList GetSelectionRange()
    {
        IList             selectionRange = new List <Transform>();
        AttackCalculation atkCal         = new AttackCalculation(attacker);

        foreach (Transform map in atkCal.GetMagicTarget(atkCal.Attacker))
        {
            Transform chess = MapHelper.GetMapOccupiedObj(map);
            if (!chess.GetComponent <CharacterProperty>().Summoner)
            {
                selectionRange.Add(map);
            }
        }
        return(selectionRange);
    }