Example #1
0
 public virtual bool Update(bool force = false)
 {
     if (GetBattleMode().Equals(BattleMode.ATB_Charging) || force)
     {
         if (!Module_battle_debug.PauseATB)
         {
             ATBTimer.Update();
         }
         if (ATBTimer.Done && ATBCharged())
         {
             //Your turn is ready.
         }
         return(true);
     }
     else if (GetBattleMode().Equals(BattleMode.GF_Charging))
     {
         SummonedGF.Update();
         if (SummonedGF.IsGameOver || (SummonedGF.ATBTimer.Done && EndTurn()))
         {
             //Summon GF end turn.
             //SetSummon(null);
         }
         return(true);
     }
     return(false);
 }
Example #2
0
 public virtual bool Update()
 {
     if (GetBattleMode().Equals(BattleMode.ATB_Charging))
     {
         ATBTimer.Update();
         if (ATBTimer.Done && ATBCharged())
         {
             //Your turn is ready.
         }
         return(true);
     }
     return(false);
 }