Implement BattleEffects, add Thunderstorm
This commit is contained in:
parent
fc427bd276
commit
00448fe919
20 changed files with 215 additions and 18 deletions
17
Assets/Battle/Cards/CardThunderstorm.cs
Normal file
17
Assets/Battle/Cards/CardThunderstorm.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class CardThunderstorm : BaseCard
|
||||
{
|
||||
public CardThunderstorm(BattleParticipant owner)
|
||||
: base(owner, CardId.Thunderstorm, "Thunderstorm", 3, CardType.Enchantment,
|
||||
"Adds 1 energy.") {
|
||||
}
|
||||
|
||||
public override IEnumerator Use(IBattleEffectApplier effectApplier, BattlePlayerControls playerControls) {
|
||||
Debug.Log("A storm is brewing.");
|
||||
effectApplier.Apply(new IncreaseMaxEnergyEffect(1));
|
||||
yield break;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue