Fixes all warnings
All checks were successful
Build / Build (push) Successful in 49s

This commit is contained in:
2025-05-19 11:50:51 +02:00
parent 015e5819f3
commit eea5697109
125 changed files with 11 additions and 186 deletions

View File

@@ -7,7 +7,7 @@ public class Synthesis : Script
public override void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit)
{
var healModifier = 0.5f;
var weatherName = target.BattleData?.Battle?.WeatherName;
var weatherName = target.BattleData?.Battle.WeatherName;
if (weatherName == ScriptUtils.ResolveName<Weather.Sunny>())
healModifier = 2 / 3f;
else if (weatherName == ScriptUtils.ResolveName<Weather.Rain>() ||