Hello!
I've spent a lot of time trying to figure out how to execute this within the formula of an attack skill:
" (If user of skill has specific skill, set specific variable to specific number) (*insert attack formula*) "
I have checked this script list and have gone through forum posts like this one, and the best I've been able to come up with is:
I understand the syntax is completely wrong with this, but I'm java illiterate (I pay for it every day I work on this lol).
Any help with this would be greatly appreciated. I initially had a web of common events meant to solve this issue, but after testing it for a while, a couple holes cropped up that cannot be fixed by non-script means. Its unfortunate.
Thank you all.
I've spent a lot of time trying to figure out how to execute this within the formula of an attack skill:
" (If user of skill has specific skill, set specific variable to specific number) (*insert attack formula*) "
I have checked this script list and have gone through forum posts like this one, and the best I've been able to come up with is:
if ($gameActors.actor($gameParty._targetActorId).skills().contains($dataSkills[43,44]) then $gameVariables.setValue(13, 1); 5 - b.def * 2I understand the syntax is completely wrong with this, but I'm java illiterate (I pay for it every day I work on this lol).
Any help with this would be greatly appreciated. I initially had a web of common events meant to solve this issue, but after testing it for a while, a couple holes cropped up that cannot be fixed by non-script means. Its unfortunate.
Thank you all.