diff --git a/koboldsim/cardtypes.go b/koboldsim/cardtypes.go index 7d53ad5..d0663ee 100644 --- a/koboldsim/cardtypes.go +++ b/koboldsim/cardtypes.go @@ -271,6 +271,7 @@ type TablePolicy struct { EnactedDesc cardsim.Message NothingChanged cardsim.Message EffectsTable map[FieldLabel]float64 + EnactionDesc cardsim.Message CanDo func(*TablePolicy, *Player) bool CurrentlyEnacted bool @@ -320,7 +321,7 @@ func (t *TablePolicy) Enact(p *Player) (cardsim.Message, error) { for label, amount := range t.EffectsTable { errs.Add(p.Stats.Add(label, amount)) } - return t.EnactedDesc, errs.Emit() + return t.EnactionDesc, errs.Emit() } // Unenact implements Policy.