DoubleX RMMV Unison Item

Note
This plugin's available for commercial use

Purpose
Lets you set some skills/items needing mutiple battlers to use

Introduction
  1. *      In the default RMMV battle system, no skill/item needs more than 1    
  2.  *      battlers to use                                                      
  3.  *      With this plugin, you can set some skills/items to be unison ones    
  4.  *      needing more than 1 battlers to use them                              
  5.  *      Unison battlers are those needed to use the unison skill/item        
  6.  *      Unison invoker is the battler actually selecting and invoking the    
  7.  *      unison skill/item                                                    
  8.  *      Unison invokees are all unison battlers besides the unison invoker    
  9.  *      There can only be 1 unison invoker for each selected unison skill/item
  10.  *      - (v1.02a+)A synchronous unison skill/item is one without any        
  11.  *               <async unison item> notetag                                  
  12.  *      - (v1.02a+)An asynchronous unison skill/item is one with at least 1  
  13.  *               <async unison item> notetags                                
Expand to see the code.


Games using this plugin
None so far

Parameters
  1. * @param showAllUnisonBattlers
  2.  * @desc Sets if the battlelog will show all unison battlers instead of only
  3.  *       the unison invoker
  4.  * @default true
  5.  *
  6.  * @param unisonFunctionRule
  7.  * @desc Sets the string of the rule used for setting the user's functions in
  8.  *       the damage formula of the unison skill/item by using those of all
  9.  *       unison battlers
  10.  *       It'll only be used for those functions not having their unison rules
  11.  *       It must be implemented by function RULES, which must be edited by
  12.  *       opening the plugin js file directly
  13.  * @default avg
Expand to see the code.


