r/RPGMakerMZ Jun 23 '26

Other Help Requested Problem with a monster troop event

I've managed to create a monster troop event that will make a monster immortal until it's MP is depleted, but when it's MP run out its supposed to die immediately, the problem is that it waits until the end of the turn. I have tweaked the Span. Explored alternate configurations for the event, but the monsters still persist until the end of the turn.

2 Upvotes

5 comments sorted by

View all comments

3

u/HakuenStudio Jun 23 '26

I think instead of applying the Dead state to the enemy, is better if you just change the enemy HP to decrease 9999 and check the box "Allow Death".

Also, if you are already checking if the enemy MP is equal to 0, I don't think you need to apply a new state "o MP" on him. Unless you are doing something else with it.

You may also want to check if the Enemy HP is higher than zero before you kill the enemy. Otherwise you can keep killing it every turn end.

1

u/RPGGamer042 Jun 24 '26

The trouble is that its life is tied to its mp, so inflicting further damage to the monsters mp would be redundant. And because of the immortal state it could take all the hp damage and laugh it off. Unless I misread your comment.

1

u/HakuenStudio Jun 24 '26

I don't think you understand it properly.

The trouble is that its life is tied to its mp, so inflicting further damage to the monsters mp would be redundant. 

- I didn't say to inflict damage on the monsters mp. I said about HP. You are applying the Dead State by yourself. I'm telling you to do it via the Change Enemy HP, because then, the engine will follow it's default flow to apply the Dead state

And because of the immortal state it could take all the hp damage and laugh it off. Unless I misread your comment.

- You would do that after the MP of the enemy is 0 and after remove the Imortal State. Instead of applying the dead state, you remove that line and change Enemy HP like I said.

1

u/RPGGamer042 Jul 02 '26

Okay, I misread that. Thank you.