[SOLVED] BattlerManager.endTurn is called too often

Discussion in 'Javascript/Plugin Support' started by BurningOrca, Oct 3, 2019.

Thread Status:
Not open for further replies.
  1. BurningOrca

    BurningOrca Veteran Veteran

    Messages:
    102
    Likes Received:
    82
    First Language:
    German
    Primarily Uses:
    RMMV
    I have found an issue, that must be caused by my installed plugins and I cannot figure out why.
    The problem is my plugin BO_WeatherSummon is counting something down whenever BattlerManager.endTurn() is called.
    But it reaches zero already after the first turn, even the counter is at 8 at the begin of the turn.
    With just my Weather Plugins installed, it won't happen.
    Could someone please find out the cause?

    Here are my installed plugins, it is a lot of Yanfly:
    upload_2019-10-3_8-57-47.png

    upload_2019-10-3_8-38-50.png

    As some of these plugins are only supposed to be for my own game or are older versions of my plugins uploaded
    in this forum I'll upload them here and take them down once the issue has been solved.

    Thanks a lot!

    Edit:
    Never mind after another closer look I figured it out myself. Yanfly's battle engine core didn't end the turn properly until no pop-up was shown anymore on the screen and that is why it was called multiple times.
     
    Last edited: Oct 3, 2019
    #1
  2. Wavelength

    Wavelength Pre-Merge Boot Moderator

    Messages:
    4,454
    Likes Received:
    3,727
    Location:
    Florida, USA
    First Language:
    English
    Primarily Uses:
    RMVXA

    This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

     
    #2
Thread Status:
Not open for further replies.

Share This Page