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

Finally got my website fixed and the security sorted so it's been a productive day. Can I go to sleep now? I mean... I don't need to work right?
It's always a good idea to refresh yourself on what your plugins do. I'm working on a map with opening walls, and I was about to tear my hair out over how much image editing and hand-constructing of autotiles I'd have to do, when I looked again and saw @Shaz 's Tile Changer could copy areas from another map.
"sorry it took me so long to respond" - can we please agree not to say that anymore unless it actually took a long time?! (Like 36hrs at least) I mean, I'm running out of funny responses here xD
Ugh... 4:53AM over here and I can't sleep so why not just game make.
I just love the MV feature that allows you to create your own animations!

Forum statistics

Threads
115,922
Messages
1,094,027
Members
151,175
Latest member
vyxel96
Top