Hello,
I'm blocking on an action sequence.
I would like that if the player is affected by a state, the player does additional damage based on another skill. I'm just starting out and I'm not sure if this is feasible but I prefer to ask just in case.
Here's my code for skill A, I put in bold where I can't solve the problem (it's not entirely mine):
<setup action>
clear battle log
display action
mmortal: targets, true
</setup action>
<whole action>
if user.attackMotion() !== 'missile'
move user: targets, front, 20
else
perform start
end
motion standby: user
wait for movement
face user: target
</whole action>
<target action>
motion attack: user
wait: 10
attack animation: target
wait for animation
action effect
if user.isStateAffected(334)
action effect of skill B
end
</target action>
Sorry for my English
Thank you for your help.
I'm blocking on an action sequence.
I would like that if the player is affected by a state, the player does additional damage based on another skill. I'm just starting out and I'm not sure if this is feasible but I prefer to ask just in case.
Here's my code for skill A, I put in bold where I can't solve the problem (it's not entirely mine):
<setup action>
clear battle log
display action
mmortal: targets, true
</setup action>
<whole action>
if user.attackMotion() !== 'missile'
move user: targets, front, 20
else
perform start
end
motion standby: user
wait for movement
face user: target
</whole action>
<target action>
motion attack: user
wait: 10
attack animation: target
wait for animation
action effect
if user.isStateAffected(334)
action effect of skill B
end
</target action>
Sorry for my English
Thank you for your help.