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 Profile Posts

Today's my first login since Jan 2020. Time sure flies. Sorry to everyone's messages i missed.
It's satisfying to master the usage of a hard plugin, then making it do what you want. ( o w o)!!
I'll be redesigning some of the main characters from my many wip stories :kaohi:
gWBWMzT.jpg

Starting with the (chronologically) first of them, Cedric!
gotta love when a plugin you thought had nothing to do with why something else wasn't working winds up being the issue...
Doing RPG Maker News for 26th September 2021

Forum statistics

Threads
115,400
Messages
1,089,578
Members
150,140
Latest member
JackYonder
Top