In Battle Common Event Trouble

So I've downloaded a plugin recently that allows easy setup of summonable temporary actors. In the game I am working on the main character will gain the ability to summon "Duplicates" which are summons in the main characters likeness which represent certain
elements.

The first Duplicate the main character gets is the frost duplicate which can use ice magic, duplicates level up with the main character so
they will always be the same level as the player, but I noticed that with the summons they don't gain any skills past level 1 when they are set to level with the player, I thankfully found a sort of way to get around this using common events.

Using a common event I set up special duplicate versions of spells that they would use, for the Frost Duplicate I set all its spells being already learned at level 1 and then simply set up the custom duplicate spells to simply trigger a common event that checks the main character's level, if it is the required level or higher then the duplicate will automatically cast the normal version of the spell after but if the duplicate isn't high enough level then they cast a custom spell called fizzle which wastes the turn(and their aurum!, aurum is what MP is called in my project)

So I got the common event to work, but it only works once.

One spell the duplicate has is called Shiver, which it can only use if its level 15 or higher(if the main character is detected as being level 15 or higher), the common event works, it detects the main character's level then if it's 15 or higher then let's the dupicate cast the proper shiver spell, if the main character is level 14 or lower then the duplicate's spell fizzles, all went as planned.

But then I noticed the common event only works once then doesn't work again, attempting to use the spell again simply skips the turn without doing anything.

Here's the common event incase you need to see it.
7YNqngu.png

Now if you are wondering why there's the whole conditional branch for the main character check it's because I have 2 instances of the main character, one for the game and a second one that automatically had the duplicates command to use in battle tests, the common event was set up to work with both instances.

There's probably some simple way I could make the common event able to run more then once in battle, but Idk how, if anyone can help with this I would be super happy.
we need to see how you initiate the common event - that is most probably where the error lies, not in the CE itself.
Or it could be with the skills that you're forcing...
The Duplicate version of the spell is what initiates it.

This is the duplicate's version.
E3dZNfU.png



and this is the one it casts when the level is high enough.
SJB73c0.png


I also forgot to mention I am using yanfly's battle core, but only to set the party rows to 5(The party limit is still 4 but I want the duplicate's stats to be always visible so that's why I got battle core.)

I do notice I forgot to set the duplicate's version to battle only on occasion but idk if that would cause it.
What does Fizzle's skill screen look like? Is there anything in the common event that didn't fit into you screenshot?

I'd try testing the common event by placing random text phrases in at each possible variance point, just to see if it's running at all, and if so, what path it's following. Next I'd try making a second copy of your skills and common event and name them frost1 or whatever and try running the original and the copy and then the original again, all in one battle.
What does Fizzle's skill screen look like? Is there anything in the common event that didn't fit into you screenshot?

I'd try testing the common event by placing random text phrases in at each possible variance point, just to see if it's running at all, and if so, what path it's following. Next I'd try making a second copy of your skills and common event and name them frost1 or whatever and try running the original and the copy and then the original again, all in one battle.

This is the skill screen for fizzle(I am assuming this is what you mean by skill screen)
jrXUzTq.png


Everything in the common event is in the images in the OP, I made sure nothing was left out.

The thing is the common event works, but only once, when I need it to be infinitely reusable.
The thing is the common event works, but only once, when I need it to be infinitely reusable.
You misunderstood the purpose of the questions.
You need to find out where the common event breaks - it could be that it is executed several times and just doesn't have an effect, or it could be that it isn't executed multiple times - or that it is executed but that the force action command fails and so on.

To find that out, you need to place show text commands in the different areas of the common event, so that you can check what really happens.

And you need to rename the second skills - for example if you mixed up a force action command and selected shiver (35) instead of shiver (15) in a force action, then it will look as if it fails as well - but on your screenshots you can't identify which shiver skill is selected because you gave both the same name. As soon as one of them is renamed, you can see that in the common event.
What @Andar said should help you pinpoint the issue.

