More moves

This commit is contained in:
2025-03-21 13:35:12 +01:00
parent 7f5088b763
commit 85b513092a
9 changed files with 149 additions and 11 deletions

View File

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