Implement BattleEffects, add Thunderstorm

This commit is contained in:
henriquenakashima 2020-09-19 16:58:14 -04:00
parent fc427bd276
commit 00448fe919
20 changed files with 215 additions and 18 deletions

View file

@ -0,0 +1,17 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CardThunderstorm : BaseCard
{
public CardThunderstorm(BattleParticipant owner)
: base(owner, CardId.Thunderstorm, "Thunderstorm", 3, CardType.Enchantment,
"Adds 1 energy.") {
}
public override IEnumerator Use(IBattleEffectApplier effectApplier, BattlePlayerControls playerControls) {
Debug.Log("A storm is brewing.");
effectApplier.Apply(new IncreaseMaxEnergyEffect(1));
yield break;
}
}