Fixes all warnings
Build / Build (push) Successful in 49s

This commit is contained in:
Deukhoofd committed 2025-05-19 11:50:51 +02:00
1 parent 015e5819f3
commit eea5697109
125 files changed
+11 -186

No files matched your search

@@ -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>() ||