Package net.demilich.metastone.game.spells.trigger
package net.demilich.metastone.game.spells.trigger
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 aGameLogic.shuffleToDeck(Player, Card)orGameLogic.insertIntoDeck(Player, Card, int)effect.Fires whenever a target is drained usingDrainSpell.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 fromAttribute.FATIGUE.Fires at the start of the game.Fires for all events.Fires whenever atargetis healed.Fires when atargetloses stealth.Fires whenever the matching entity'sAttribute.MAX_HPis increased via theGameLogic.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 anActorisAttribute.SILENCED.Represents an enchantment that affects a minion with the givencardIdat construction time with whateverdescspell was provided, "wherever it is."