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
31,355
Reaction score
7,669
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
31,355
Reaction score
7,669
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 Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,990
Members
137,562
Latest member
tamedeathman
Top