18 lines
633 B
C#
18 lines
633 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class MeditateHCard : HeroCard
|
|
{
|
|
public MeditateHCard(BattleParticipant owner)
|
|
: base(owner, HCardId.Meditate, "Meditate", 2, CardType.Skill, "+1 insight. Draw a card.") {
|
|
}
|
|
|
|
public override IEnumerator Use(IBattleEffectApplier effectApplier,
|
|
MonsterViewpoint viewpoint, BattlePlayerControls playerControls) {
|
|
effectApplier.Apply(new ModifyInsightEffect(+1));
|
|
yield return new WaitForSeconds(1f);
|
|
effectApplier.Apply(new DrawCardsEffect(1, TeamChoice.Heroes));
|
|
yield break;
|
|
}
|
|
}
|