Another thing you can do, to check if it even works at all, you could change you common event to trigger as an autorun if the switch 'insertnamehere' is on. Instead of calling the event just turn on the switch. This isn't ideal, but it should help for now. Just remember to turn off the switch at the end of your common event.
The text box thing didn't do anything at all to help, I put text boxes everywhere to see how many would pop up as it went through the event.

Once again the first time it went through the event it went through fine, the spell was casted and nothing broke, the text boxes displayed when they needed to be displayed and all was fine and dandy.
However upon the second attempt at casting the spell no text boxes appeared at all, it just skipped the turn again, no attempt to even cast it at all.
The spell doesn't even display on the turn, my other characters take their turn and then it just skips the duplicate's turn altogether without displaying anything at all.

And yes I am using the ID 15 shiver in the event.
hOYBGtX.png


The spell runs the event perfectly the first time, no issues whatsoever, it's just attempting to run it any more times then once is when it just skips it entirely, which almost makes me think MV can't run common events more then once in fights...
So the duplicate doesn't even get another turn after its first attack? How do its actor and class pages look? Is this during a regular battle or a boss battle?
So the duplicate doesn't even get another turn after its first attack? How do its actor and class pages look? Is this during a regular battle or a boss battle?

It still gets turns after using the spell, just the spell can't be used more then once.
In fact every spell that has the common event can't be used more then once, and that's the problem I am having, the event(spell) works perfectly, it just can't be used more then once, any attempt to use the spell again just results in nothing happening and the turn being skipped.
can you use the skill multiple times on different turns, or is this limitation only when trying to use it multiple times in a single turn?
can you use the skill multiple times on different turns, or is this limitation only when trying to use it multiple times in a single turn?

No, once the skill is used it can't be used again.
then either some plugin broke your engine, or there is something wrong with your actors and the way they work/use skills.
Can you take a step back and tell us how you summon the duplicate actor for example and if there are any battleplugins and so forth?
A screenshot of your plugin manager would also help.

If the common event isn't even called, then the problem can't be inside the common event, it has to be outside of it (and outside of the skills as well)
Would any of these plugins cause an issue with the common events?
KkCezIf.png


The summoncore one is the one that I use to make the duplicate spells.

Here's the skill screen for the Frost Duplicate spell if that helps.
IRD8U7R.png
I think we can safely assume that it isn't the common event at this point. I also doubt it's the skills as they don't even begin to run. Can you upload pictures of the class and actor screens?

So just to make sure I have this right, after you use a skill once you can't use it again, but you can use any other skill. So guarding on the first turn wouldn't affect the skills then. If that's the case then try making a copy of the freeze skill that calls the common event and run that after running the original and see if it still doesn't work.

I haven't used any custom scripts outside of ace, so I'll can't really comment on those, but if it means anything I have faith in Yanfly.
I don't know how those will help but here they are nonetheless.

flxLmR8.png


5dPRkmG.png


But yeah, once the skill gets used I can't use it again, I can still attack and use items and stuff fine though.
Sorry for the double post but...

Welp... I found out the issue... It's because the duplicate is a summon which is why it only does it once, making the duplicate a permenant party member allows me to use the spells infinitely but as the temporary summon it can't, so it's an issue with the summon script but I got an idea for another method to get this to work.

I'm going to scrap the level check spells and instead make a level check version of the summons and just make multiple actors and classes of the same type but with different learned skills, and the level check for the summon will determine which version of the summon you get, since the common events work perfectly multiple times with main party members I can just give the main character the level check version of the summon and then set up each tier of summon from there.

I guess I can say this has been solved, regardless it's something I am going to do tomorrow as I am really tired atm and want to get some sleep.

I thank you both for the assistance though, you both did help out a little, but I am happy I found out the culprit in the end.

Original thread: https://forums.rpgmakerweb.com/threads/in-battle-common-event-trouble.76987/