Ed19

Veteran
Veteran
Joined
Dec 29, 2012
Messages
308
Reaction score
121
First Language
Empty
Primarily Uses
N/A
I need help with my final boss revive mechanic, let's say like this :
Boss A
Minion 1
Minion 2

The boss has the "minion shield" buff, so the boss is completely invulnerable when the minions are still alive.

So, here's my plan :
I would like the boss revives all minions after 3-5 turns after all minions are defeated.
I mean ALL minions,
because if he only resurrects one minion, the player might not have enough time frame to damage the boss.

I'm using Yanfly Passive States, buff states core
Maybe I could use Yanfly AI Core too?

Any help will be appreciated,

cheers
 

Harosata

Dramatic Lightning's BFF
Veteran
Joined
Aug 20, 2015
Messages
250
Reaction score
82
First Language
English
Primarily Uses
RMMV
My guess is...
Every turn: If troop count is one (or if every minion is dead), Variable increases by 1; else (if even one minion is still alive), variable is 0 and switch is off.
Also, if Variable is equal or more than 3, turn Switch on.

Switch is the condition for a Revive All skill.
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
6,114
Reaction score
5,841
First Language
English
Primarily Uses
RMVXA
The best plugin to use for this would probably be Hime's Custom Page Conditions. Use multiple conditions in a Troop Page Event to check whether ALL minions are KO'ed. The exact way you'll want to add and remove the Invulnerability state and respawn the minions is up to you, but it's definitely do-able with this approach.
 

Silva

Scoobityboo
Veteran
Joined
Nov 5, 2018
Messages
402
Reaction score
225
First Language
English
Primarily Uses
RMMV
You shouldn't really need a plugin for this. Like @Harosata said, check if all minions are dead and increase a variable, after that either activate a skill that revives all the minions or just do it with event commands once the variable reaches a certain number - your choice.

upload_2019-2-21_19-5-27.png
 

Zarsla

Veteran
Veteran
Joined
Jan 23, 2015
Messages
712
Reaction score
231
First Language
English
Primarily Uses
Here's how to do it with no plugin and no code just eventing.
 

Attachments

  • Screenshot (6).png
    Screenshot (6).png
    731.2 KB · Views: 14
  • Screenshot (7).png
    Screenshot (7).png
    767.5 KB · Views: 14
  • Screenshot (8).png
    Screenshot (8).png
    750.9 KB · Views: 14

Ed19

Veteran
Veteran
Joined
Dec 29, 2012
Messages
308
Reaction score
121
First Language
Empty
Primarily Uses
N/A
I got it. Zarsla's event works properly. thanks everyone.
 

Latest Threads

Latest Posts

Latest Profile Posts

Finally got my new Discord Server up & Running! I'm still improving it as much as I can, & I'm open for any Suggestions!
I've been busy trying out different art styles for my game.

Enemies deserve some spotlight also
hackingCompressed.gif
I think I can make a text-based mini-game with almost zero art assets and with code only...just a lot of code as assets all by themselves. :kaojoy:
A video update on the progress I've been making on the cutscenes. :kaosalute:

Forum statistics

Threads
115,872
Messages
1,093,625
Members
151,111
Latest member
Ziffle
Top