Class ConditionEffect
java.lang.Object
com.pixelmonmod.tcg.duel.attack.effects.BaseAttackEffect
com.pixelmonmod.tcg.duel.attack.effects.BaseAttackEffectWithOptionalFlip
com.pixelmonmod.tcg.duel.attack.effects.ConditionEffect
Created by Hy on 5/22/2016.
-
Field Summary
Fields inherited from class com.pixelmonmod.tcg.duel.attack.effects.BaseAttackEffectWithOptionalFlip
needCoinSide
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyOnCorrectCoinSideAfterDamage
(List<Object> parameters, PokemonAttackStatus attack, PokemonCardState card, GameServerState server) void
applyOnCorrectCoinSideBeforeDamage
(List<Object> parameters, PokemonAttackStatus attack, PokemonCardState card, GameServerState server) Methods inherited from class com.pixelmonmod.tcg.duel.attack.effects.BaseAttackEffectWithOptionalFlip
applyAfterDamage, applyBeforeDamage, flipCoin, isCorrectCoinSide, setRequiredCoinSide
Methods inherited from class com.pixelmonmod.tcg.duel.attack.effects.BaseAttackEffect
applyDelayAfterDamage, canApply, chooseOppAttack, construct, getCodes, getCustomGUI, getOpponentSelectorState, getSelectorState, isOptional, modifyDamage, modifyTurn, setOptional, withConstructor
-
Constructor Details
-
ConditionEffect
public ConditionEffect()
-
-
Method Details
-
applyOnCorrectCoinSideBeforeDamage
public void applyOnCorrectCoinSideBeforeDamage(List<Object> parameters, PokemonAttackStatus attack, PokemonCardState card, GameServerState server) - Overrides:
applyOnCorrectCoinSideBeforeDamage
in classBaseAttackEffectWithOptionalFlip
-
applyOnCorrectCoinSideAfterDamage
public void applyOnCorrectCoinSideAfterDamage(List<Object> parameters, PokemonAttackStatus attack, PokemonCardState card, GameServerState server) - Overrides:
applyOnCorrectCoinSideAfterDamage
in classBaseAttackEffectWithOptionalFlip
-
parse
- Overrides:
parse
in classBaseAttackEffect
-