I'm using yanfly row formation and target selection.
I have made a spear that can only be used in the first row and can target the first or second enemy row.
I'm wondering if there is a way to make the spear change its attack selection based on which row it's in,
such as above plus if in row 2 can only target enemy row 1.
---------
<only row:1>
<select conditions>
row 2 max
</select conditions>
-----------
<only row 2>
<select conditions>
front row only
</select conditions>
--------------
is there a way to get one weapon to work with both options?
I've tried something like this
<custom select condition>
if battler.row(1) {max row 2}
else
if battler.row(2) {front row only}
else
{row only 1,2}
</custom select condition>
but I just get errors...
I have made a spear that can only be used in the first row and can target the first or second enemy row.
I'm wondering if there is a way to make the spear change its attack selection based on which row it's in,
such as above plus if in row 2 can only target enemy row 1.
---------
<only row:1>
<select conditions>
row 2 max
</select conditions>
-----------
<only row 2>
<select conditions>
front row only
</select conditions>
--------------
is there a way to get one weapon to work with both options?
I've tried something like this
<custom select condition>
if battler.row(1) {max row 2}
else
if battler.row(2) {front row only}
else
{row only 1,2}
</custom select condition>
but I just get errors...