public void Attack(Pawn target, Damage damage) { var damageModified = ApplyModifier(damage); target.Hit(damageModified); AfterAttack(target); }
public override void Tick(Pawn pawn, Tick totalElapsed) { if (!IsTriggered(totalElapsed)) return; pawn.Hit(new Damage(_data.Damage, Element.Poison)); }