Item Cooldowns

● ARCHIVED · READ-ONLY
Started by Kaliya 37 posts Page 2 of 2 View original ↗
  1. The cooldown still stuck after 1 turn passed
  2. Jrrkein said:
    The cooldown still stuck after 1 turn passed
    I can not fix your issue since you are giving me absolutely 0 information that I've asked for, or that can be even helpful. I've tested this on a fresh project with no additional plugins and it works just fine for me. Please take a screenshot of your plugin manager, with the full list of plugins, please also take a screenshot of your parameters for this plugin, as well as please post the note tags you are using.  Please also make sure you are using the latest version, you can find it through the links provided in opening post.
  3. Here's the first list of plugins I'm currently using

    mTOaYFq.png

    and the second list

    AuptLy8.png

    here's the item that I notetagged

    hmjGdwo.png

    as highlighted I'm using the notetags <Cooldown: 2> also I didn't edit any parameters and I'm using the latest version of the plugin.
  4. You need to place this plugin below Yanfly Battle Engine, especially if you have timed cooldowns on. If you do not have timed cooldowns on, place this plugin at the bottom of the list and see if it works then. If it doesn't one of your other plugins is breaking compatibility.
  5. What should I do. The cooldown isn't working (It may work on a blank, fresh project), but not working on my project that I'm working on.
  6. Jrrkein said:
    What should I do. The cooldown isn't working (It may work on a blank, fresh project), but not working on my project that I'm working on.
    Did you place this plugin at the bottom of all your other plugins? If so and if it doesn't work, one of your other plugins is breaking it I do not know which one, try turning them all off individually until it starts working, the one you turned off before it starts working is the one breaking it.
  7. I did place it to very bottom
  8. I posted this on your site as well, for some reason with this plugin upgraded items are invisible on the item menu.

    See screenshot

    invitems.png
  9. clitvin said:
    I posted this on your site as well, for some reason with this plugin upgraded items are invisible on the item menu.

    See screenshot
    I believe I fixed this bug in the newest version (you can get it via the links in opening post/my site). Please let me know if otherwise.
  10. It works, but you might want to make a note on the first page that it needs to be placed above yanfly itemcore+equipcore or it disables the upgrade functions.
  11. Also a quick feature request, would it be possible to add an option to turn off item cooldowns outside of combat?
  12. I will add this when I next get the time to work on this :) .
  13. Hey Liquid! You're Plugin Ideas are awesome! 

    Similar to the tales series, I'd like to create a global cool down on items during battle only: for example, if I were to use a potion it would, let says put all items on cool down for 3 turns... 

    A game that might show you can example of what I mean is Tales of Xillia or Zesteria. :D  

    If it's not possible, it's cool :D <3!!!
  14. For those currently using this plugin I have been given permission by Liquidize to post a fix to some issues regarding Item Cooldowns trait object note tags, not being applied correctly, as well as a bug regarding a party cooldowns.


    Here is the fixed version. V1.03.1


    Please understand. This is Liquidize's Plugin. I am only sharing this as a favor for its users. I am not taking over support totally. Nor am I adding feature.


    Please, don't ask me. :D
  15. Oh right... This is an old plugin, doesn't work anymore.
  16. I don´t know if anyone still wants to use it. However, I think I´ve got some solutions. That took me a while to figure out, I´m not a javascript or plugin pro:

    >>> The cooldown is not working?
    Most likely it´s because of the Yanfly Battle Engine Core Plugin.
    Solution: In the Parameters in ---General--- press "del" (or Entf for Germans) on your keyboard on the value of the Default System (dtb). Just make it blank so to say (see screenshots).

    Now the cooldowns should work again. Of course make sure to place the Plugin below Yanfly Battle Engine Core.

    >>> Game is crashing with .afterBattleCooldown error
    Solution: Open the Item-plugin and go to line 777

    Game_BattlerBase.prototype.endBattleItemCooldowns = function () {
    this.resetItemCooldownTickRates();
    for (var itemId in this._itemCooldownTurns) {
    this._itemCooldownTurns[itemId] += $dataItems[itemId].afterBattleCooldown;
    }
    };

    Delete the following:

    for (var itemId in this._itemCooldownTurns) {
    this._itemCooldownTurns[itemId] += $dataItems[itemId].afterBattleCooldown;
    }

    Then it should work.
    >> However, after battle the remaining cooldown of your items is not gone. That´s why I set the Cooldown Steps to 1. So the cooldown should be gone until the next battle.
    >> As far as I could see, it´s best to start a new game. On savegames the cooldown is (sometimes?) not working.
    I´m sure there could be a better solution to this, but as mentioned before, I´m not a javascript pro.
  17. Just wanted to make a quick necro post for anyone in the future who's looking to use this plugin and is encountering an issue with the item cooldowns being stuck at 1 turn, as I was. There was a slight bug on line 1030 (shown in screenshot below) where a '!' symbol was missing where it was needed. This prevented the script from calling the functions that updated the cooldown timer, leaving it stuck at 1 turn (at least in my case).

    I've tested it in my own project, and it seems to be working as intended with that '!' operator included. I'll leave my updated copy of this plugin attached with that specific bug removed.