Notetags
  1. *    # Skill/Item Notetags:                                                  
  2.  *      1. <unison item actors: ids>                                          
  3.  *         - Sets the list of id of actors needed for the skill/item as ids  
  4.  *           , is used to separate the actor id in ids                        
  5.  *           E.g.:                                                            
  6.  *           <unison item actors: 1> means actor with id 1 is needed to use it
  7.  *           <unison item actors: 4, 2> means actors with id 4 and 2 are      
  8.  *           needed to use it                                                
  9.  *         - All actors included in ids needs to be inputable, able to use the
  10.  *           skills/item and pay its cost                                    
  11.  *         - All unison actors will pay the unison skill costs after using it
  12.  *         - Only actors included in ids can select the skill/item            
  13.  *         - If ids only contains 1 actor id, this notetag will become only  
  14.  *           letting the actor with that actor id to use the skill/item      
  15.  *      2. <unison item function rule: rule>                                  
  16.  *         - Sets the rule of setting user's function in the skill/item's    
  17.  *           damage formula as rule which is implemented by function          
  18.  *           RULES, which must be edited by opening this plugin js file      
  19.  *           directly                                                        
  20.  *         - function must be a battler function name included in            
  21.  *           FUNCTIONS, which must be edited by opening this plugin js file  
  22.  *           directly                                                        
  23.  *      3. <unison item function actors: ids>                                
  24.  *         - Sets user's function in the skill/item's damage formula to use  
  25.  *           its unison item rule to combine those of actors with id included
  26.  *           in ids                                                          
  27.  *           E.g.:                                                            
  28.  *           <unison item atk actors: 1> means the user's atk in its damage  
  29.  *           formula uses that of actor with id 1 under the skill/item's      
  30.  *           unison rule applied to atk                                      
  31.  *           <unison item mat actors: 4, 2> means the user's mat in its damage
  32.  *           formula uses those of actors with id 4 and 2 under the          
  33.  *           skill/item's unison rule applied to mat                          
  34.  *         - function must be a battler function name included in            
  35.  *           FUNCTIONS, which must be edited by opening this plugin js file  
  36.  *           directly                                                        
  37.  *      4. (v1.01a+)<unison item actor mp cost: costs>                        
  38.  *         - Sets the list of mp costs needed for each of the corresponding id
  39.  *           of the unison actor in <unison item actors: ids>                
  40.  *           , is used to separate the mp costs in ids                        
  41.  *           E.g.:                                                            
  42.  *           If <unison item actors: 1> is used, then                        
  43.  *           <unison item actor mp cost: 5> means actor with id 1 needs to pay
  44.  *           the 5 mp cost for using the unison skill/item                    
  45.  *           If <unison item actors: 4, 2> is used, then                      
  46.  *           <unison item actor mp cost: 5, 10> means actor with id 4 and 2  
  47.  *           need to pay the 5 and 10 mp cost respectively for using the      
  48.  *           unison skill/item                                                
  49.  *           If <unison item actors: 4, 2> is used, then                      
  50.  *           <unison item actor mp cost: 5> means actor with id 4 needs to pay
  51.  *           the 5 mp cost while that with id 2 needs to pay the default      
  52.  *           skill/item mp cost for using the unison skill/item              
  53.  *         - MCR will be applied to the mp costs for all unison actors        
  54.  *      5. (v1.01a+)<unison item actor tp cost: costs>                        
  55.  *         - Sets the list of tp costs needed for each of the corresponding id
  56.  *           of the unison actor in <unison item actors: ids>                
  57.  *           , is used to separate the tp costs in ids                        
  58.  *           E.g.:                                                            
  59.  *           If <unison item actors: 1> is used, then                        
  60.  *           <unison item actor tp cost: 5> means actor with id 1 needs to pay
  61.  *           the 5 tp cost for using the unison skill/item                    
  62.  *           If <unison item actors: 4, 2> is used, then                      
  63.  *           <unison item actor tp cost: 5, 10> means actor with id 4 and 2  
  64.  *           need to pay the 5 and 10 tp cost respectively for using the      
  65.  *           unison skill/item                                                
  66.  *           If <unison item actors: 4, 2> is used, then                      
  67.  *           <unison item actor tp cost: 5> means actor with id 4 needs to pay
  68.  *           the 5 tp cost while that with id 2 needs to pay the default      
  69.  *           skill/item tp cost for using the unison skill/item              
  70.  *      6. (v1.02a+)<unison item actor learn: flags>                          
  71.  *         - Sets the list of skill learn requirement flags for each of the  
  72.  *           corresponding id of the unison actor in <unison item actors: ids>
  73.  *           , is used to separate the skill learn requirement flags          
  74.  *           Flag can be either t or f, meaning true or false respectively    
  75.  *           The default unison skill learn requirement is true              
  76.  *           This notetag only works on skills and has no effects on items    
  77.  *           E.g.:                                                            
  78.  *           If <unison item actors: 1> is used, then                        
  79.  *           <unison item actor skill learn: t> means actor with id 1 needs to
  80.  *           learn the skill in order to use it                              
  81.  *           If <unison item actors: 4, 2> is used, then                      
  82.  *           <unison item actor skill learn: t, f> means actor with id 4 needs
  83.  *           to learn the skill in order to use it while actor with id 2      
  84.  *           doesn't need to                                                  
  85.  *           If <unison item actors: 4, 2> is used, then                      
  86.  *           <unison item actor skill learn: f> means actor with id 4 doesn't
  87.  *           need to learn the skill in order to use it while actor with id 2
  88.  *           needs to due to the default unison skill learn requirement      
  89.  *      7. (v1.02a+)<async unison item>                                      
  90.  *         - Sets the unison skill/item to be inputable when any battler      
  91.  *           needed for that skill/item is inputable                          
  92.  *         - That skill/item and all battlers inputted it will wait for all  
  93.  *           battlers needed for that skill/item to input it in order for them
  94.  *           to execute it altogether                                        
  95.  *         - This notetag will be ignored in the default RMMV battle system  
  96.  *           and all unison skills/items will be synchronous ones            
  97.  *         - This notetag will be ignored in ATB systems that will always wait
  98.  *           when there are inputable actors and all unison skills/items will
  99.  *           be asynchronous ones                                            
  100.  *      8. (v1.03a+)<unison item actor function drain: weights>              
  101.  *         - Sets user's drained hp/mp/etc for skills/items draining hp/mp/etc
  102.  *           to use redistribute the drained hp/mp/etc to all those of actors
  103.  *           with id included in ids in <unison item actors: ids>            
  104.  *         - function must be a battler getter name                          
  105.  *         - The redistribution amount to each actor is the minimum value of  
  106.  *           the corresponding weight / sum of weights and the difference    
  107.  *           between the hp and the mhp                                      
  108.  *         - If the sum of weights is 0, then no actor will receive any amount
  109.  *           of the drained hp/mp/etc                                        
  110.  *         - All the undistributed drained hp/mp/etc will be taken by the    
  111.  *           unison invoker, and any amount left by the unison invoker will be
  112.  *           lost                                                            
  113.  *           E.g.:                                                            
  114.  *           If <unison item actors: 1> is used, then                        
  115.  *           <unison item actor hp drain: 0> means actor with id 1 won't      
  116.  *           receive any drained hp from skills/items draining hp            
  117.  *           If <unison item actors: 4, 2> is used, then                      
  118.  *           <unison item actor mp drain: 1, 2> means actor with id 4 and 2  
  119.  *           will receive 1/3 and 2/3 of the drained mp from skills/items    
  120.  *           draining mp respectively                                        
  121.  *           If <unison item actors: 4, 2> is used, then                      
  122.  *           <unison item actor mp cost: 1> means actor with id 4 and 2 will  
  123.  *           receive 100% and 0% of the drained mp from skills/items draining
  124.  *           mp respectively                                                  
