Class PokemonCardStatus

java.lang.Object
com.pixelmonmod.tcg.duel.state.PokemonCardStatus

public class PokemonCardStatus extends Object
  • Constructor Details

    • PokemonCardStatus

      public PokemonCardStatus()
    • PokemonCardStatus

      public PokemonCardStatus(net.minecraft.network.FriendlyByteBuf buf)
  • Method Details

    • write

      public void write(net.minecraft.network.FriendlyByteBuf buf)
    • getConditions

      public List<org.apache.commons.lang3.tuple.Pair<CardCondition,Integer>> getConditions()
    • cloneConditions

      public void cloneConditions()
      This retains the conditions before attacks, so that effect can be calculated
    • getClonedConditions

      public List<org.apache.commons.lang3.tuple.Pair<CardCondition,Integer>> getClonedConditions()
    • getDamage

      public int getDamage()
    • healDamage

      public void healDamage(int d)
    • setDamage

      public void setDamage(int d)
    • hasCondition

      public boolean hasCondition(CardCondition cardCondition)
    • addCondition

      public void addCondition(CardCondition cardCondition, Integer modifier)
    • removeCondition

      public void removeCondition(CardCondition cardCondition)
    • removeAllConditions

      public void removeAllConditions()
    • isStartTurnParalyzed

      public boolean isStartTurnParalyzed()
    • setStartTurnParalyzed

      public void setStartTurnParalyzed(boolean startTurnParalyzed)
    • isDamageImmune

      public boolean isDamageImmune()
    • setDamageImmune

      public void setDamageImmune(boolean damageImmune)
    • isConditionImmune

      public boolean isConditionImmune()
    • setConditionImmune

      public void setConditionImmune(boolean conditionImmune)