Hi. I have been pulling my hair out with plugins that are supposed to add more parameters for actors, so I gave up and tried to use variables in conjunction with yanfly buff states core, but I've run into an issue. This is supposed to check if the user is actor 1, and it increases/decreases a variable accordingly, otherwise change the other variable. The issue is that is does Nothing
Anyone have any advice to get this working? (Or have any better solutions to giving actors more parameters)
<Custom Apply Effect>if (user.actorId() == 1) { $gameVariables.setvalue(21, $gameVariables.value(21) + 1);} else { $gameVariables.setvalue(26, $gameVariables.value(26) + 1);}</Custom Apply Effect><Custom Remove Effect>if (user.actorId() == 1) { $gameVariables.setvalue(21, $gameVariables.value(21) - 1)} else { $gameVariables.setvalue(26, $gameVariables.value(26) - 1)}</Custom Remove Effect>Anyone have any advice to get this working? (Or have any better solutions to giving actors more parameters)