Expand to see the code.


Plugin Calls
  1. *    # Configuration manipulations                                          
  2.  *      1. DoubleX_RMMV.Unison_Item.prop                                      
  3.  *         - Returns the property prop under DoubleX_RMMV.Unison_Item        
  4.  *      2. DoubleX_RMMV.Unison_Item.prop = val                                
  5.  *         - Sets the property prop under DoubleX_RMMV.Unison_Item as val    
  6.  *         - No DoubleX_RMMV.Unison_Item.prop change will be saved            
  7.  *      3. $gameSystem.unisonItem.param                                      
  8.  *         - Returns the value of param listed in the plugin manager          
  9.  *      4. $gameSystem.unisonItem.param = val                                
  10.  *         - Sets the value of param listed in the plugin manager as val      
  11.  *         - All $gameSystem.unisonItem.param changes will be saved          
  12.  *    # Skill/Item manipulations                                              
  13.  *      1. meta.unisonItemActors                                              
  14.  *         - Returns the Array of ids of actors needed to use this skill/item
  15.  *      2. meta.unisonItemActors = [id, id, ...]                              
  16.  *         - Sets the Array of ids of actors needed to use this skill/item    
  17.  *         - All meta.unisonItemActors changes can be saved if                
  18.  *           DoubleX RMMV Dynamic Data is used                                
  19.  *      3. meta.unisonItemRules[functionName]                                
  20.  *         - Returns the unison item rule as String for function with name    
  21.  *           functionName as a String                                        
  22.  *      4. meta.unisonItemRules[functionName] = rule                          
  23.  *         - Sets the unison item rule for function with name functionName as
  24.  *           String as String rule, which must be implemented by              
  25.  *           RULES, which must be edited by opening this plugin js file      
  26.  *           directly                                                        
  27.  *         - function with name functionName must be included in              
  28.  *           FUNCTIONS, which must be edited by opening this plugin js file  
  29.  *           directly                                                        
  30.  *         - All meta.unisonItemRules changes can be saved if                
  31.  *           DoubleX RMMV Dynamic Data is used                                
  32.  *      5. meta.unisonItemFunctionActors[functionName]                        
  33.  *         - Returns the Array of ids of actors included for combining their  
  34.  *           function functionName as String using its unison item rule      
  35.  *      6. meta.unisonItemFunctionActors[functionName] = [id, id, ...]        
  36.  *         - Sets the Array of ids of actors included for combining their    
  37.  *           function functionName as String using its unison item rule      
  38.  *         - function with name functionName must be included in              
  39.  *           FUNCTIONS, which must be edited by opening this plugin js file  
  40.  *           directly                                                        
  41.  *         - All meta.unisonItemFunctionActors changes can be saved if        
  42.  *           DoubleX RMMV Dynamic Data is used                                
  43.  *      7. (v1.01a+)meta.unisonItemActorMpCosts                              
  44.  *         - Returns the Array of mp costs each needed by its corresponding  
  45.  *           actor with id in meta.unisonItemActors to use this skill/item    
  46.  *      8. (v1.01a+)meta.unisonItemActorMpCosts = [cost, cost, ...]          
  47.  *         - Sets the Array of of mp costs each needed by its corresponding  
  48.  *           actor with id in meta.unisonItemActors to use this skill/item    
  49.  *         - All meta.unisonItemActorMpCosts changes can be saved if          
  50.  *           DoubleX RMMV Dynamic Data is used                                
  51.  *      9. (v1.01a+)meta.unisonItemActorTpCosts                              
  52.  *         - Returns the Array of tp costs each needed by its corresponding  
  53.  *           actor with id in meta.unisonItemActors to use this skill/item    
  54.  *      10. (v1.01a+)meta.unisonItemActorTpCosts = [cost, cost, ...]          
  55.  *          - Sets the Array of of tp costs each needed by its corresponding  
  56.  *            actor with id in meta.unisonItemActors to use this skill/item  
  57.  *          - All meta.unisonItemActorTpCosts changes can be saved if        
  58.  *            DoubleX RMMV Dynamic Data is used                              
  59.  *      11. (v1.02a+)meta.unisonItemActorLearn                                
  60.  *          - Returns the Array of skill learn requirement flags for each    
  61.  *            corresponding actor with id in meta.unisonItemActors to use this
  62.  *            skill/item                                                      
  63.  *      12. (v1.02a+)meta.unisonItemActorLearn = [cost, cost, ...]            
  64.  *          - Sets the Array of skill requirement flags for each corresponding
  65.  *            actor with id in meta.unisonItemActors to use this skill/item  
  66.  *          - All meta.unisonItemActorTpCosts changes can be saved if        
  67.  *            DoubleX RMMV Dynamic Data is used                              
  68.  *      13. (v1.02a+)meta.asyncUnisonItem                                    
  69.  *          - Returns whether the unison skill/item is an asynchronous one    
  70.  *      14. (v1.02a+)meta.asyncUnisonItem = boolean                          
  71.  *          - Sets the unison skill/item to be an asynchronous one if boolean
  72.  *            is true and a synchronous one if otherwise                      
  73.  *      15. (v1.03a+)meta.unisonItemActorFunctionDrain[functionName]          
  74.  *          - Returns the Array of weights for actors included in the        
  75.  *            corresponding meta.unisonItemActors for redistributing the      
  76.  *            drained function functionName  as String from skills/items      
  77.  *            draining functionName to all those actors                      
  78.  *      16. (v1.03a+)meta.unisonItemActorFunctionDrain[functionName] = [w, ..]
  79.  *          - Sets the Array of weights for actors included in the            
  80.  *            corresponding meta.unisonItemActors for redistributing the      
  81.  *            drained function functionName  as String from skills/items      
  82.  *            draining functionName to all those actors                      
  83.  *          - function with name functionName must be a battler getter name  
  84.  *          - All meta.unisonItemActorFunctionDrain changes can be saved if  
  85.  *            DoubleX RMMV Dynamic Data is used                              
