In my RPG I want to implement a mechanic where the Attack Times trait is associated with a particular stat. In this case, Luck.
Here's how I want it to work: For each point of Luck, there's a 2% chance you'll make an extra attack. This keeps increasing until the stat hits 50, at which point it's guaranteed to hit twice, and every point above 50 is a 2% chance you'll make a third attack. Any idea how I can get this mechanic to work? I'm good at basically everything about MV except using Javascript, so any help would be appreciated. If there's a plugin that does this already I haven't found it yet.
Here's how I want it to work: For each point of Luck, there's a 2% chance you'll make an extra attack. This keeps increasing until the stat hits 50, at which point it's guaranteed to hit twice, and every point above 50 is a 2% chance you'll make a third attack. Any idea how I can get this mechanic to work? I'm good at basically everything about MV except using Javascript, so any help would be appreciated. If there's a plugin that does this already I haven't found it yet.