Implement emotions
This commit is contained in:
parent
08c395cf51
commit
11df4f1164
25 changed files with 369 additions and 40 deletions
17
Assets/Battle/CardsHeroes/EagernessHCard.cs
Normal file
17
Assets/Battle/CardsHeroes/EagernessHCard.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue