Class BindingBandTests

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

public class BindingBandTests extends Object
Tests for the Binding Band
  • Constructor Details

    • BindingBandTests

      public BindingBandTests()
  • Method Details

    • testBindingBandIncreasesPartialTrapBoundDamageToOneSixthMaxHP

      public static CompletableFuture<TestResult> testBindingBandIncreasesPartialTrapBoundDamageToOneSixthMaxHP(BattleTestHelper helper)
      A Binding Band causes binding moves used by the holder to inflict binding that deals damage equal to 1/6 (rather than 1/8) of the target's maximum HP at the end of each turn.

      In this test, a Stunfisk that holds a Binding Band and knows the moves Snap Trap and Sleep Talk faces a Bastiodon that knows the move Sleep Talk.

           Turn 1
           The Stunfisk uses Snap Trap.
           The Bastiodon uses Sleep Talk.
           -
           After turn 1
           We verify that the Bastiodon has the Partial Trap status.
           After turn 2
           We verify that the Bastiodon lost health from the Partial Trap equivalent to 1/6 of its maximum HP.