Expand to see the code.


Configurations
  1.    /* Implements the unison item function rules
  2.      * The unison item function rule can be referenced by rule
  3.      * The Array of unison item function value of all unison battlers can be
  4.      * referneced by vals
  5.      * RULES will be bound to the unison invoker upon use
  6.      * It must return a Number
  7.      */
  8.     RULES: function(rule, vals) {
  9.         if (rule === "min") {
  10.             return vals.sort(function(a, b) { return a - b; })[0];
  11.         } else if (rule === "avg") {
  12.             return vals.reduce(function(a, b) { return a + b; }) / vals.length;
  13.         } else if (rule === "max") {
  14.             return vals.sort(function(a, b) { return b - a; })[0];
  15.         }
  16.         console.log("The unison item rule " + rule + " isn't implemented");
  17.         return 0;
  18.     },
  19.  
  20.     /* Sets the battler functions using the unison item rules
  21.      * Its property names must be the class of the battler functions
  22.      * Its values must be an object with property names
  23.      * defineProperty/defineProperties and values as Arrays of those getter
  24.      * name as Strings
  25.      * All the included battler functions must have the get function defined via
  26.      * Object.defineProperty/Object.defineProperties
  27.      * All the included battler functions will be extended
  28.      */
  29.     FUNCTIONS: {
  30.  
  31.       /* General form:
  32.        * FunctionClass: {
  33.        *     defineProperty :["battlerFunction"],
  34.        *     defineProperties: ["battlerFunction", "battlerFunction", ...]
  35.        * }
  36.        */
  37.  
  38.         Game_BattlerBase: {
  39.  
  40.             /* General form:
  41.              * defineProperties: ["battlerFunction", "battlerFunction", ...]
  42.              */
  43.             defineProperties: [
  44.                 "hp",
  45.                 "mp",
  46.                 "tp",
  47.                 "mhp",
  48.                 "mmp",
  49.                 "atk",
  50.                 "def",
  51.                 "mat",
  52.                 "mdf",
  53.                 "agi",
  54.                 "luk"
  55.             ]
  56.  
  57.             // Adds new battler functions here
  58.            
  59.  
  60.         },
  61.  
  62.         Game_Actor: {
  63.  
  64.             /* General form:
  65.              * defineProperty: ["battlerFunction"]
  66.              */
  67.             defineProperty: ["level"]
  68.  
  69.             // Adds new actor functions here
  70.            
  71.  
  72.         }
  73.  
  74.         // Adds new classes here
  75.        
  76.  
  77.     }
