Implement OilOfSharpness
This commit is contained in:
parent
2190070fee
commit
31cb8fe4c0
45 changed files with 604 additions and 21 deletions
|
|
@ -4,11 +4,13 @@ using UnityEngine;
|
|||
|
||||
public class DealDamageEffect : IBattleEffect
|
||||
{
|
||||
private BattleParticipant source;
|
||||
private BattleParticipant target;
|
||||
private int amount;
|
||||
private int amountDealt;
|
||||
|
||||
public DealDamageEffect(BattleParticipant target, int amount) {
|
||||
public DealDamageEffect(BattleParticipant source, BattleParticipant target, int amount) {
|
||||
this.source = source;
|
||||
this.target = target;
|
||||
this.amount = amount;
|
||||
}
|
||||
|
|
@ -17,6 +19,7 @@ public class DealDamageEffect : IBattleEffect
|
|||
this.amountDealt = resolver.DealDamage(this);
|
||||
}
|
||||
|
||||
public BattleParticipant Source {get => this.source;}
|
||||
public BattleParticipant Target {get => this.target;}
|
||||
public int Amount {get => this.amount;}
|
||||
public int AmountDealt {get => this.amountDealt;}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue