Hello. I have a problem with default battle mechanics - sometimes after enemy casts a spell which costs 100% of it's SP, just stands without doing anything next few turns. The only actions allowed for enemy are default attack set at 10, and paralyze at 9. I captured it on video.
https://youtu.be/CmUCv-Fba_Y
I couldn't find a solution for this in database, so I thought it might have to do something with scripts. Sorry if it's wrong section.
I can't reproduce this problem. You sure it's a clean project?
Yeah. Here's demo from the video - https://ufile.io/s8c0k
It's doesn't happen always, but happens.
Oh okay, I guess I was just stupidly unlucky. I see what the problem is now.
In Game_Enemy, method
make_action, I added a check for if the enemy has the ability to use the the skill. I placed it right in between here:
# Confirm HP conditions
if self.hp * 100.0 / self.maxhp > action.condition_hp
next
end
# Confirm can even use skill
if action.kind == 1 && !skill_can_use?(action.skill_id)
next
end
# Confirm level conditions
if $game_party.max_level < action.condition_level
next
end
Gonna update the internal bugs (http://forum.chaos-project.com/index.php/topic,14458.html) thread with this. Thanks for finding that!
Thanks for fixing it! :)