Class RecastIfMinionsDestroyedSpell
java.lang.Object
net.demilich.metastone.game.spells.Spell
net.demilich.metastone.game.spells.RecastWhileSpell
net.demilich.metastone.game.spells.custom.AbstractRepeatMinionsDestroyedSpell
net.demilich.metastone.game.spells.custom.RecastIfMinionsDestroyedSpell
- All Implemented Interfaces:
Serializable
,HasDesc<SpellDesc>
Recasts the
SpellArg.SPELL
if any minions were destroyed.- See Also:
-
Field Summary
Fields inherited from class net.demilich.metastone.game.spells.custom.AbstractRepeatMinionsDestroyedSpell
minionsDestroyed
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isFulfilled
(GameContext context, Player player, Entity source, Entity target, Condition condition, SpellDesc desc) Methods inherited from class net.demilich.metastone.game.spells.custom.AbstractRepeatMinionsDestroyedSpell
afterCast, isNativeStateful
Methods inherited from class net.demilich.metastone.game.spells.RecastWhileSpell
beforeCast, onCast
Methods inherited from class net.demilich.metastone.game.spells.Spell
cast, castForPlayer, checkArguments, getDesc, setDesc, toString
-
Constructor Details
-
RecastIfMinionsDestroyedSpell
public RecastIfMinionsDestroyedSpell()
-
-
Method Details
-
isFulfilled
protected boolean isFulfilled(GameContext context, Player player, Entity source, Entity target, Condition condition, SpellDesc desc) - Overrides:
isFulfilled
in classRecastWhileSpell
-