Problem with multi-hit skills and immortality

UmbyPokochan

Veteran
Veteran
Joined
Oct 4, 2020
Messages
33
Reaction score
5
First Language
English
Primarily Uses
RMMV
I have a boss that I set to immortal at the start of battle, then when HP reaches zero it plays an animation and then removes immortal. The problem is that when its HP reaches zero before all the hits are done, the custom animation plays and then the player skill continues and then the boss dies. I want the skill to abort as soon as the boss HP reaches zero. What's the easiest way to fix this? I found a thread that said this is caused by the BattleEngineCore plugin and that you could do it with the action sequences but I couldn't figure it out. I don't have an action sequence specifically for multiple hits. I just use this one that repeats multiple times:


<target action>

motion swing: user

motion wait: user

action animation: target

wait: 25

action effect: target

wait: 5

death break

wait: 20

</target action>
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
540
Reaction score
219
First Language
english
Primarily Uses
RMMV
collapse: target
If the target is to be dead at this point, this will be the point in the
action sequence where you can promt the game to kill the target as long
as the target has 0 HP.
 

UmbyPokochan

Veteran
Veteran
Joined
Oct 4, 2020
Messages
33
Reaction score
5
First Language
English
Primarily Uses
RMMV
collapse: target
If the target is to be dead at this point, this will be the point in the
action sequence where you can promt the game to kill the target as long
as the target has 0 HP.
do you know where to put it? I tried putting it right after death break but it didn't do anything.

EDIT: I found a plugin called Action Sequence Nested If in this thread: https://forums.rpgmakerweb.com/index.php?threads/action-sequence-nested-if.79325/

Then made my action sequence look like this:
Code:
<target action>
if target.hp <= 0
wait:1
else
motion thrust: user
motion wait: user
action animation: target
wait: 25
action effect: target
wait: 5
death break
wait: 20
end
</target action>
This solves my problem with the battle event but causes a second one. The skill is supposed to attack 3 random enemies, but sometimes it only does 2 attacks if both targets die. I can't figure out how to fix that part. How can I get it to only choose targets that are alive? I tried putting "target: existing enemies" but it didn't work.

EDIT 2: If I buy Irina's Action Sequence Impact it will give me access to "next target" ... will that help? i don't want to buy it if it won't do what I need.
 
Last edited:

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

Latest Threads

Latest Posts

Latest Profile Posts

People1.png & SF_People1.png added!!!!

Adventurer:
"Why your body looks like a bird?"

Stranger:
"Because I'm harpy"

Adventurer:
"Clap along if you feel like a room without a roof"

*Both dancing to Pharrell Williams song*
Stream will be live shortly with a make-up session of the Interactive Text Adventure! Feel free to drop by!
Pootscooter wrote on Pharonix's profile.
Hey @Pharonix, just wondering what you're up to lately and if you've had an opportunity to check out the LTBS thread in the past few days...(a couple of us could really use your expertise). Hope you are well and Happy Thanksgiving!
Anyone know the best size image to put in signature?

Forum statistics

Threads
105,501
Messages
1,014,234
Members
137,163
Latest member
GhostPunishR
Top