public class ChangeWeaknessEffect extends BaseAttackEffect
Constructor and Description |
---|
ChangeWeaknessEffect() |
Modifier and Type | Method and Description |
---|---|
void |
applyBeforeDamage(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) |
protected boolean |
hasWeakness(GameServerState server) |
BaseAttackEffect |
parse(java.lang.String... args) |
applyAfterDamage, applyDelayAfterDamage, chooseOppAttack, construct, flipCoin, getCodes, getCustomGUI, getOpponentSelectorState, isOptional, modifyDamage, modifyTurn, setOptional, setRequiredCoinSide, withConstructor
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 applyBeforeDamage(java.util.List<java.lang.Object> parameters, PokemonAttackStatus attack, PokemonCardState card, GameServerState server)
applyBeforeDamage
in class BaseAttackEffect
protected boolean hasWeakness(GameServerState server)
public BaseAttackEffect parse(java.lang.String... args)
parse
in class BaseAttackEffect