- Joined
- Mar 19, 2018
- Messages
- 6
- Reaction score
- 2
- First Language
- English
- Primarily Uses
- RMMV
Hi, first post here so I hope this is the right place to ask for help. I'm building a pokemon-ish game using the summoning plugin by @LadyBaskerville and ran into an issue with it. I posted this on the plugin's thread, but I think this might be a better place to post so I'll put it here instead.
Basically the problem is that the summoning spell uses your normal turn, so if the user is faster than the enemy they will summon the actor and then the enemy will attack before the summoned creature gets to act. On the other hand, if the summoner is slower than the enemy, they will get hit before being able to summon. I want to make it so that the summoner can cast the spell first (being faster) and then immediately command the summoned actor, which then acts according to its speed value, either out-speeding the enemy or not as appropriate.
I tried a couple fixes that almost worked, but not quite. Here's what I wrote in the other thread:
Any ideas as to how to fix either of these problems? Or a simple fix/plugin option for letting the summoned actor act immediately?
Any suggestions would be hugely appreciated. Thanks for the great plugin!
Basically the problem is that the summoning spell uses your normal turn, so if the user is faster than the enemy they will summon the actor and then the enemy will attack before the summoned creature gets to act. On the other hand, if the summoner is slower than the enemy, they will get hit before being able to summon. I want to make it so that the summoner can cast the spell first (being faster) and then immediately command the summoned actor, which then acts according to its speed value, either out-speeding the enemy or not as appropriate.
I tried a couple fixes that almost worked, but not quite. Here's what I wrote in the other thread:
First I used Yanfly's Instant Cast plugin, and made all of the summon spells instant. This looked like it solved the problem (allowing me to command the newly summoned creature immediately) but occasionally the enemy got to attack first anyway (before I got to select a command for the summon). This NEVER happened during battle tests from the database, only in the actual game itself. Also, if I saved, quit, and reloaded the game, the problem would go away, and the instant-cast summon would work properly, but only for the first battle of the play session. After that it was a toss-up again. I think this must have something to do with some sort of information that persists on the summoned actor between battles, but I can't reliably reproduce this bug and I'm not sure what could cause it.
The second solution I tried was using Yanfly's STB battle system. This always allows me to command the newly summoned creature immediately, since it inserts the summoned actor into the turn order directly after the summoner. However, that also bypasses speed checks entirely. What I'd prefer is if the summoned creature has its agility evaluated like normal and inserted into the turn order in the appropriate place, rather than just below the summoner. This already happens at the start of each round, I just also need it to happen as the monster is summoned. Otherwise it can result in a slower summoned monster getting to attack a faster enemy first, and then getting hit back twice in a row, once from the faster enemy's first turn, and then again when the next round begins and the slow summoned monster is put into its rightful place in the turn order below the faster enemy.
Any ideas as to how to fix either of these problems? Or a simple fix/plugin option for letting the summoned actor act immediately?
Any suggestions would be hugely appreciated. Thanks for the great plugin!