Hi!
I didn't understand exactly how are you applying a personality to an actor. If it is through another plugin, or through a class ID. I will assume that you use a variable to set a personality to an actor, but let me know how you are doing that.
Either way, I think you can use one single variable id per actor, that stores their personality.

const personality = $gameVariables.value(ID)
const rates = {
docile: 50,
cool: 70,
brave: 125,
}
const finalRate = rates[personality] || 100
const rawValue = this.rawParam("atk")
return Math.round(rawValue * ((finalRate - 100) / 100))
Basically, if you change that variable value inside your game, you automatically changes the actor personality and the template will reflect those changes.
You can add multiple personalities inside the brackets, following the pattern already set.
If your attack is 200:
- docile = 50% of ATK base = 100
- cool = 70% of ATK base = 140
- brave = 125% of ATK base = 250
- personality not found = 100% no changes = 200
Conclusion
You will have the work to copy and paste that formulas inside each parameter field on a template, and change the parameters ID or short name ("atk", "def", etc...).
Let me know if it helps.