using System.Collections; using System.Collections.Generic; using UnityEngine; public class IncreaseMaxHPEffect : IBattleEffect { private BattleParticipant target; private int amount; public IncreaseMaxHPEffect(BattleParticipant target, int amount) { this.target = target; this.amount = amount; } public void Apply(IBattleEffectResolver resolver) { resolver.IncreaseMaxHP(this); } public BattleParticipant Target {get => this.target;} public int Amount {get => this.amount;} }