Implement Meditate
This commit is contained in:
parent
03ca23d484
commit
ceb46f98b2
14 changed files with 207 additions and 28 deletions
18
Assets/Battle/Effects/ModifyInsightEffect.cs
Normal file
18
Assets/Battle/Effects/ModifyInsightEffect.cs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
|
||||
public class ModifyInsightEffect : IBattleEffect
|
||||
{
|
||||
private int amount;
|
||||
|
||||
public ModifyInsightEffect(int amount) {
|
||||
this.amount = amount;
|
||||
}
|
||||
public void Apply(IBattleEffectResolver resolver) {
|
||||
resolver.ModifyInsight(this);
|
||||
}
|
||||
|
||||
public int Amount {get => this.amount;}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue