public bool DoSA(List <IUnit> friends, List <IUnit> enemies, Army A) { if (power > 0) { if (friends.Count() > 0) { int i = rnd.Next(0, friends.Count); if (friends[i] is IClonnabl) { IUnit Z = ((IClonnabl)friends[i]).MakeClone(); A.ADD(friends[i], Z); power--; return(true); } } } return(false); }