Monsters play emotions from hand
This commit is contained in:
parent
959458ad74
commit
d513657396
8 changed files with 140 additions and 11 deletions
17
Assets/Battle/CardsMonsters/EagernessMCard.cs
Normal file
17
Assets/Battle/CardsMonsters/EagernessMCard.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class EagernessMCard : MonsterCard
|
||||
{
|
||||
public EagernessMCard(BattleParticipant owner)
|
||||
: base(owner, MCardId.Eagerness, "Eagerness", 0, CardType.Emotion,
|
||||
"1 Energy") {
|
||||
}
|
||||
|
||||
public override IEnumerator Use(IBattleEffectApplier effectApplier,
|
||||
MonsterViewpoint viewpoint) {
|
||||
effectApplier.Apply(new DropEmotionEffect(1, this.owner.Team));
|
||||
yield break;
|
||||
}
|
||||
}
|
||||
11
Assets/Battle/CardsMonsters/EagernessMCard.cs.meta
Normal file
11
Assets/Battle/CardsMonsters/EagernessMCard.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 0b071ea4a665da14989cc845ee07936a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
Add table
Add a link
Reference in a new issue