I'm trying to add a new weather to Essentials that damages certain types and heals others. I put
https://pastebin.com/YbqYeGd4 into PokeBattle_Battle.
I added references for it to PBWeather, PokeBattle_Battler, and PokeBattle_AI. When I use the move, the weather activates and seems to work but none of the secondary effects work at all. What am I missing?