Can anyone spot what my Common Event does wrong?

Wacky

Villager
Member
Joined
Sep 18, 2016
Messages
21
Reaction score
2
First Language
English
Primarily Uses
Greetings all!


I've worked on a skill after reading a few threads on summoning minions to a in progress battle.  After a few tries I managed to code a common event tied to a skill and variable that would keep adding minions until it reached the max of 8 and start over again.


It's worked flawlessly for two bosses in my first game, but the final one doesn't function as the other two.  In it, the boss only heals itself to max hitpoints before the fight continues.  This has led me to believe that maybe said NPC isn't being viewed as Monster #1 but one of the other 8, despite having been added first to the troops list.


Below is the coding I did.  If anyone has any thoughts on this, please let me know.


Thanks!


Sign--


         Wacky

Summon Minion Commen Event.gif
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
That combined image is way to small to see anything.  Adding them as individual images allows us to see them at full size.  Even when I choose "full size" I can't read anything there.


You could delete all the enemies from that troop and add them again, making sure the boss is added first, just to be sure.
 

Wacky

Villager
Member
Joined
Sep 18, 2016
Messages
21
Reaction score
2
First Language
English
Primarily Uses
I had no problem viewing it when I clicked on it, and then again with the magnifiying glass.  It became full-sized.


But I'll try what you suggested just to be sure.


Sign--


         Wacky
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Why are you testing the variable each time and only checking one particular enemy with each one?


What if Summon Undead is set to 5, but enemy 3 is the one that's dead?  The code that checks Enemy 3 won't be run because the variable is set to 5.  And the code that checks for the variable being 5 won't do anything because it's not looking at enemy 3.
 

Wacky

Villager
Member
Joined
Sep 18, 2016
Messages
21
Reaction score
2
First Language
English
Primarily Uses
I have two Conditional breaks in it for just that reason; the first part checks the value.  If that is not met (in this case Summon Undead is set to 5) it moves to the next variable until it loops around.


Or do you mean what if all enemies are alive?


Sign--


         Wacky
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,574
Latest member
nikisknight
Top