I'm trying to make it so that a skill gives the user more TP if the actor using it has a specific skill.
<setup action>
if BattleManager.actor().hasSkill(14)
TP +5: user
end
</setup action>
This always gives the user +5 TP, no matter if the user has skill 14 or not. "isLearnedSkill" behaves the same.
<setup action>
if BattleManager.actor().isStateAffected(15)
TP +5: user
end
</setup action>
This seems to work perfectly, but I'd like to have it work on having a skill, not a state. What am I doing wrong?
<setup action>
if BattleManager.actor().hasSkill(14)
TP +5: user
end
</setup action>
This always gives the user +5 TP, no matter if the user has skill 14 or not. "isLearnedSkill" behaves the same.
<setup action>
if BattleManager.actor().isStateAffected(15)
TP +5: user
end
</setup action>
This seems to work perfectly, but I'd like to have it work on having a skill, not a state. What am I doing wrong?