Multihit skills: Changing target if the first dies

Tazzyneo

Villager
Member
Joined
Mar 1, 2020
Messages
15
Reaction score
3
First Language
French
Primarily Uses
RMMV
Hello! (maybe hello again ? x)
I'm trying to do a 3 hit attack inspired by Nolegs abilities in EBF5.
I'm using YEP action sequences and even Irina's ActSeqImpact Plugin which allows "Previous" and "Next Target" in action sequences.
I forgot to mention: I would like the Skill to add 1 Bonus hit if his previous target died.
So: 3 hits, if the 2nd kills the target, it will do the 3rd + 1 Bonus hit if the second target dies....

After searching on internet I wasn't able to find how to create this effect. Does someone know?
Thanks ^^

The 3 things I think I will need are:
if (target hp = 0) {
-(randomly select a new target)
-(add 1 hit)
}
 
Last edited:

Icenick

Veteran
Veteran
Joined
Mar 28, 2012
Messages
418
Reaction score
64
First Language
English
Primarily Uses
Im very curious about this as well, I been trying to do something similar but a bit more complicated because I wanted specific targets, let me know if you figure it out!

The ideas I had were using YEP Action Seq, you can input if and else statements as well as other script, I dont know how much in theory if you knew how to grab another enemy. Then maybe something like this?
Code:
<target action>
action animation: target
wait for animation
action effect
if target.isStateAffected(1)
COLLAPSE: target
** grab next target **
action animation: target
wait for animation
action effect
else
action animation: target
wait for animation
action effect
end
</target action>

I was also thinking of tweaking Chain Lightning, to include an if the target is killed then get another random target, however I still dont know how to only target the specific enemy and not just hit another random enemy on the next hit.
 

Tazzyneo

Villager
Member
Joined
Mar 1, 2020
Messages
15
Reaction score
3
First Language
French
Primarily Uses
RMMV
Let's up this.
For now my skill is just a "3 hit attack".
I saw many times people speak about multi hit attacks with changing targets, but never how to do it.
Icenicks idea may help out but even with Chain Lightning I have no idea...^^'
 

Latest Threads

Latest Posts

Latest Profile Posts

Anyone going to talk about Chris Pratt Mario?
My friend just gave me chocolate milk at lunch today! My day is now 1000x better. Yay, choco milky!! :kaojoy:
RivalRamen_Games wrote on jacobv1014's profile.
I really like your profile picture! Who is that in it? is she an OC?
Making his first game

Forum statistics

Threads
115,332
Messages
1,089,080
Members
150,000
Latest member
dopeboy01
Top