I'm having an occasional issue I can't seem to replicate. My summons basically all have the 1 time a battle option. Sometimes when I try to summon they just don't appear and just go on cooldown. It seems to usually happen if a summon previously died the last battle and i try to summon it in the next one. Here is the debug while it happened. It seems to still think the summon is dead i think?
Viewing post in Kadajah's Battle Summon System for RPG Maker MZ comments
Hey bro, yeah, exactly! The issue occurs because the system temporarily checks if the summon is dead while its level and attributes are being updated (which happens before it gets revived by the summoning system). If the summon died in a previous battle, this check identifies it as dead and queues it for immediate removal instead of updating its stats and loading it onto the screen.
To fix this, I added just two lines of code: one to revive the summon before applying any level or attribute changes, and then another to heal it so its HP matches the new maximum value.
This way, it should load without issues, even if it died in a previous battle.
Please download the version 4.6 file again; the fix is included and should work without requiring any further changes.
The script to revive characters is triggered during XP distribution; if the character has been dead from the start, that script isn't being called. In your case, please try the following test: load your game and run this command in the console:
$gameActors.actor(ID).setHp($gameActors.actor(ID).mhp);
Replace "ID" with your summon's ID from the actors list. This script fully restores HP, so the character should come back to life and be ready to be summoned again; then, check if the behavior has been fixed.