More moves
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user