Add delay while enemies act
This commit is contained in:
parent
c7d2302326
commit
ca16846f2a
1 changed files with 4 additions and 0 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue