I have an actor with a taunt, plus a few extras, skill. I have set Target Rate to 999% but the enemies will still tend to ignore him and go after some other actor.
Is there an obvious debug which I'm missing?
FYI here is the state called up by the skill. Calling this state is all the skill does.
It has a notetag which, as far as I can see, should not affect the target rate, but I include it in case there's something I've overlooked. What this does is nullify the damage and restore the TP cost of the skill.
Thanks
Is there an obvious debug which I'm missing?
FYI here is the state called up by the skill. Calling this state is all the skill does.
It has a notetag which, as far as I can see, should not affect the target rate, but I include it in case there's something I've overlooked. What this does is nullify the damage and restore the TP cost of the skill.
Code:
<JS Pre-Damage As Target>
if (this.isPhysical() && this.isHpEffect() && value > 0) {
value = 0;
if (DataManager.isSkill(this.item())) {
const tp = user.skillTpCost(this.item());
// Recover the TP.
target.gainTp(tp);
}
target.startAnimation(58);
}
</JS Pre-Damage as Target>
Thanks