I'm a little confused on how to properly use the <Custom Select Condition> notetag and what the 'condition' var really is. Are we
suppose to write out the complete javascript syntax or can we use the conditions yanfly put inside the plugin.
I'm trying to create a long range spear that can attack into Row 2 if the battler is in row 1 else if the battler is in Row 2 then target selection should be limited to Row 1. I tried this and it did not work.
<Custom Select Condition>
if(battler.row() === 2){
Row 1 Max = true;}
else{
Row 2 Max = true;}
</Custom Select Condition>
suppose to write out the complete javascript syntax or can we use the conditions yanfly put inside the plugin.
I'm trying to create a long range spear that can attack into Row 2 if the battler is in row 1 else if the battler is in Row 2 then target selection should be limited to Row 1. I tried this and it did not work.
<Custom Select Condition>
if(battler.row() === 2){
Row 1 Max = true;}
else{
Row 2 Max = true;}
</Custom Select Condition>