Package com.pixelmonmod.tcg.duel.state
Class PokemonAttackStatus
java.lang.Object
com.pixelmonmod.tcg.duel.state.PokemonAttackStatus
Created by Hy on 6/19/2016.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPokemonAttackStatus
(CardAttack cardAttack) PokemonAttackStatus
(net.minecraft.network.FriendlyByteBuf buf) -
Method Summary
Modifier and TypeMethodDescriptionvoid
disable
(int turnCount) void
enable()
int
int
int
getData()
int
net.minecraft.network.chat.Component
boolean
boolean
boolean
isMissed()
void
void
void
setDamage
(int damage) void
setDamageBonus
(int damageBonus, int damageBonusCountLeft) void
setMissed
(boolean missed) void
setTemporaryEffect
(BaseAttackEffect temporaryEffect, String effectText) void
write
(net.minecraft.network.FriendlyByteBuf buf)
-
Field Details
-
INFINITE_TURN_COUNT
public static final int INFINITE_TURN_COUNT- See Also:
-
-
Constructor Details
-
PokemonAttackStatus
-
PokemonAttackStatus
public PokemonAttackStatus(net.minecraft.network.FriendlyByteBuf buf)
-
-
Method Details
-
write
public void write(net.minecraft.network.FriendlyByteBuf buf) -
getData
-
isDisabled
public boolean isDisabled() -
disable
public void disable(int turnCount) -
enable
public void enable() -
getDisabledTurnCountLeft
public int getDisabledTurnCountLeft() -
reduceTurnCount
public void reduceTurnCount() -
getDamage
public int getDamage() -
setDamage
public void setDamage(int damage) -
resetDamage
public void resetDamage() -
getDamageBonus
public int getDamageBonus() -
getDamageBonusCountLeft
public int getDamageBonusCountLeft() -
setDamageBonus
public void setDamageBonus(int damageBonus, int damageBonusCountLeft) -
getTemporaryEffect
-
getTemporaryEffectText
-
setTemporaryEffect
-
isMissed
public boolean isMissed() -
setMissed
public void setMissed(boolean missed) -
hasDescription
public boolean hasDescription() -
getLocalizedDescription
public net.minecraft.network.chat.Component getLocalizedDescription()
-