Add Cover card and implement block

This commit is contained in:
henriquenakashima 2020-09-19 00:55:36 -04:00
parent ba5b890c2a
commit b4dd6c3496
8 changed files with 266 additions and 3 deletions

View file

@ -94,11 +94,18 @@ public class BattleController : MonoBehaviour
private void StartHeroTurn() {
this.heroTurn = true;
this.energy = this.maxEnergy;
foreach (BattleHero hero in this.heroes) {
hero.ResetBlock();
}
}
private void StartEnemyTurn() {
this.heroTurn = false;
foreach (BattleMonster monster in this.monsters) {
monster.ResetBlock();
}
heroes[this.enemyTarget].DealDamage(2);
DecideEnemyTarget();