XRWOXKR3MD3O73SH33CWRUYMTS6KVWGN6U2AIKNVNGHN37MY7UYQC
fileFormatVersion: 2
guid: 1a9842bc57d8715478ee16c1721c2930
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ApplyDamage : IEffect
{
[SerializeField]
AreaOfEffect area {get; set;}
[SerializeField]
bool friendOrFoeOff { get; set;}
public void Effect(EffectContext context) {
var targets = area.GetEffectedUnits(context.caster);
// TODO: Do damage
}
}