Closed C-Ezra-M closed 2 years ago
Also changed the class name to accommodate for this change.
Bulbapedia article on Grav Apple. Bulbapedia's backend issues have been fixed.
Posted this message just for the permalink.
The function code "LowerTargetDefense1DoublePowerInGravity" is referenced in an AI script. Can you change that as well to the new name "LowerTargetDefense1PowersUpInGravity"?
Just fixed this (at first, I didn't notice the new name part). Also, is the change in how the multiplier is calculated because the power must be interpreted as an integer, not as a float?
I suspect it doesn't matter if the base damage is a float, but multiplying it by 3/2 is at least consistent with, say, "HitsAllFoesAndPowersUpInPsychicTerrain". The change of Grav Apple's function code name is also to make it consistent with this function code.
In the official games, Grav Apple has a damage boost of 1.5x under Gravity, not 2x. This has been fixed.
Source: Bulbapedia. However, I took this from the French version of the article, as Bulbapedia has some backend issues right now (opening most pages gives an HTTP 503 response, but BulbaTech is working on removing this issue).
Updated the comment above the class definition to account for this change.