Class LoadedDiceTests
java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.item.LoadedDiceTests
Tests for the Loaded Dice
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture
<TestResult> A Loaded Dice causes multi-strike moves used by the holder to always hit at least four times, if possible.static CompletableFuture
<TestResult> A Loaded Dice causes the holder's Population Bomb to hit four to ten times (with an even chance of each number of hits).static CompletableFuture
<TestResult> A Loaded Dice causes Triple Kick, Triple Axel, and Population Bomb used by the holder to only perform one accuracy check.
-
Constructor Details
-
LoadedDiceTests
public LoadedDiceTests()
-
-
Method Details
-
testLoadedDiceMakesMultistrikeMovesHitFourTimesOrMore
public static CompletableFuture<TestResult> testLoadedDiceMakesMultistrikeMovesHitFourTimesOrMore(BattleTestHelper helper) A Loaded Dice causes multi-strike moves used by the holder to always hit at least four times, if possible.In this test, a Cacnea that holds a Loaded Dice and knows the move Bullet Seed faces a Mewtwo that knows the move Sleep Talk.
Turn 1 The Mewtwo uses Sleep Talk. The Cacnea uses Bullet Seed. - We verify that the Cacnea's Bullet Seed hit the Mewtwo at least 4 times.
-
testLoadedDiceMakesTripleKickMakeOneAccuracyCheck
public static CompletableFuture<TestResult> testLoadedDiceMakesTripleKickMakeOneAccuracyCheck(BattleTestHelper helper) A Loaded Dice causes Triple Kick, Triple Axel, and Population Bomb used by the holder to only perform one accuracy check.In this test, a Hitmontop that holds a Loaded Dice and knows the move Triple Kick faces a Mewtwo that knows the move Sleep Talk.
Turn 1 The Mewtwo uses Sleep Talk. The Hitmontop uses Triple Kick. - We verify that the Hitmontop's Triple Kick either missed or hit the Mewtwo exactly 3 times.
-
testLoadedDiceMakesPopulationBombHitFourTimesOrMore
public static CompletableFuture<TestResult> testLoadedDiceMakesPopulationBombHitFourTimesOrMore(BattleTestHelper helper) A Loaded Dice causes the holder's Population Bomb to hit four to ten times (with an even chance of each number of hits).This test doesn't verify the even chance for each number of hits.
In this test, a Tandemaus that holds a Loaded Dice and knows the move Population Bomb faces a Mewtwo that knows the move Sleep Talk.
Turn 1 The Mewtwo uses Sleep Talk. The Tandemaus uses Population Bomb. - We verify that the Tandemaus's Population Bomb hit the Mewtwo at least 4 times.
-