DoubleX_RMMZ_Auto_Battle_Command

Purpose
Adds a party command to add an autobattle state to the party in battles

Video


Games using this plugin
None so far

Parameters
  1.  
  2. * @param stateId
  3. * @type number
  4. * @min 1
  5. * @desc Sets the id of the state added by the auto battle command
  6. * All alive members in the party will have this state added
  7. * @default 7
  8. *
  9. * @param text
  10. * @type string
  11. * @desc Sets the auto battle command name
  12. * The command will appear in the party command window
  13. * @default Auto Battle
  14. *
  15. * @param canUse
  16. * @type boolean
  17. * @desc Sets whether the auto battle command can be used
  18. * It'll be checked whenever the party command window's shown
  19. * @default true
  20.  
Expand to see the code.


Plugin Commands
  1.  
  2. *      1. setAutoBattleCmdState stateId
  3. *         - Sets the id of the state added by the auto battle command as
  4. *           stateId
  5. *      2. setAutoBattleCmdText text
  6. *         - Sets auto battle command name as text
  7. *      3. setCanUseAutoBattleCmd canUse
  8. *         - Sets whether the auto battle command can be used as canUse
  9. *         - canUse must be either true or false
  10.  
Expand to see the code.


Prerequisites
Plugins:
1. DoubleX RMMZ Enhanced Codebase
Abilities:
1. Nothing special

Terms Of Use
  1.  
  2. *      1. Commercial use's always allowed and crediting me's always optional.
  3. *      2. You shall keep this plugin's Plugin Info part's contents intact.
  4. *      3. You shalln't claim that this plugin's written by anyone other than
  5. *         DoubleX or my aliases. I always reserve the right to deny you from
  6. *         using any of my plugins anymore if you've violated this.
  7. *      4. If you repost this plugin directly(rather than just linking back),
  8. *         you shall inform me of these direct repostings. I always reserve
  9. *         the right to request you to edit those direct repostings.
  10. *      5. CC BY 4.0, except those conflicting with any of the above, applies
  11. *         to this plugin, unless you've my permissions not needing follow so.
  12. *      6. I always reserve the right to deny you from using this plugin
  13. *         anymore if you've violated any of the above.
  14.  
Expand to see the code.


Instructions
  1.  
  2. *      1. The default plugin parameters file name is
  3. *         DoubleX_RMMZ_Auto_Battle_Command
  4. *         If you want to change that, you must edit the value of
  5. *         DoubleX_RMMZ.Auto_Battle_Command.PLUGIN_NAME, which must be done
  6. *         via opening this plugin js file directly
  7.  
Expand to see the code.


Contributors
  1.  
  2. *      Authors:
  3. *      1. DoubleX
  4. *      Plugin Development Collaborators:
  5. *      - None So Far
  6. *      Bug Reporters:
  7. *      - None So Far
  8. *      Compatibility Issue Raisers:
  9. *      - None So Far
  10. *      Feature Requesters:
  11. *      - None So Far
  12.  
Expand to see the code.


Changelog
  1.  
  2. *      { codebase: "1.0.2", plugin: "v1.00a" }(2020 Sep 14 GMT 0900):
  3. *      1. 1st version of this plugin finished
  4.  
Expand to see the code.


Download Link
Demo Link
Updates
Added the Demo Link

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=80332