Battle escape bug

Status
Not open for further replies.

ramza

Lunatic Coder
Veteran
Joined
Jan 28, 2013
Messages
776
Reaction score
487
First Language
English
Primarily Uses
RMMV
I just found an easily reproducible bug in the core battle engine of RMMV.


In the database it's possible to make a skill with the special trait 'escape'.


If you make this skill affect one or all allies, and then use it in battle, some interesting things happen:

  • If it affects all allies, they each individually run from the fight, causing some strangeness on the battlers that remain in the fight
  • When the last actor leaves the fight, the battle scene does not end.
  • If set to a single ally (or self) the battlers leave the scene as they use the skill as normal, but if the last (or only) party member runs through this skill, the battle scene will hang

I suspect this is a bug in the handling of individual escape, in that it doesn't know to check if there are any actors remaining, to tell the battle scene to end properly.


Ideally, if the skill affected all allies, they should leave the map at the same time, as if the entire party escaped via the party command. My hope was to create a skill that guaranteed escape.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
yes and no...


The problem originates from the fact that the escape function done by skill is not intended to be used on actors, but on enemies - for the actors there is the escape option in the fight-or-escape-choice at the beginning of each battleturn.


That said, it should not cause problems if used on actors, so in that part it is indeed a bug.


Please do not post topics twice


Since the other topic is in the correct forum part, I'm closing this one
 
Last edited by a moderator:
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top