public int GetCostToTake(Character c) { int cost = 0; foreach (var a in Adversions) { if (c.HasTrait(a.TraitId)) cost += a.Cost; } return cost; }
public int GetCostToAvoid(Character c) { int cost = 0; foreach(var d in Desires) { if (c.HasTrait(d.TraitId)) cost += d.Cost; } return cost; }