Well you could get the value of attack. Say between 20-30.
Use Math - Random Function to get a value between these.
Then add whatever other damage(crits/bash/primary stat).
As soon as I'll get home I'll post a more detailed version.
In WEU there's a GUI function that returns an integer and it's named "Advanced - Get Damage bonus", I haven't try it and I don't know if it does what you really want, but could be a beginning
Guys just a heads up I am going to be shutting the site down soon. I am just waiting on the NUON people to decide whether they want to transfer forum data and keep the discord. My email is [email protected] for anyone that wants to keep in touch and I have a facebook too. I will make an official post later. Love you guys and will miss everyone!
I'd rather personally just own a backup of the Nuon data than see it go to AtariAge honestly. If it gets enshittified as per usual, or if some of the "regular" Jaguar folks get there, it's not gonna be fun