More abilities, refactor stealing held items
All checks were successful
Build / Build (push) Successful in 50s
All checks were successful
Build / Build (push) Successful in 50s
This commit is contained in:
@@ -7,6 +7,11 @@ public class FlinchEffect : Script
|
||||
public override void PreventMove(IExecutingMove move, ref bool prevent)
|
||||
{
|
||||
prevent = true;
|
||||
var args = new CustomTriggers.OnFlinchArgs(move);
|
||||
move.RunScriptHook(x => x.CustomTrigger(CustomTriggers.OnFlinch, args));
|
||||
if (args.Prevent)
|
||||
return;
|
||||
|
||||
RemoveSelf();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user