Action Sequence Check State

LeeAceSan

Veteran
Veteran
Joined
Jan 8, 2018
Messages
52
Reaction score
30
First Language
French
Primarily Uses
RMMV
Hi everybody,

I struggle with one thing, I can't find the solution.

Description of the state : Possessed = The battler attack his friends.

I want to check if my active battler has a specific state,

if yes he launch his attack without QTE (timed attack)
if not he launch his attack with QTE (timed attack)

My code (doesn't work :blush:) :

<Timed Attack: weapon>
<Use Timed Attack Action Sequences>

<Target Action>
if user.attackMotion() !== 'missile'
Move USER: TARGET, FRONT, 15
Wait for movement
else
Perform start
end
Wait for movement

if ($gameParty.leader().isStateAffected(17))

Perform action
Motion wait: user
action animation
wait for animation
action effect
death break

else
timed attack
Perform action
Motion wait: user
action animation
wait for animation
action effect
death break

end
clear battle log
perform finish
wait for movement
</target action>
Thanks :thumbsup-left:
 

LeeAceSan

Veteran
Veteran
Joined
Jan 8, 2018
Messages
52
Reaction score
30
First Language
French
Primarily Uses
RMMV
Bump please :D

Should be easy but I don't know that much about lunatic code :blink:
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Do you ever just write or say nonsense? String together words to make a sentence that sounds pretty but is meaningless?
Writing down my ideas for my next game during break times at work XD I need to finish my current one very soon.
I survived Baudelaire and Bukowski, but I can't face C. Lispector. :kaoswt:
I'm a bit late, but Happy New Year to everyone! And to all of those who have an Asian heritage that celebrates the New Year, I wish you all get many fat red envelopes hehehe~

Forum statistics

Threads
93,652
Messages
914,312
Members
123,237
Latest member
severopv
Top