Rename CardFoo to FooHCard

This commit is contained in:
henriquenakashima 2020-09-24 00:38:19 -04:00
parent 621069fd71
commit b5c900aa24
12 changed files with 15 additions and 16 deletions

View file

@ -0,0 +1,17 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ThunderstormHCard : HeroCard
{
public ThunderstormHCard(BattleParticipant owner)
: base(owner, HCardId.Thunderstorm, "Thunderstorm", 3, CardType.Enchantment,
"Add 1 max energy. Acquire 2 Lightning Strike into draw pile.") {
}
public override IEnumerator Use(IBattleEffectApplier effectApplier, BattlePlayerControls playerControls) {
effectApplier.Apply(new IncreaseMaxEnergyEffect(1));
effectApplier.Apply(new AcquireCardsEffect(new HCardId[] {HCardId.LightningStrike, HCardId.LightningStrike}, BattleZone.DrawPile, this.owner));
yield break;
}
}