DoubleX RMMV Action Cost Compatibility

Note
This plugin's available for commercial use

Purpose

Fixes DoubleX RMMV Action Cost compatibility issues

Games using this plugin
None so far

Addressed Plugins
  1.  
  2. DoubleX RMMV Popularized ATB Core
  3. DoubleX RMMV Unison Item
  4. Victor Engine MV - Conditional Turn Battle
  5.  
Expand to see the code.

  1. *    # DoubleX RMMV Unison Item Config:                                      
  2.  *      1. The action cost is the same for all unison actors                  
  3.  *         - Reference tag: Unison Item Config Act Cost                      
  4.  *         - Read <unison item actor act cost: costs> in DM.loadItemNotes    
  5.  *         - Drawed the action cost in battle for each unison actor in        
  6.  *           WIL.drawActCost and WSL.drawActCost                              
  7.  *         - The default unison item action cost will be shown for all unison
  8.  *           actors when outside battles                                      
  9.  *    # DoubleX RMMV Unison Item Default:                                    
  10.  *      1. The number of action slot reserved by unison invokees are always 1
  11.  *         - Reference tag: Unison Item Default Invokee Act Slot Num          
  12.  *         - Checked the action cost for each unison invokee in              
  13.  *           GBB.canUseUnisonSkill and GBB.canUseUnisonItem as well          
  14.  *         - Stored and restored the action cost for each unison invokee in  
  15.  *           BM.addUnisonActors and BM.eraseUnisonActors as well              
  16.  *    # (v1.00b+)DoubleX RMMV Popularized ATB Core:                          
  17.  *      1. No battler can execute any action at all                          
  18.  *         - Reference tag: PATB Act Validity                                
  19.  *         - Extended BattleManager.processTurn to ensure no valid actions    
  20.  *           will be falsely regarded as invalid ones                        
  21.  *    # (v1.00c+)DoubleX RMMV Popularized ATB Core:                          
  22.  *      1. Battlers inputting skills/items with action cost greater than 1    
  23.  *         remains inputable after finishing inputting all skills/items      
  24.  *         - Reference tag: PATB Inputability                                
  25.  *         - Extended Game_Action.prototype.confirm_patb_item,                
  26.  *           Scene_Battle.prototype.confirm_patb_act and added GBB.confirmAct
  27.  *           to confirm the reserved action slots as well                    
Expand to see the code.


Notetags
  1.  
  2.  *    # Skill/Item Notetags:                                                  
  3.  *      1. <unison item actor act cost: costs>                                
  4.  *         - Sets the list of action costs needed for each of the            
  5.  *           corresponding id of the unison actor in <unison item actors: ids>
  6.  *           , is used to separate the mp costs in ids                        
  7.  *           E.g.:                                                            
  8.  *           If <unison item actors: 1> is used, then                        
  9.  *           <unison item actor act cost: 2> means actor with id 1 needs to  
  10.  *           use 2 action slots for using the unison skill/item              
  11.  *           If <unison item actors: 4, 2> is used, then                      
  12.  *           <unison item actor act cost: 2, 3> means actor with id 4 and 2  
  13.  *           need to use 2 and 3 action slots respectively for using the      
  14.  *           unison skill/item                                                
  15.  *           If <unison item actors: 4, 2> is used, then                      
  16.  *           <unison item actor act cost: 2> means actor with id 4 needs to  
  17.  *           pay 2 action slots while that with id 2 needs to use the number  
  18.  *           of action slots of the unison skill/item for using it            
  19.  
Expand to see the code.


Plugin Calls
  1.  
  2.  *    # Skill/Item manipulations                                              
  3.  *      1. meta.unisonItemActorActCosts                                      
  4.  *         - Returns the Array of action costs each needed by its            
  5.  *           corresponding actor with id in meta.unisonItemActors to use this
  6.  *           skill/item                                                      
  7.  *      2. meta.unisonItemActorActCosts = [cost, cost, ...]                  
  8.  *         - Sets the Array of of action costs each needed by its            
  9.  *           corresponding actor with id in meta.unisonItemActors to use this
  10.  *           skill/item                                                      
  11.  *         - All meta.unisonItemActorActCosts changes can be saved if        
  12.  *           DoubleX RMMV Dynamic Data is used                                
  13.  
Expand to see the code.


Video


Prerequisites
Plugins:
DoubleX RMMV Action Cost
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. CC BY 4.0, except those conflicting with any of the above, applies
  8.  *         to this plugin, unless you've my permissions not needing follow so.
  9.  *      5. I always reserve the right to deny you from using this plugin      
  10.  *         anymore if you've violated any of the above.                      
  11.  
Expand to see the code.


Changelog
  1. *      v1.01b(GMT 0300 20-5-2020):
  2.  *      1. In sync with the latest DoubleX RMMV Action Cost version
  3.  *      v1.01a(GMT 0400 5-2-2020):
  4.  *      1. Addressed compatibility with
  5.  *         - Victor Engine MV - Conditional Turn Battle
  6.  *      v1.00d(GMT 1500 11-8-2016):                                          
  7.  *      1. Removed compatibility with DoubleX RMMV Minimalized ATB            
  8.  *      1. In sync with the latest DoubleX RMMV Popularized ATB Core version  
  9.  *      v1.00c(GMT 1000 5-6-2016):                                            
  10.  *      1. Addressed more compatibility issues with                          
  11.  *         - DoubleX RMMV Minimalized ATB                                    
  12.  *         - DoubleX RMMV Popularized ATB Core                                
  13.  *      v1.00b(GMT 0300 29-5-2016):                                          
  14.  *      1. Addressed compatibility with                                      
  15.  *         - DoubleX RMMV Minimalized ATB                                    
  16.  *         - DoubleX RMMV Popularized ATB Core                                 
  17.  *      v1.00a(GMT 1500 22-5-2016):                                          
  18.  *      1. 1st version of this plugin finished                                
  19.  
Expand to see the code.


Download Link
DoubleX RMMV Action Cost Compatibility
Updates
  1. *      v1.00b(GMT 0300 29-5-2016):                                          
  2.  *      1. Addressed compatibility with                                      
  3.  *         - DoubleX RMMV Minimalized ATB                                    
  4.  *         - DoubleX RMMV Popularized ATB Core                                
Expand to see the code.
Updates
  1. *      v1.00c(GMT 1000 5-6-2016):                                            
  2.  *      1. Addressed more compatibility issues with                          
  3.  *         - DoubleX RMMV Minimalized ATB                                    
  4.  *         - DoubleX RMMV Popularized ATB Core                                
Expand to see the code.
Updates
  1. *      v1.00d(GMT 1500 11-8-2016):                                          
  2.  *      1. Removed compatibility with DoubleX RMMV Minimalized ATB            
  3.  *      1. In sync with the latest DoubleX RMMV Popularized ATB Core version  
Expand to see the code.
Updates
  1. *      v1.01a(GMT 0400 5-2-2020):
  2.  *      1. Addressed compatibility with
  3.  *         - Victor Engine MV - Conditional Turn Battle
Expand to see the code.
Updates
  1. *      v1.01b(GMT 0300 20-5-2020):
  2.  *      1. In sync with the latest DoubleX RMMV Action Cost version
Expand to see the code.

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