Class ComboSpell
java.lang.Object
net.demilich.metastone.game.spells.Spell
net.demilich.metastone.game.spells.ConditionalEffectSpell
net.demilich.metastone.game.spells.ComboSpell
- All Implemented Interfaces:
Serializable
,HasDesc<SpellDesc>
Shorthand for a
ConditionalEffectSpell
that only plays the spell if the player has activated a combo (i.e.,
previously played a card earlier this turn).- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SpellDesc
protected boolean
isConditionFulfilled
(GameContext context, Player player, SpellDesc desc, Entity source, Entity target) Methods inherited from class net.demilich.metastone.game.spells.ConditionalEffectSpell
onCast
Methods inherited from class net.demilich.metastone.game.spells.Spell
cast, castForPlayer, checkArguments, getDesc, isNativeStateful, setDesc, toString
-
Constructor Details
-
ComboSpell
public ComboSpell()
-
-
Method Details
-
create
-
isConditionFulfilled
protected boolean isConditionFulfilled(GameContext context, Player player, SpellDesc desc, Entity source, Entity target) - Overrides:
isConditionFulfilled
in classConditionalEffectSpell
-