Does this Ace trick need to be done in MV?

There was a trick I learned in Ace for dealing with random roaming troops to do kill X mobs quests. Does this trick have to be done in MV as well, or is there a different way to accomplish this in MV? This is the trick I'm asking about:

In the troop event for the slime:
-First page: Set to occur on turn 0 * 0.
-Add state immortal to the slime.

-Second page: Set it to occur if slime's HP <= 0%
-Remove state immortal from the slime
-add one to the variable.
-Add state KO to the slime.
Yes, this trick is still necessary.
Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/does-this-ace-trick-need-to-be-done-in-mv.85939/