Class MinionDeathTrigger
java.lang.Object
net.demilich.metastone.game.logic.CustomCloneable
net.demilich.metastone.game.spells.trigger.EventTrigger
net.demilich.metastone.game.spells.trigger.MinionDeathTrigger
- All Implemented Interfaces:
Serializable
,Cloneable
,HasDesc<EventTriggerDesc>
A trigger that fires whenever a minion dies.
A dead minion hosting such a trigger will never trigger for itself, because the KillEvent
this trigger
listens to fires when the dead minion is already in the graveyard.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EventTriggerDesc
create()
Creates a minion death trigger that fires when its host dies.static EventTriggerDesc
create
(TargetType targetType) protected boolean
innerQueues
(GameEvent event, Enchantment enchantment, Entity host) When an event this trigger isEventTrigger.interestedIn()
occurs, this test indicates whether or not the trigger should enter the queue of effects that should be evaluated.com.hiddenswitch.spellsource.rpc.Spellsource.GameEventTypeMessage.GameEventType
Methods inherited from class net.demilich.metastone.game.spells.trigger.EventTrigger
clone, fires, getDesc, hostConditionMet, queues, setDesc, toString
-
Constructor Details
-
MinionDeathTrigger
-
-
Method Details
-
create
-
create
Creates a minion death trigger that fires when its host dies.- Returns:
- A new desc
-
innerQueues
Description copied from class:EventTrigger
When an event this trigger isEventTrigger.interestedIn()
occurs, this test indicates whether or not the trigger should enter the queue of effects that should be evaluated. This is distinct from whether or not- Specified by:
innerQueues
in classEventTrigger
- Returns:
-
interestedIn
public com.hiddenswitch.spellsource.rpc.Spellsource.GameEventTypeMessage.GameEventType interestedIn()- Specified by:
interestedIn
in classEventTrigger
-