Adds a Modifier to the list of modifiers to check for.
Note that all modifiers are updated during the start of SelectModifierPhase.
The Modifier to add.
this
gets a value from the itemPoolChecks map.
If the item is in the Modifier Pool, and the player can get it, will return true.
If the item is not in the Modifier Pool, will return false.
If a SelectModifierPhase has not occurred, and we do not know if the item is in the Modifier Pool or not, will return undefined.
Privatelogexpects a Modifier toBeTruthy (in the Modifier Pool) or Falsy (unobtainable on this floor). Use during a test.
Note that if a SelectModifierPhase has not been run yet, these values will be undefined, and the check will fail.
The modifier to check.
Whether the Modifier should be in the Modifier Pool. Set to false to expect it to be absent instead.
this
Base class for defining all game helpers.