Implement emotions

This commit is contained in:
henriquenakashima 2020-09-26 18:24:46 -04:00
parent 08c395cf51
commit 11df4f1164
25 changed files with 369 additions and 40 deletions

View file

@ -0,0 +1,17 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EagernessHCard : HeroCard
{
public EagernessHCard(BattleParticipant owner)
: base(owner, HCardId.Eagerness, "Eagerness", 0, CardType.Emotion,
"1 Energy") {
}
public override IEnumerator Use(IBattleEffectApplier effectApplier,
MonsterViewpoint viewpoint, BattlePlayerControls playerControls) {
effectApplier.Apply(new DropEmotionEffect(1, this.owner.Team));
yield break;
}
}