Good evening,
Utilizing the YEP_WeaponUnleash plugin, I'm attempting to create a script embedded within state 61 that checks to see if the actor is weapon-equipped "Bare Hands". If the actor is bare-handed, their attack command would be replaced by Skill 24. Otherwise, they assume the default attack Skill 1. I found the example script on Yanfly's site, and my failed script is below:
Community assistance fixing the script is appreciated.
www.yanfly.moe
Utilizing the YEP_WeaponUnleash plugin, I'm attempting to create a script embedded within state 61 that checks to see if the actor is weapon-equipped "Bare Hands". If the actor is bare-handed, their attack command would be replaced by Skill 24. Otherwise, they assume the default attack Skill 1. I found the example script on Yanfly's site, and my failed script is below:
JavaScript:
<Custom Replace Attack>
if (user.isWtypeEquipped(Bare Hands)) {
id = 24;
} else {
id = 0;
}
</Custom Replace Attack>
Community assistance fixing the script is appreciated.