Boss Help

So I'm trying to make my first few bosses, and running into some snags.


With the first boss, I want to have him charge up and then unleash a powerful attack.  I've successfully created a "charged" state and a power hit skill, and those work fine.  What I'm having trouble with is making the boss execute the sequence.  When I set it so that he can always attack normally . . . he always attacks normally, which I suppose I should have seen coming.  I tried to change the priority so that attack normally was at a lesser value than the other two moves, but I don't think I got that right; there was no difference.  Then I tried to set it so that he could only attack every three turns, meaning that turn two would be a "charge up" turn and turn three would be his power hit.  So now, he skips his first turn entirely.  (The rest of the sequence goes off nicely.)


My second boss has me even more stuck, because I need two skills that I have no idea how to write.  Halfway through the fight, I want him to call some allies, and then I want him to eat them for an HP boost equal to their remaining hit points.  Ideally, he could summon more allies once he goes through the first set.  The optimum strategy for the player is to find a way to decrease the hit points of the allies (Poison Bomb is a craftable item by this point in the game, and it's what I would use, but there are alternatives) such that the boss gets minimal recovery from each one.  My problems are: (1) I don't know how to have him summon multiple groups of allies, or whether that's even possible without a plugin, and (2) I have no idea how to write out the "gobble ally" skill.  My last attempt at writing it resulted in the boss eating himself for an instant KO, which is obviously the exact opposite of what one wants out of a boss.


Any advice?
For these kind of boss effects, you'll likely need some plugins to make it work.  I would recommend taking a look at this:


https://www.youtube.com/watch?v=viPPQACdZfA


This video shows how to recreate an attack from Final Fantasy 4 that's similar to what you're trying to do with the first boss.  It shows the code used about midway through.  Using Yanfly's Battle Core and Buff & States Core plugins will make an effect like this possible.  That link is here:


http://yanfly.moe/yep/


In fact, I would seriously consider using more Yanfly plugins if you're not already doing so.


As for the second boss effect, that's more difficult.  I don't know of any plugin that allows you to summon enemies without having to use the Appear Halfway function.  And the ability to not eat itself is a challenge too, but I think that one can be done with some coding and probably Yanfly's Target Core.


With that said, I like what you're going for.  You're thinking outside the box with these effects.  
1) this is done in the enemy attack patterns by use of attack conditions


The power attack needs to be conditioned to a charge state and have an attack rating that is much higher than the other ratings.


the charge skill then gives the charge state (which should have a duration of two turns) and in the next turn only the power attack is available because its rating is much higher than the attack skill rating, but it won't be available without the charge due to the condition on the state.


2) can be done without plugins if you use the "enemy appear" event command.


you need to add your summons to the boss troop (maximum of 8 enemies, to change that you'll indeed need a plugin).


then right-click on their pictures and check the "appear halfway" option, making them vanish until called.


you can either call them by boss skill (that needs to use a common event for the command) or by troop event.


Eating them requires the same, the difference is only if you want the boss to use up an attack for summoning and eating or if you want him to keep his action for attacks on those turns.


However, the events for eating need to be written carefully to detect if there is a summon to eat and which one, and the use of the summoning needs to be conditioned or triggered as you want it - that is not always easy. If you need help with that, give us screenshots of the events you have and we'll tell you where you made mistakes.
For the first, the video is a good idea, as is Andar's.

For the second, there is a "Bestiary" topic that has ideas and examples of how to do them, including enemies that call - and replenish - troops and that eat them. Just mix them together.
@shockra, @Andar, @Waterguy, thank you all for your advice!  I'll definitely be taking a look at that video and yanfly's plugins, especially the Target Core.  I already have the charge state lasting two turns; I'll try Andar's advice on making the charge a necessary condition for the power attack.  I'll also try to set up the second boss to summon enemies via the "appear halfway" command.  And I definitely have to read that Bestiary thread; it'll probably help me with all my other bosses as well.  🙂

Original thread: https://forums.rpgmakerweb.com/threads/boss-help.70883/