Class SilenceTrigger
java.lang.Object
net.demilich.metastone.game.logic.CustomCloneable
net.demilich.metastone.game.spells.trigger.EventTrigger
net.demilich.metastone.game.spells.trigger.SilenceTrigger
- All Implemented Interfaces:
Serializable,Cloneable,HasDesc<EventTriggerDesc>
Fires whenever an
Actor is Attribute.SILENCED.
The SilenceEvent populates the silenced actor into EntityReference.EVENT_TARGET.
| Field | Value |
EntityReference.EVENT_SOURCE |
the Player entity of the player that performed the silencing |
EntityReference.EVENT_TARGET |
the target of the silencing |
EventTriggerArg.TARGET_PLAYER |
the player that performed the increase |
EventTriggerArg.SOURCE_PLAYER |
-1 |
EventValueProvider |
0 |
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleaninnerQueues(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.GameEventTypeMethods inherited from class net.demilich.metastone.game.spells.trigger.EventTrigger
clone, fires, getDesc, hostConditionMet, queues, setDesc, toString
-
Constructor Details
-
SilenceTrigger
-
-
Method Details
-
innerQueues
Description copied from class:EventTriggerWhen 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:
innerQueuesin classEventTrigger- Returns:
-
interestedIn
public com.hiddenswitch.spellsource.rpc.Spellsource.GameEventTypeMessage.GameEventType interestedIn()- Specified by:
interestedInin classEventTrigger
-