Enum EffectMethod
- Namespace
- SurvivorsMaker.Core
- Assembly
- SurvivorsMaker.Core.dll
How an effect writes into an EffectStore.
public enum EffectMethod
Fields
Add = 0Adds Amount to the target's value. Undo subtracts it.
Append = 4Appends a (target, amount) entry to List, duplicates allowed. Undo removes one matching entry.
AppendUnique = 3Adds the target id to List once. Undo removes it.
Convert = 6Limit = 7Link = 5Set = 1Overwrites the target's value. Undo restores the value seen at apply time.
Tally = 2Keeps one (target, total) entry in List and adds to its total. Undo subtracts; the entry goes at zero.