Exemple #1
0
 public override bool executionCondition(ExecutionInfo info)
 {
     if (hasExecuted)
     {
         return(false);
     }
     if (info.halfTurnsElapsed == 1)
     {
         hasExecuted = true;
         return(true);
     }
     return(false);
 }
Exemple #2
0
 public override bool executionCondition(ExecutionInfo info)
 {
     if (hasExecuted)
     {
         return(false);
     }
     if (info.objective.isLoseCondition(info.halfTurnsElapsed) && info.battleStage == BattleLoopStage.EndTurn)
     {
         hasExecuted = true;
         return(true);
     }
     return(false);
 }
Exemple #3
0
 public override bool executionCondition(ExecutionInfo info)
 {
     if (hasExecuted)
     {
         return(false);
     }
     if (info.afterVictoryImage)
     {
         hasExecuted = true;
         return(true);
     }
     return(false);
 }
Exemple #4
0
 public abstract bool executionCondition(ExecutionInfo info);