Implement Triggers and Scarring

This commit is contained in:
henriquenakashima 2020-09-19 22:42:51 -04:00
parent cbc8c8b6cd
commit 265c24ea1c
18 changed files with 247 additions and 5 deletions

View file

@ -0,0 +1,21 @@
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;}
}