v18 Weather Issue

This thread pertains to v18 of Pokémon Essentials.

phantombass

Rookie
Member
Joined
Sep 21, 2020
Posts
5
Age
28
Hello friends. I'm having a problem with moves not doing their proper damage within weather. I figured a Smoochum should be able to be 2HKO'd at worst in Sun from an Ember from a Sun Castform, especially since I buffed its stats. But it took 5 hits. Any ideas on why the damage calc for weather is off?

To clarify, I've now tested and found that the weather damage scripts are doing the reverse of what they should be. Tested water gun in rain on a Kakuna, does near half in clear weather, does about 1/4 in Rain
Hello friends. I'm having a problem with moves not doing their proper damage within weather. I figured a Smoochum should be able to be 2HKO'd at worst in Sun from an Ember from a Sun Castform, especially since I buffed its stats. But it took 5 hits. Any ideas on why the damage calc for weather is off?
 
Last edited:

Maruno

Pokémon Essentials dev
Essentials Developer
Joined
Apr 5, 2017
Posts
409
The code looks fine. Have you checked the actual numbers being calculated and compared them to expected values? How many times did you run your tests? Are there any other factors in play that could affect the damage dealt?
 
Top