Expand to see the code.


Instructions
  1. *      1. To use this plugin with the default battle system, place          
  2.  *         DoubleX RMMV Unison Item Default below this plugin                
  3.  *      2. To use this plugin with YEP_X_BattleSysCTB, place                  
  4.  *         DoubleX RMMV Unison Item YEP_X_BattleSysCTB below                  
  5.  *         DoubleX RMMV Unison Item Default, which should be placed below this
  6.  *         plugin                                                            
  7.  *      3. To use this plugin with YEP_X_BattleSysATB, place                  
  8.  *         DoubleX RMMV Unison Item YEP_X_BattleSysATB below                  
  9.  *         DoubleX RMMV Unison Item Default, which should be placed below this
  10.  *         plugin                                                            
Expand to see the code.


Video
DoubleX RMMV Unison Item Default:

DoubleX RMMV Unison Item YEP_X_BattleSysCTB:

DoubleX RMMV Unison Item YEP_X_BattleSysCTB(Async):

DoubleX RMMV Unison Item YEP_X_BattleSysATB:


Prerequisites
1. Some Javascript coding proficiency to fully utilize this plugin

Terms Of Use
You shall keep this plugin's Plugin Info part's contents intact
You shalln't claim that this plugin's written by anyone other than DoubleX or his aliases
None of the above applies to DoubleX or his/her aliases

