Making an enemy immortal whenever another enemy is alive, how?

MrWeeb

Warper
Member
Joined
Mar 15, 2020
Messages
4
Reaction score
0
First Language
Dutch
Primarily Uses
RMMV
I want to make a battle that whenever there's an enemy other than the boss alive the boss will reciece 0 damage from every single attack. The battle consists of 3 phases, the first enemy group appears at 75% HP, the second at 50% and the final at 25%.

Currently it only works for the first group but because it removes the immortal state when any of the enemies are dead it keeps getting removed the turn after the second group appears, how can I change it so that it won't be removed when one of the enemies that appear is defeated but only when there are 0 other enemies alive?

I use MV btw.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
30,907
Reaction score
7,447
First Language
German
Primarily Uses
RMMV
it depends a lot on how you handled both the appearing and the immortality.
Usually I would use a single turn 0 troop event to give the immortal state, and then one troop event for each enemy to handle what should happen when that enemy dies, checking which states to remove and which enemies to appear.

if you work differently, we need a screenshot of your events
 

MrWeeb

Warper
Member
Joined
Mar 15, 2020
Messages
4
Reaction score
0
First Language
Dutch
Primarily Uses
RMMV
it depends a lot on how you handled both the appearing and the immortality.
Usually I would use a single turn 0 troop event to give the immortal state, and then one troop event for each enemy to handle what should happen when that enemy dies, checking which states to remove and which enemies to appear.

if you work differently, we need a screenshot of your events
That helped a lot, it works now. Thank you.
 

MrWeeb

Warper
Member
Joined
Mar 15, 2020
Messages
4
Reaction score
0
First Language
Dutch
Primarily Uses
RMMV
That helped a lot, it works now. Thank you.
It doesn't, Now the immortal state keeps disappearing after one turn because I thought if I made it 1 turn and that it always gets reapplied whenever the enemies are alive but it either disappears after one turn or after one of the two enemies dies.
 

MrWeeb

Warper
Member
Joined
Mar 15, 2020
Messages
4
Reaction score
0
First Language
Dutch
Primarily Uses
RMMV
My current layout of events is:

Page 1: The battle intro (Doesn't have anything to do with the rest, it's just an intro)
Page 2: When the boss is at 75% HP or lower the first two enemies appear and the immortal state gets applied.
Page 3 and 4: Same as 2 but at 50% and 25%
Page 5-10 Turn ends, conditional branch: If enemy is alive apply immortal state.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
30,907
Reaction score
7,447
First Language
German
Primarily Uses
RMMV
your "layout" is useless because it misses too many details on what you have done.
If you want help we need screenshots of every troop event and the immortal state to see what you have done.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Ami
--- Diary ---

M.Mage: It's the F.Mage's Diary. While she isn't here,i can read it.

May, 10: I'm hurt after the battle with the Minotaur. But luckily,F.Healer heal me with her Heal-2. That why,i Fall in Love with her.

M.Mage: Eh???
So... some of my Desktop hardware has kicked it apparently (still trying to figure out what and how at the moment :/ ) .... yay?
Stream will be live shortly with some Darkest Dungeon! Feel free to drop by!
Made a HUGE (YYOOOOJJ) Update to Monstructs and moving towards a Steam Early Access release!

Forum statistics

Threads
104,224
Messages
1,004,808
Members
135,740
Latest member
Animalblack
Top