I'm trying to make an enemy skill trigger a Common Event that triggers a state change in the targeted (and hit) actor. I have YEP_BuffsStatesCore
This seems like a very simple thing to do but searching the forums and the rest of the internet merely shows that it can be done, just not how. In the character, I have the Common Event working (I can get text from the CE to show) and the best I can figure is to use a Script, but my JS knowledge is beginner. I know variables, variable types, operators, and to be aware that everything is case-sensitive but not a whole lot more than that.
my attempt at a script for this in CE (without conditionals for hit or miss) is:
This seems like a very simple thing to do but searching the forums and the rest of the internet merely shows that it can be done, just not how. In the character, I have the Common Event working (I can get text from the CE to show) and the best I can figure is to use a Script, but my JS knowledge is beginner. I know variables, variable types, operators, and to be aware that everything is case-sensitive but not a whole lot more than that.
my attempt at a script for this in CE (without conditionals for hit or miss) is:
I don't even know what to use from the RMMV library as some links that might have been informative no longer work.