Events correspond to things that happen inside the game that other rules can react to.
ClassDescriptionBase class for damage events.The card's effects have occurred and it has been moved to the graveyard.The damage has been dealt, all effects due to damage have been resolved, and now the physical attack has complete.A spell has been casted with
sourcecard and, if the user selected the target, the
target.The minion is on the board and its enchantments are in play.The amount of armor on the hero has changed.An attribute was applied to the
target.Construct and fire this event from an
Spellsource.GameEventTypeMessage.GameEventTypeand the desired
target.Before the attack happens and damage dealt is calculated.Fires right after the minion has hit the board.Fires whenever the board may have changed.A card was inserted or shuffled into the deck, including "extra copies."A base class for events that have cards associated with them.The card is played from the hand.A card was revealed.
ValueEvent.getValue()damage has been dealt to the
GameEvent.getSource().Actors will be destroyed.The
GameEvent.getTargetPlayerId()ended their sequence.A card was discarded.A card was discovered (sourced).A target was
DrainSpelldrained.A card was put into the hand.An
Attribute.ENRAGABLEattribute was wounded or is now fully healed.A
targetwas healed with excess healing (i.e.An attempt to draw from an empty deck occurred and the drawing player took damage.The base class for game events, or things that happen during the execution of a
GameActionthat other game rules may react to.The game has started.Indicates an event has a value, typically the damage dealt or mana changed, etc.The
EntityReference.EVENT_TARGETwas healed for
EventValueProviderhealing.A skill was used.A card was invoked for
InvokedEvent.getValue()mana.A joust event describes which cards were drawn and who won a joust from a point of view of a particular player.A minion was killed.
Attribute.MAX_HPwas increased.The maximum amount of Lun the player has increased.An effect causes a missile to be fired.Lun has been gained or lost.Represents a general notification from inside the
GameContextor players might be interested in.Lun was overloaded (i.e.An attacker (the
EntityReference.EVENT_SOURCE) attacked the defender and dealt
EventValueProviderdamage.Just before damage is dealt.Just before the game starts.A quest was played.A quest has processed.Encapsulates the information related to returning a target to the hand.A card was roasted (discarded from the deck).A secret was played.A secret was revealed.A card was shuffled.An
Actorwas silenced using
SilenceSpell.A spell was casted on the specified target.A minion was summoned and its openers were resolved if
true.A target will be acquired for the specified game action.An entity is being "touched" by the client.A trigger was fired from the specified enchantment.The player ended their turn.The player started their turn.An event that contains a value.The player destroyed their weapon.The player equipped a weapon.The sequence is about to end.