Implements more abilities
Build / Build (push) Successful in 47s

This commit is contained in:
Deukhoofd committed 2025-06-09 12:10:25 +02:00
1 parent af0126e413
commit 00005aa4bf
50 files changed
+80425 -20485

No files matched your search

@@ -22,6 +22,13 @@ public class Sleep : Script
{
// 1-3 turns of sleep
Turns = battleData.Battle.Random.GetInt(1, 4);
source.RunScriptHook(x => x.CustomTrigger(CustomTriggers.ModifySleepTurns,
new Dictionary<StringKey, object?>
{
{ "pokemon", pokemon },
{ "turns", Turns },
}));
Turns = Math.Max(1, Turns);
}
}