New account registrations are disabed. This website is now an archive. Read more here.

RPG Maker MV    Posted December 23, 2015 by DoubleX

DoubleX RMMV Substitute Edit

Introduction

Lets you sets conditions determining the battler to substitute

Features

* @param substituteMissed
 * @desc Sets if substitutions will take place if the skill/item would miss
 *       This feature's not implemented yet but will possibly be implemented
 * @default false
 *
 * @param substituteEvaded
 * @desc Sets if substitutions will take place if the original target would
 *       evade the skill/item
 *       This feature's not implemented yet but will possibly be implemented
 * @default false
 *
 * @param substituteCountered
 * @desc Sets if substitutions will take place if the original target would
 *       counterattack/reflect the skill/item
 * @default false
 *
 * @param substituteCounter
 * @desc Sets if substitutions will take place if the skill/item's a
 *       counterattack/reflection of that of another action
 *       Might cause infinite counter loop with substituteBattlerCounter
 * @default false
 *
 * @param substituteBattlerMiss
 * @desc Sets if the skill/item can miss the substitute battler
 *       This feature's not implemented yet but will possibly be implemented
 * @default true
 *
 * @param substituteBattlerEvade
 * @desc Sets if the substitute battler can evade the skill/item
 *       This feature's not implemented yet but will possibly be implemented
 * @default true
 *
 * @param substituteBattlerCounter
 * @desc Sets if the substitute battler can counterattack/reflect the
 *       skill/item
 *       Might cause infinite counter loop with substituteCounter
 * @default true
 *
 * @param substituteBattlerFilters
 * @desc Sets the list of filters determining which battler to substitute
 *       Only movable battlers having the substitute flag will be considered
 *       The battlers passing the ith filter will proceed to the (i + 1)th one
 *       If only 1 battler passes the ith filter, all the remaining (i + j)th
 *       ones won't be used
 *       If no battler pass the ith filter, all battlers passing the (i - 1)th
 *       one will proceed to the (i + 1)th one
 *       Available filters:
 *       hpMp0 - The battler having 0 hp/mp
 *       immortal - The battler being immune to death
 *       maxCntMrf - The battler having the maximum cnt/mrf
 *       maxEvaMev - The battler having the maximum eva/mev
 *       maxPdrMdr - The battler having the maximum pdr/mdr
 *       maxHpMp - The battler having the maximum hp/mp
 *       maxGrd - The battler having the maximum grd
 *       maxCev - The battler having the maximum cev
 *       All unavailable filters in the list will be ignored
 *       The battler having the smallest party/troop member index will be the
 *       substitute battler if more than 1 battlers pass all filters in the
 *       list
 * @default hpMp0 immortal maxCntMrf maxEvaMev maxPdrMdr maxHpMp maxGrd maxCev
 *
 * @help
 * The plugin file name must be the same as DoubleX_RMMV.Substitute_Edit_File,
 * which must be edited by editing the plugin js file directly
 * The default value of DoubleX_RMMV.Substitute_Edit_File is
 * DoubleX RMMV Substitute Edit v100a
 *============================================================================
 *    ## Plugin Call Info                                                     
 *----------------------------------------------------------------------------
 *    # Configuration manipulations                                           
 *      1. $gameSystem.substituteEdit.param                                   
 *         - Returns the value of param listed in the plugin manager          
 *      2. $gameSystem.substituteEdit.param = val                             
 *         - Sets the value of param listed in the plugin manager as val      
 *         - All $gameSystem.substituteEdit.param changes will be saved       
 *============================================================================

The Code

License Terms

Attribution 3.0 Unported - You must attribute the work in the manner specified by the author or licensor. Commerical use allowed.

Version History

*      v1.00b(GMT 1500 21-12-2015):                                          
 *      1. Fixed typos and calling function via call instead of directly bug  
 *      v1.00a(GMT 1500 19-12-2015):                                          
 *      1. 1st version of this plugin finished

Credits & Thanks

DoubleX(Optional)

Terms & Conditions

*      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 aliases

Comments (0)

Leave a Reply

DoubleX

  • Posted about 9 years ago

  • Engine
    RPG Maker MV
  • Category
    Gameplay Scripts
  • License
    Attribution 3.0 Unported
  • Version
    v1.00b

Stats

1,363 views

0 comments

Tags

n-a