Class RepeatLastAftermathsSpell
java.lang.Object
net.demilich.metastone.game.spells.Spell
net.demilich.metastone.game.spells.custom.RepeatAllAftermathsSpell
net.demilich.metastone.game.spells.custom.RepeatLastAftermathsSpell
- All Implemented Interfaces:
Serializable
,HasDesc<SpellDesc>
Repeats the last
SpellArg.VALUE
aftermaths triggered by owner of the
source
.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
aftermathPredicate
(GameContext context, Player player, Entity source, Entity target, EnvironmentAftermathTriggeredList.EnvironmentAftermathTriggeredItem item) protected @NotNull ArrayList<EnvironmentAftermathTriggeredList.EnvironmentAftermathTriggeredItem>
getAftermaths
(GameContext context, Entity source) Methods inherited from class net.demilich.metastone.game.spells.custom.RepeatAllAftermathsSpell
onCast
Methods inherited from class net.demilich.metastone.game.spells.Spell
cast, castForPlayer, checkArguments, getDesc, isNativeStateful, setDesc, toString
-
Constructor Details
-
RepeatLastAftermathsSpell
public RepeatLastAftermathsSpell()
-
-
Method Details
-
getAftermaths
@NotNull protected @NotNull ArrayList<EnvironmentAftermathTriggeredList.EnvironmentAftermathTriggeredItem> getAftermaths(GameContext context, Entity source) - Overrides:
getAftermaths
in classRepeatAllAftermathsSpell
-
aftermathPredicate
protected boolean aftermathPredicate(GameContext context, Player player, Entity source, Entity target, EnvironmentAftermathTriggeredList.EnvironmentAftermathTriggeredItem item) - Overrides:
aftermathPredicate
in classRepeatAllAftermathsSpell
-