Hello again, my idea is maybe too hard, but im try to make a battle victory counter for one armor category when this value reaches three - each subsequent battle victory will add +10% to the fact that the character will receive a state of -50% to all his characteristics.
I'm thinking of doing this through the WAY_CustomOnEquipEval plugin. When a character puts on armor, he turns on the switch, which adds a variable. This variable is included in the cycle, where each win adds +1. When the variable reaches 3, it turns on another switch, which makes the variable with a random value from 1 to 100. And after the check: If there are 4 wins and the value is equal to or greater than 90(10%). After that: If there are 5 wins and the value is equal to or greater than 80 (20%) and so on.
In general, I need to somehow keep track of which armor the character is wearing, without creating 3 thousand different common events. Is it possible to use some kind of plugin to add a new variable to a common event or something like that to implement this?
I'm thinking of doing this through the WAY_CustomOnEquipEval plugin. When a character puts on armor, he turns on the switch, which adds a variable. This variable is included in the cycle, where each win adds +1. When the variable reaches 3, it turns on another switch, which makes the variable with a random value from 1 to 100. And after the check: If there are 4 wins and the value is equal to or greater than 90(10%). After that: If there are 5 wins and the value is equal to or greater than 80 (20%) and so on.
In general, I need to somehow keep track of which armor the character is wearing, without creating 3 thousand different common events. Is it possible to use some kind of plugin to add a new variable to a common event or something like that to implement this?