Class IncenseTests
See com.pixelmonmod.pixelmon.tests.item.IncensePlayerTests for the tests that verify the out-of-battle effects for the Incenses that have those.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture
<TestResult> The Full Incense forces the holder to move last in its priority bracket.static CompletableFuture
<TestResult> The Lax Incense reduces the accuracy of moves targeting the holder by 10% of what their accuracy would be otherwise.static CompletableFuture
<TestResult> The Odd Incense boosts the power of the holder's Psychic-type moves by 20%.static CompletableFuture
<TestResult> The Rock Incense boosts the power of the holder's Rock-type moves by 20%.static CompletableFuture
<TestResult> The Rose Incense boosts the power of the holder's Grass-type moves by 20%.static CompletableFuture
<TestResult> The Sea Incense boosts the power of the holder's Water-type moves by 20%.static CompletableFuture
<TestResult> The Wave Incense boosts the power of the holder's Water-type moves by 20%.
-
Constructor Details
-
IncenseTests
public IncenseTests()
-
-
Method Details
-
testFullIncenseMovesTheUserLastInPriorityBracket
public static CompletableFuture<TestResult> testFullIncenseMovesTheUserLastInPriorityBracket(BattleTestHelper helper) The Full Incense forces the holder to move last in its priority bracket. In battle, its effect is identical to the Lagging Tail.In this test, a Raging Bolt that holds a Full Incense and knows the move Thunderclap faces another Raging Bolt that does not hold an item, but also knows the move Thunderclap.
Turn 1 The second Raging Bolt uses Thunderclap. The first Raging Bolt attempts to use Thunderclap, but deals no damage because the second Raging Bolt has already used its move. - We verify that the first Raging Bolt is damaged. We verify that the second Raging Bolt is not damaged.
-
testLaxIncenseReducesTheAccuracyOfAttacksThatTargetTheHolder
public static CompletableFuture<TestResult> testLaxIncenseReducesTheAccuracyOfAttacksThatTargetTheHolder(BattleTestHelper helper) The Lax Incense reduces the accuracy of moves targeting the holder by 10% of what their accuracy would be otherwise. Its effect is identical to the Bright Powder.In this test, a Kricketot that holds a Lax Incense and knows the move Growl faces a Kricketune that holds a Lax Incense and also knows the move Growl.
Turn 1 The Kricketune uses Growl. The Kricketot uses Growl. - We verify that the Kricketot's Growl had an accuracy value of 90%. We verify that the Kricketune's Growl had an accuracy value of 90%.
-
testOddIncenseBoostsThePowerOfPsychicTypeMoves
public static CompletableFuture<TestResult> testOddIncenseBoostsThePowerOfPsychicTypeMoves(BattleTestHelper helper) The Odd Incense boosts the power of the holder's Psychic-type moves by 20%. In battle, its effect is identical to the Twisted Spoon.In this test, a Mime Jr. that holds an Odd Incense and knows the move Psychic faces a Mr. Mime that knows the move Sleep Talk.
Turn 1 The Mr. Mime uses Sleep Talk. The Mime Jr. uses Psychic. - We verify that the Mime Jr.'s Psychic had an power value 20% higher than Psychic's base power.
-
testRockIncenseBoostsThePowerOfRockTypeMoves
public static CompletableFuture<TestResult> testRockIncenseBoostsThePowerOfRockTypeMoves(BattleTestHelper helper) The Rock Incense boosts the power of the holder's Rock-type moves by 20%. In battle, its effect is identical to the Hard Stone.In this test, a Bonsly that holds an Rock Incense and knows the move Rock Slide faces a Sudowoodo that knows the move Sleep Talk.
Turn 1 The Sudowoodo uses Sleep Talk. The Bonsly uses Rock Slide. - We verify that the Bonsly's Rock Slide had an power value 20% higher than Rock Slide's base power.
-
testRoseIncenseBoostsThePowerOfGrassTypeMoves
public static CompletableFuture<TestResult> testRoseIncenseBoostsThePowerOfGrassTypeMoves(BattleTestHelper helper) The Rose Incense boosts the power of the holder's Grass-type moves by 20%. In battle, its effect is identical to the Miracle Seed.In this test, a Budew that holds an Rose Incense and knows the move Energy Ball faces a Roserade that knows the move Sleep Talk.
Turn 1 The Roserade uses Sleep Talk. The Budew uses Energy Ball. - We verify that the Budew's Energy Ball had an power value 20% higher than Energy Ball's base power.
-
testSeaIncenseBoostsThePowerOfWaterTypeMoves
public static CompletableFuture<TestResult> testSeaIncenseBoostsThePowerOfWaterTypeMoves(BattleTestHelper helper) The Sea Incense boosts the power of the holder's Water-type moves by 20%. In battle, its effect is identical to the Mystic Water.In this test, an Azurill that holds an Sea Incense and knows the move Waterfall faces an Azumarill that knows the move Sleep Talk.
Turn 1 The Azumarill uses Sleep Talk. The Azurill uses Waterfall. - We verify that the Azurill's Waterfall had an power value 20% higher than Waterfall's base power.
-
testWaveIncenseBoostsThePowerOfWaterTypeMoves
public static CompletableFuture<TestResult> testWaveIncenseBoostsThePowerOfWaterTypeMoves(BattleTestHelper helper) The Wave Incense boosts the power of the holder's Water-type moves by 20%. In battle, its effect is identical to the Mystic Water.In this test, a Mantyke that holds an Wave Incense and knows the move Waterfall faces a Mantine that knows the move Sleep Talk.
Turn 1 The Mantine uses Sleep Talk. The Mantyke uses Waterfall. - We verify that the Mantyke's Waterfall had an power value 20% higher than Waterfall's base power.
-