This package contains all the classes that react to game events.
- See Also:
ClassDescriptionThe base class for triggers that fire off card-adjacent effects.Fires when a spell that deals any kind of damage is cast.Fires after the
EventTriggerArg.TARGET_PLAYERcasts a spell.Fires whenever a card is added to the deck via a
GameLogic.insertIntoDeck(Player, Card, int)effect.Fires whenever a target is drained using
DrainSpell.An enchantment is a type of entity that reacts to certain events using a trigger by casting a spell.This is the base class of all effects that react to events in the game.Fires when the player gets dealt damage from
Attribute.FATIGUE.Fires at the start of the game.Fires for all events.Fires whenever a
targetis healed.Fires when a
targetloses stealth.Fires whenever the matching entity's
Attribute.MAX_HPis increased via the
GameLogic.setHpAndMaxHp(Actor, int)effect.A trigger that fires whenever a minion dies.Fires whenever a minion is summoned.Triggers as damage caused only if the damage is not fatigue damage.Triggers as damage caused only if the damage is not fatigue damage.Fires before the game starts but after mulligans.Fires after a quest is played.Fires when a card is drawn for any reason besides the turn start.Fires when a secret is played from the hand.Fires whenever an
Attribute.SILENCED.Represents an enchantment that affects a minion with the given
cardIdat construction time with whatever
descspell was provided, "wherever it is."