More move scripts

This commit is contained in:
2025-05-03 16:51:44 +02:00
parent f8c43b6ba0
commit 1973ff50fa
52 changed files with 704 additions and 78 deletions

View File

@@ -32,11 +32,10 @@ public class Hail : Script, IWeatherScript
if (pokemon.Types.Contains(iceType))
continue;
var ignoresHail = false;
pokemon.RunScriptHook(x => x.CustomTrigger(CustomTriggers.IgnoreHail,
new Dictionary<StringKey, object?>()
{
{ "ignoresHail", ignoresHail },
}));
pokemon.RunScriptHook(x => x.CustomTrigger(CustomTriggers.IgnoreHail, new Dictionary<StringKey, object?>
{
{ "ignoresHail", ignoresHail },
}));
if (ignoresHail)
continue;