As the title says,
I would like to apply a stat change that is based on variable. This is what I wrote just to test if conditional branches would work in the note tag, but after testing I couldn't seem to get it to work (but also no errors were shown, so I think I wrote the code right?
)
I tried googling to see if it were even possible to use conditional branches in note tags with Equip Core but couldn't find any definite answers.
What this is technically checking is the player's current MP value (not maximum MP to be clear). The goal is to apply a different stat boost depending on the player's current MP. I would prefer to use the variable conditional branch to check the player's MP, but if that isn't possible then if it's just possible to check player's MP without the variable that would be fine too.
Thank you for your help
I would like to apply a stat change that is based on variable. This is what I wrote just to test if conditional branches would work in the note tag, but after testing I couldn't seem to get it to work (but also no errors were shown, so I think I wrote the code right?
)
JavaScript:
<Custom Parameters>
if ($gameVariables.value(6) < 16) {
atk = atk * 2;
}
</Custom Parameters>
I tried googling to see if it were even possible to use conditional branches in note tags with Equip Core but couldn't find any definite answers.
What this is technically checking is the player's current MP value (not maximum MP to be clear). The goal is to apply a different stat boost depending on the player's current MP. I would prefer to use the variable conditional branch to check the player's MP, but if that isn't possible then if it's just possible to check player's MP without the variable that would be fine too.
Thank you for your help
