public AttackSituation(Sheet attacker, Sheet defender, AT.Battle.Action action = null) { this.attacker = attacker; this.defender = defender; this.action = action; hitRoll = new Gauge("To Hit"); AC = new Gauge("AC"); rolls = new List <int> (); }
public override void ApplyTo(AT.Character.Sheet c, AT.Battle.Action source = null) { Debug.LogError("You need to override the GaugeEffect's ApplyTo function"); }
public override void ApplyTo(AT.Character.Sheet c, AT.Battle.Action source = null) { Debug.Log("taking damage, with details: " + gauge.ToString()); c.TakeDamageEffect(this, source); }
public override void ApplyTo(Sheet c, AT.Battle.Action source = null) { c.TakeHealingEffect(this, source); }
public override void ApplyTo(AT.Character.Sheet c, AT.Battle.Action source) { routine.Invoke(c, source); }
public override void ApplyTo(AT.Character.Sheet c, AT.Battle.Action source = null) { c.TakeCondition(condition); cachedChar = c; }