Hmm... I'm trying to create a skill effect where one actor steals the TP from another.
I'm utilizing VE - Battle Motions for this one, so what I'd need is the proper way to set a variable with the TP value of the target actor, before then doing the other effects. A snippet of the action sequence:
The "????" is where I'd need to evaluate the TP of the target. Nothing I have tried (i.e. "b.tp" among others) has worked. It's easy enough to grab the TP value of a specific actor, or a specific battler based on their position, but I haven't found what can grab the TP value of the intended TARGET of the action.
I'm utilizing VE - Battle Motions for this one, so what I'd need is the proper way to set a variable with the TP value of the target actor, before then doing the other effects. A snippet of the action sequence:
JavaScript:
<action sequence: execute>
eval: $gameVariables.setValue(6, ????)
animation: all targets, action
wait: all targets, animation
tp: all targets, -100
animation: user, 2
wait: user, animation
tp: user, + $gameVariables.value(6)
</action sequence>
The "????" is where I'd need to evaluate the TP of the target. Nothing I have tried (i.e. "b.tp" among others) has worked. It's easy enough to grab the TP value of a specific actor, or a specific battler based on their position, but I haven't found what can grab the TP value of the intended TARGET of the action.
