Class ExpertBeltTests

java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.item.ExpertBeltTests

public class ExpertBeltTests extends Object
Tests for the Expert Belt
  • Constructor Details

    • ExpertBeltTests

      public ExpertBeltTests()
  • Method Details

    • testExpertBeltBoostsThePowerOfSuperEffectiveMoves

      public static CompletableFuture<TestResult> testExpertBeltBoostsThePowerOfSuperEffectiveMoves(BattleTestHelper helper)
      The Expert Belt boosts the power of the holder's super effective moves by 20%.

      In this test, a Sawk that holds an Expert Belt and knows the move Brick Break faces a Graveler that knows the move Sleep Talk.

           Turn 1
           The Sawk uses Brick Break.
           The Graveler uses Sleep Talk.
           -
           We verify that the power of the Sawk's Brick Break is 20% more than the base power of Brick Break.
       
    • testExpertBeltDoesNotBoostPowerOfNonSuperEffectiveMoves

      public static CompletableFuture<TestResult> testExpertBeltDoesNotBoostPowerOfNonSuperEffectiveMoves(BattleTestHelper helper)
      The Expert Belt boosts the power of the holder's super effective moves by 20%.

      In this test, a Sawk that holds an Expert Belt and knows the move Retaliate faces a Graveler that knows the move Sleep Talk.

           Turn 1
           The Sawk uses Retaliate.
           The Graveler uses Sleep Talk.
           -
           We verify that the power of the Sawk's Retaliate is the exact same as the base power of Retaliate.