예제 #1
0
 public bool MinionAllowed(Minion m)
 {
     return HasFlag(TargetTypeFlag.Minion) &&
         m != null &&
         TargetScanner(m.GUID) &&
         ((HasFlag(TargetTypeFlag.Friendly) && m.IsFriendly(GameState.ActiveMorphid.GUID)) ||
         (HasFlag(TargetTypeFlag.Enemy) && m.IsEnemy(GameState.ActiveMorphid.GUID)));
 }