Enum EffectMethod

Namespace
SurvivorsMaker.Core
Assembly
SurvivorsMaker.Core.dll

How an effect writes into an EffectStore.

public enum EffectMethod

Fields

Add = 0

Adds Amount to the target's value. Undo subtracts it.

Append = 4

Appends a (target, amount) entry to List, duplicates allowed. Undo removes one matching entry.

AppendUnique = 3

Adds the target id to List once. Undo removes it.

Convert = 6
Limit = 7
Set = 1

Overwrites the target's value. Undo restores the value seen at apply time.

Tally = 2

Keeps one (target, total) entry in List and adds to its total. Undo subtracts; the entry goes at zero.