public class DamageEffect extends BaseAttackEffectWithOptionalFlip
Modifier and Type | Field and Description |
---|---|
static int |
ALL_COUNT |
needCoinSide
Constructor and Description |
---|
DamageEffect() |
Modifier and Type | Method and Description |
---|---|
void |
applyOnCorrectCoinSideBeforeDamage(java.util.List<java.lang.Object> parameters,
PokemonAttackStatus attack,
PokemonCardState card,
GameServerState server) |
boolean |
canApply(java.util.List<java.lang.Object> parameters,
CardAttack cardAttack,
GameServerState server) |
CardSelectorState |
getSelectorState(java.util.List<java.lang.Object> parameters,
GameServerState server) |
BaseAttackEffect |
parse(java.lang.String... args) |
applyAfterDamage, applyBeforeDamage, applyOnCorrectCoinSideAfterDamage, flipCoin, isCorrectCoinSide, setRequiredCoinSide
applyDelayAfterDamage, chooseOppAttack, construct, getCodes, getCustomGUI, getOpponentSelectorState, isOptional, modifyDamage, modifyTurn, setOptional, withConstructor
public static final int ALL_COUNT
public CardSelectorState getSelectorState(java.util.List<java.lang.Object> parameters, GameServerState server)
getSelectorState
in class BaseAttackEffect
public boolean canApply(java.util.List<java.lang.Object> parameters, CardAttack cardAttack, GameServerState server)
canApply
in class BaseAttackEffect
public void applyOnCorrectCoinSideBeforeDamage(java.util.List<java.lang.Object> parameters, PokemonAttackStatus attack, PokemonCardState card, GameServerState server)
applyOnCorrectCoinSideBeforeDamage
in class BaseAttackEffectWithOptionalFlip
public BaseAttackEffect parse(java.lang.String... args)
parse
in class BaseAttackEffect