Adds more tests, fixes
All checks were successful
Build / Build (push) Successful in 1m7s

This commit is contained in:
2026-07-04 13:03:54 +02:00
parent 8fbf22a987
commit f9878e76ba
14 changed files with 1564 additions and 8 deletions

View File

@@ -27,6 +27,8 @@ public class Drain : Script, IScriptOnInitialize, IScriptOnSecondaryEffect
target.RunScriptHook<IScriptCustomTrigger>(x => x.CustomTrigger(CustomTriggers.ModifyDrain, args));
invert = args.Invert;
healed = args.Healed;
if (healed == 0)
healed = 1;
if (invert)
{