Class WideLensTests
java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.item.WideLensTests
Tests for the Wide Lens
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture
<TestResult> Boosts the holder's accuracy by 10%.
-
Constructor Details
-
WideLensTests
public WideLensTests()
-
-
Method Details
-
testRaisesAccuracyByTenPercentOfMovesBaseAccuracy
public static CompletableFuture<TestResult> testRaisesAccuracyByTenPercentOfMovesBaseAccuracy(BattleTestHelper helper) Boosts the holder's accuracy by 10%.In this test, a Weepinbell that holds a Wide Lens and knows the move Cut faces a Miltank that knows Sleep Talk.
Turn 1 Miltank uses Sleep Talk, which fails. Weepinbell uses Cut. - We verify that the Weepinbell's Cut original accuracy is 95. We verify that the Weepinbell's Cut's accuracy after Wide Lens is (95 * 1.1).
-