Beispiel #1
0
 private int CheckEffect(Combatant combatant)
 {
     int valid = -1;
     if(!combatant.isDead)
     {
         if((ActiveSelection.INACTIVE.Equals(this.effectActive) && !combatant.IsEffectSet(this.effectID)) ||
             (ActiveSelection.ACTIVE.Equals(this.effectActive) && combatant.IsEffectSet(this.effectID)))
         {
             valid = combatant.battleID;
         }
     }
     return valid;
 }