public class ThunderstormEffect extends BaseAttackEffect
Constructor and Description |
---|
ThunderstormEffect() |
Modifier and Type | Method and Description |
---|---|
void |
applyBeforeDamage(java.util.List<java.lang.Object> parameters,
PokemonAttackStatus attack,
PokemonCardState card,
GameServerState server) |
java.util.List<CoinSide> |
flipCoin(java.util.List<CoinSide> currentResult,
PokemonCardState pokemon,
GameServerState server)
This function receives current flipping result and adding more if the effect needed
|
BaseAttackEffect |
parse(java.lang.String... args) |
applyAfterDamage, applyDelayAfterDamage, canApply, chooseOppAttack, construct, getCodes, getCustomGUI, getOpponentSelectorState, getSelectorState, isOptional, modifyDamage, modifyTurn, setOptional, setRequiredCoinSide, withConstructor
public java.util.List<CoinSide> flipCoin(java.util.List<CoinSide> currentResult, PokemonCardState pokemon, GameServerState server)
BaseAttackEffect
flipCoin
in class BaseAttackEffect
public void applyBeforeDamage(java.util.List<java.lang.Object> parameters, PokemonAttackStatus attack, PokemonCardState card, GameServerState server)
applyBeforeDamage
in class BaseAttackEffect
public BaseAttackEffect parse(java.lang.String... args)
parse
in class BaseAttackEffect