Changelog
  1. *      DoubleX RMMV Unison Item YEP_X_BattleSysATB:                          
  2.  *      v1.00a(GMT 0600 21-5-2016):                                          
  3.  *      1. 1st version of this plugin finished                                
  4.  *      DoubleX RMMV Unison Item YEP_X_BattleSysCTB:                          
  5.  *      v1.00c(GMT 0600 21-5-2016):                                          
  6.  *      1. Fixed BattleManager.asyncUnisonItems not using unique key          
  7.  *      2. Fixed not clearing actors in BattleManager.asyncUnisonItems        
  8.  *      v1.00b(GMT 1300 14-5-2016):                                          
  9.  *      1. In sync with the latest version of DoubleX RMMV Unison Item Config
  10.  *      v1.00a(GMT 1500 28-2-2016):                                          
  11.  *      1. 1st version of this plugin finished                                
  12.  *      2. Unison skills/items needing charging might be executed immediately
  13.  *         and/or cause the action order queue to be incorrect and/or outdated
  14.  *      DoubleX RMMV Unison Item Default:                                    
  15.  *      v1.00g(GMT 0300 5-6-2016):                                            
  16.  *      1. Fixed a bug where game crashes when accessing equips in item menu  
  17.  *      v1.00f(GMT 1300 14-5-2016):                                          
  18.  *      1. Fixed a bug where unison items can have unison invokees with no    
  19.  *         empty action slots                                                
  20.  *      2. In sync with the latest version of this plugin                    
  21.  *      v1.00e(GMT 1500 30-1-2016):                                          
  22.  *      1. Fixed not passing this to canUseUnisonSkill and canUseUnisonItem  
  23.  *      2. Fixed not checking if item exist first in canUse bug              
  24.  *      3. Fixed unison invoker might not have the smallest party member index
  25.  *      v1.00d(GMT 1100 4-1-2016):                                            
  26.  *      1. Fixed all unison item being unusable due to typo bug              
  27.  *      2. Added plugin description and author name in the plugin manager    
  28.  *      v1.00c(GMT 0100 1-1-2016):                                            
  29.  *      1. Fixed undefined SceneManager.scene by using $gameParty.inBattle()  
  30.  *      v1.00b(GMT 0300 26-12-2015):                                          
  31.  *      1. Fixed unison skills/items not usable outside battles bug          
  32.  *      2. Simplified the unison skill usability checks                      
  33.  *      v1.00a(GMT 1400 25-12-2015):                                          
  34.  *      1. 1st version of this plugin finished                                
  35.  *      This plugin:                                                          
  36.  *      v1.03a(GMT 0500 23-7-2016):                                          
  37.  *      1. Added <unison item actor function drain: weights>                  
  38.  *      v1.02a(GMT 1300 14-5-2016):                                          
  39.  *      1. Added <unison item actor learn: flags> and <async unison item>    
  40.  *      v1.01b(GMT 1300 17-3-2016):                                          
  41.  *      1. Fixed undefined uIFAs[RegExp.$1] in DM.loadItemNotes bug          
  42.  *      2. Fixed incorrect unison battler stat when using unison rules bug    
  43.  *      v1.01a(GMT 1400 15-3-2016):                                          
  44.  *      1. Added <unison item actor mp cost: ids> and                        
  45.  *               <unison item actor tp cost: ids>                            
  46.  *      v1.00f(GMT 1000 28-2-2016):                                          
  47.  *      1. Fixed unison invokees not stepping forward when executing actions  
  48.  *      v1.00e(GMT 1500 30-1-2016):                                          
  49.  *      1. Fixed not returning value in makeDamageValue bug                  
  50.  *      2. Fixed not showing unison item names in the battle log window bug  
  51.  *      3. Fixed enemy using actor unison item showing unison actor names bug
  52.  *      v1.00d(GMT 0200 3-1-2016):                                            
  53.  *      1. FUNCTIONS now store all battler functions instead of merely getters
  54.  *      v1.00c(GMT 1300 31-12-2015):                                          
  55.  *      1. Fixed writing getter contents directly instead of using String bug
  56.  *      v1.00b(GMT 0900 30-12-2015):                                          
  57.  *      1. Fixed failed to extend battler property name descriptors bug      
  58.  *      2. Fixed using new Function and class instead of eval and prototype  
  59.  *      3. Fixed unintentionally declaring global variable in strict mode bug
  60.  *      4. Fixed calling push for an Object instead of its Array values bug  
  61.  *      5. Fixed using 1 single variable to store all old getter functions bug
  62.  *      v1.00a(GMT 1400 25-12-2015):                                          
  63.  *      1. 1st version of this plugin finished                                
Expand to see the code.


Download Links
DoubleX RMMV Unison Item Config
DoubleX RMMV Unison Item Default
DoubleX RMMV Unison Item YEP_X_BattleSysCTB
DoubleX RMMV Unison Item YEP_X_BattleSysATB
Updates
  1. *      DoubleX RMMV Unison Item Default:                                    
  2.  *      v1.00c(GMT 0100 1-1-2016):                                            
  3.  *      1. Fixed undefined SceneManager.scene by using $gameParty.inBattle()  
  4.  *      This plugin:                                                          
  5.  *      v1.00c(GMT 1300 31-12-2015):                                          
  6.  *      1. Fixed writing getter contents directly instead of using String bug
