Class MinionDeathTrigger

All Implemented Interfaces:
Serializable, Cloneable, HasDesc<EventTriggerDesc>

public final class MinionDeathTrigger extends EventTrigger
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 Details

  • Method Details

    • create

      public static EventTriggerDesc create(TargetType targetType)
    • create

      public static EventTriggerDesc create()
      Creates a minion death trigger that fires when its host dies.
      Returns:
      A new desc
    • innerQueues

      protected boolean innerQueues(GameEvent event, Enchantment enchantment, Entity host)
      Description copied from class: EventTrigger
      When an event this trigger is EventTrigger.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 class EventTrigger
      Returns:
    • interestedIn

      public com.hiddenswitch.spellsource.rpc.Spellsource.GameEventTypeMessage.GameEventType interestedIn()
      Specified by:
      interestedIn in class EventTrigger