Class MaxHpIncreasedTrigger
java.lang.Object
net.demilich.metastone.game.logic.CustomCloneable
net.demilich.metastone.game.spells.trigger.EventTrigger
net.demilich.metastone.game.spells.trigger.MaxHpIncreasedTrigger
- All Implemented Interfaces:
Serializable
,Cloneable
,HasDesc<EventTriggerDesc>
Fires whenever the matching entity's
Attribute.MAX_HP
is increased via the
GameLogic.setHpAndMaxHp(Actor, int)
effect.
Does not trigger off of ModifyAttributeSpell
.
Field | Value |
EntityReference.EVENT_SOURCE |
null |
EntityReference.EVENT_TARGET |
the target of the increase |
EventTriggerArg.TARGET_PLAYER |
the owner of the target |
EventTriggerArg.SOURCE_PLAYER |
the player that performed the increase |
EventValueProvider |
the amount Attribute.MAX_HP was increased |
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
MaxHpIncreasedTrigger
-
-
Method Details
-
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
-