Expand to see the code.
Updates
  1. *      DoubleX RMMV Unison Item Default:                                    
  2.  *      v1.00d(GMT 1100 4-1-2016):                                            
  3.  *      1. Fixed all unison item being unusable due to typo bug              
  4.  *      2. Added plugin description and author name in the plugin manager    
  5.  *      This plugin:                                                          
  6.  *      v1.00d(GMT 0200 3-1-2016):                                            
  7.  *      1. FUNCTIONS now store all battler functions instead of merely getters
Expand to see the code.
Updates
Added this video:

  1. *      DoubleX RMMV Unison Item Default:                                    
  2.  *      v1.00e(GMT 1500 30-1-2016):                                          
  3.  *      1. Fixed not passing this to canUseUnisonSkill and canUseUnisonItem  
  4.  *      2. Fixed not checking if item exist first in canUse bug              
  5.  *      3. Fixed unison invoker might not have the smallest party member index
  6.  *      This plugin:                                                          
  7.  *      v1.00e(GMT 1500 30-1-2016):                                          
  8.  *      1. Fixed not returning value in makeDamageValue bug                  
  9.  *      2. Fixed not showing unison item names in the battle log window bug  
  10.  *      3. Fixed enemy using actor unison item showing unison actor names bug
Expand to see the code.
Updates
Added this video:

  1. *      DoubleX RMMV Unison Item YEP_X_BattleSysCTB:                          
  2.  *      v1.00a(GMT 1500 28-2-2016):                                          
  3.  *      1. 1st version of this plugin finished                                
  4.  *      2. Unison skills/items needing charging might be executed immediately
  5.  *         and/or cause the action order queue to be incorrect and/or outdated
  6.  *      This plugin:                                                          
  7.  *      v1.00f(GMT 1000 28-2-2016):                                          
  8.  *      1. Fixed unison invokees not stepping forward when executing actions  
Expand to see the code.
Updates
  1.  
  2.  *      This plugin:                                                          
  3.  *      v1.01a(GMT 1400 15-3-2016):                                          
  4.  *      1. Added <unison item actor mp cost: ids> and                        
  5.  *               <unison item actor tp cost: ids>                            
Expand to see the code.
Updates
  1. *      This plugin:                                                          
  2.  *      v1.01b(GMT 1300 17-3-2016):                                          
  3.  *      1. Fixed undefined uIFAs[RegExp.$1] in DM.loadItemNotes bug          
  4.  *      2. Fixed incorrect unison battler stat when using unison rules bug    
Expand to see the code.
Updates
Added this video:

  1. *      DoubleX RMMV Unison Item YEP_X_BattleSysCTB:                          
  2.  *      v1.00b(GMT 1300 14-5-2016):                                          
  3.  *      1. In sync with the latest version of DoubleX RMMV Unison Item Config
  4.  *      DoubleX RMMV Unison Item Default:                                    
  5.  *      v1.00f(GMT 1300 14-5-2016):                                          
  6.  *      1. Fixed a bug where unison items can have unison invokees with no    
  7.  *         empty action slots                                                
  8.  *      2. In sync with the latest version of this plugin                    
  9.  *      This plugin:                                                          
  10.  *      v1.02a(GMT 1300 14-5-2016):                                          
  11.  *      1. Added <unison item actor learn: flags> and <async unison item>    
Expand to see the code.
Updates
Added this video:

  1. *      DoubleX RMMV Unison Item YEP_X_BattleSysATB:                          
  2.  *      v1.00a(GMT 0600 21-5-2016):                                          
  3.  *      1. 1st version of this plugin finished                                
  4.  *      DoubleX RMMV Unison Item YEP_X_BattleSysCTB:                          
  5.  *      v1.00c(GMT 0600 21-5-2016):                                          
  6.  *      1. Fixed BattleManager.asyncUnisonItems not using unique key          
  7.  *      2. Fixed not clearing actors in BattleManager.asyncUnisonItems        
Expand to see the code.
Updates
  1. *      DoubleX RMMV Unison Item Default:                                    
  2.  *      v1.00g(GMT 0300 5-6-2016):                                            
  3.  *      1. Fixed a bug where game crashes when accessing equips in item menu  
Expand to see the code.
Updates
  1. *      This plugin:                                                          
  2.  *      v1.03a(GMT 0500 23-7-2016):                                          
  3.  *      1. Added <unison item actor function drain: weights>                  
Expand to see the code.

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