As title says.
I had the idea where, instead of a normal critical, actors perform a Weapon Unleash when they crit and they are using the "Attack" skill. For this, I need said skill to be unable to crit if 1) an actor is using this skill, and 2) said actor has a weapon equipped). YEP's Critical Control does allow the crit rate of a skill to be set through that skill, but so far I've been successful in only disabling actors from critting. For the curious, here's what I've tried using:
I appreciate the incoming education and assistance.
EDIT: effin' typo
I had the idea where, instead of a normal critical, actors perform a Weapon Unleash when they crit and they are using the "Attack" skill. For this, I need said skill to be unable to crit if 1) an actor is using this skill, and 2) said actor has a weapon equipped). YEP's Critical Control does allow the crit rate of a skill to be set through that skill, but so far I've been successful in only disabling actors from critting. For the curious, here's what I've tried using:
Code:
<Critical Rate Formula>
if (user.isActor() && user.weapons().length !== 0) {
rate *= 0;
}
</Critical Rate Formula>
Code:
<Critical Rate Formula>
if (user.isActor() && this.hasNoWeapons()) {
rate *= 0;
}
</Critical Rate Formula>
Code:
<Critical Rate Formula>
if user.weapons().length !== 0) {
rate *= 0;
}
</Critical Rate Formula>
I appreciate the incoming education and assistance.
EDIT: effin' typo