Add delay while enemies act

This commit is contained in:
henriquenakashima 2020-09-20 14:30:55 -04:00
parent c7d2302326
commit ca16846f2a

View file

@ -168,6 +168,8 @@ public class BattleController : MonoBehaviour, IBattleEffectApplier, IBattleEffe
}
private IEnumerator RunMonsterTurn() {
yield return new WaitForSeconds(0.5f);
// Start of monster turn
if (this.maxMEnergy < 9) {
this.maxMEnergy++;
@ -217,6 +219,8 @@ public class BattleController : MonoBehaviour, IBattleEffectApplier, IBattleEffe
} else {
this.monsterDeck.MoveCardToDiscard(card);
}
yield return new WaitForSeconds(0.5f);
}
public void NotifyHeroTurnPassed() {