Add Cover card and implement block
This commit is contained in:
parent
ba5b890c2a
commit
b4dd6c3496
8 changed files with 266 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue