So I am in the process of making a new class using the BG3 toolkit and I seem to have hit a wall.

The problem is I am trying to create a passive feature that can be toggled on during combat with the following properties

If you get a killing blow it

1. restores your action point

2. lets you move up to half your speed


And it will do this until you no longer get a killing blow at which point it toggles off and you need a long rest.


I should also say I know nothing about coding, so any help getting this to work using the Stats and Uuid Object editors would be greatly appreciated.


I have tried copying a passive that restores an action point and telling it to activate OnDamage and IsKillingBlow() but when I try it I don't get the action point back.


Anyone have any ideas on what I can do to get it to work?