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 booleanisFulfilled(GameContext context, Player player, Entity source, Entity target, Condition condition, SpellDesc desc) Methods inherited from class net.demilich.metastone.game.spells.custom.AbstractRepeatMinionsDestroyedSpell
afterCast, isNativeStatefulMethods inherited from class net.demilich.metastone.game.spells.RecastWhileSpell
beforeCast, onCastMethods 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:
isFulfilledin classRecastWhileSpell
-