Advertisement
ICF-Soft

ICF-Soft Params Core 1.03 RPG Maker MV

Jan 13th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //=============================================================================
  2. // ICF-Soft Plugins - Params Core
  3. // ICFSoft_ParamsCore.js
  4. //=============================================================================
  5.  
  6. var Imported = Imported || {};
  7. Imported.ICFSoft_ParamCore = true;
  8.  
  9. var ICF = ICF || {};
  10. ICF.ParamCore = ICF.ParamCore || {};
  11.  
  12. ICF.ParamCore.Version = 103; // 1.03
  13.  
  14. //=============================================================================
  15.  /*:
  16.  * @plugindesc v1.03b This plugin allow to add new full custom params and
  17.  * more basic and x/sparam control.
  18.  * @author ICF-Soft [http://icfsoft.blogspot.com.es/]
  19.  *
  20.  * @param NParam0 Name
  21.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  22.  * @default
  23.  *
  24.  * @param NParam0 Full Name
  25.  * @desc Name that will be shown for this new param.
  26.  * @default
  27.  *
  28.  * @param NParam0 Base
  29.  * @desc How this new param is configured by default. See help.
  30.  * @default 30 15
  31.  *
  32.  * @param NParam0 Limits
  33.  * @desc Formula for min and max value for this new param. See help.
  34.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  35.  *
  36.  * @param NParam0 Buff Icons
  37.  * @desc Icons for each buff stack. Empty to don't use. See help.
  38.  * @default
  39.  *
  40.  * @param NParam0 Debuff Icons
  41.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  42.  * @default
  43.  *
  44.  * @param NParam1 Name
  45.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  46.  * @default
  47.  *
  48.  * @param NParam1 Full Name
  49.  * @desc Name that will be shown for this new param.
  50.  * @default
  51.  *
  52.  * @param NParam1 Base
  53.  * @desc How this new param is configured by default. See help.
  54.  * @default 30 15
  55.  *
  56.  * @param NParam1 Limits
  57.  * @desc Formula for min and max value for this new param. See help.
  58.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  59.  *
  60.  * @param NParam1 Buff Icons
  61.  * @desc Icons for each buff stack. Empty to don't use. See help.
  62.  * @default
  63.  *
  64.  * @param NParam1 Debuff Icons
  65.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  66.  * @default
  67.  *
  68.  * @param NParam2 Name
  69.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  70.  * @default
  71.  *
  72.  * @param NParam2 Full Name
  73.  * @desc Name that will be shown for this new param.
  74.  * @default
  75.  *
  76.  * @param NParam2 Base
  77.  * @desc How this new param is configured by default. See help.
  78.  * @default 30 15
  79.  *
  80.  * @param NParam2 Limits
  81.  * @desc Formula for min and max value for this new param. See help.
  82.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  83.  *
  84.  * @param NParam2 Buff Icons
  85.  * @desc Icons for each buff stack. Empty to don't use. See help.
  86.  * @default
  87.  *
  88.  * @param NParam2 Debuff Icons
  89.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  90.  * @default
  91.  *
  92.  * @param NParam3 Name
  93.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  94.  * @default
  95.  *
  96.  * @param NParam3 Full Name
  97.  * @desc Name that will be shown for this new param.
  98.  * @default
  99.  *
  100.  * @param NParam3 Base
  101.  * @desc How this new param is configured by default. See help.
  102.  * @default 30 15
  103.  *
  104.  * @param NParam3 Limits
  105.  * @desc Formula for min and max value for this new param. See help.
  106.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  107.  *
  108.  * @param NParam3 Buff Icons
  109.  * @desc Icons for each buff stack. Empty to don't use. See help.
  110.  * @default
  111.  *
  112.  * @param NParam3 Debuff Icons
  113.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  114.  * @default
  115.  *
  116.  * @param NParam4 Name
  117.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  118.  * @default
  119.  *
  120.  * @param NParam4 Full Name
  121.  * @desc Name that will be shown for this new param.
  122.  * @default
  123.  *
  124.  * @param NParam4 Base
  125.  * @desc How this new param is configured by default. See help.
  126.  * @default 30 15
  127.  *
  128.  * @param NParam4 Limits
  129.  * @desc Formula for min and max value for this new param. See help.
  130.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  131.  *
  132.  * @param NParam4 Buff Icons
  133.  * @desc Icons for each buff stack. Empty to don't use. See help.
  134.  * @default
  135.  *
  136.  * @param NParam4 Debuff Icons
  137.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  138.  * @default
  139.  *
  140.  * @param NParam5 Name
  141.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  142.  * @default
  143.  *
  144.  * @param NParam5 Full Name
  145.  * @desc Name that will be shown for this new param.
  146.  * @default
  147.  *
  148.  * @param NParam5 Base
  149.  * @desc How this new param is configured by default. See help.
  150.  * @default 30 15
  151.  *
  152.  * @param NParam5 Limits
  153.  * @desc Formula for min and max value for this new param. See help.
  154.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  155.  *
  156.  * @param NParam5 Buff Icons
  157.  * @desc Icons for each buff stack. Empty to don't use. See help.
  158.  * @default
  159.  *
  160.  * @param NParam5 Debuff Icons
  161.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  162.  * @default
  163.  *
  164.  * @param NParam6 Name
  165.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  166.  * @default
  167.  *
  168.  * @param NParam6 Full Name
  169.  * @desc Name that will be shown for this new param.
  170.  * @default
  171.  *
  172.  * @param NParam6 Base
  173.  * @desc How this new param is configured by default. See help.
  174.  * @default 30 15
  175.  *
  176.  * @param NParam6 Limits
  177.  * @desc Formula for min and max value for this new param. See help.
  178.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  179.  *
  180.  * @param NParam6 Buff Icons
  181.  * @desc Icons for each buff stack. Empty to don't use. See help.
  182.  * @default
  183.  *
  184.  * @param NParam6 Debuff Icons
  185.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  186.  * @default
  187.  *
  188.  * @param NParam7 Name
  189.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  190.  * @default
  191.  *
  192.  * @param NParam7 Full Name
  193.  * @desc Name that will be shown for this new param.
  194.  * @default
  195.  *
  196.  * @param NParam7 Base
  197.  * @desc How this new param is configured by default. See help.
  198.  * @default 30 15
  199.  *
  200.  * @param NParam7 Limits
  201.  * @desc Formula for min and max value for this new param. See help.
  202.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  203.  *
  204.  * @param NParam7 Buff Icons
  205.  * @desc Icons for each buff stack. Empty to don't use. See help.
  206.  * @default
  207.  *
  208.  * @param NParam7 Debuff Icons
  209.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  210.  * @default
  211.  *
  212.  * @param NParam8 Name
  213.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  214.  * @default
  215.  *
  216.  * @param NParam8 Full Name
  217.  * @desc Name that will be shown for this new param.
  218.  * @default
  219.  *
  220.  * @param NParam8 Base
  221.  * @desc How this new param is configured by default. See help.
  222.  * @default 30 15
  223.  *
  224.  * @param NParam8 Limits
  225.  * @desc Formula for min and max value for this new param. See help.
  226.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  227.  *
  228.  * @param NParam8 Buff Icons
  229.  * @desc Icons for each buff stack. Empty to don't use. See help.
  230.  * @default
  231.  *
  232.  * @param NParam8 Debuff Icons
  233.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  234.  * @default
  235.  *
  236.  * @param NParam9 Name
  237.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  238.  * @default
  239.  *
  240.  * @param NParam9 Full Name
  241.  * @desc Name that will be shown for this new param.
  242.  * @default
  243.  *
  244.  * @param NParam9 Base
  245.  * @desc How this new param is configured by default. See help.
  246.  * @default 30 15
  247.  *
  248.  * @param NParam9 Limits
  249.  * @desc Formula for min and max value for this new param. See help.
  250.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  251.  *
  252.  * @param NParam9 Buff Icons
  253.  * @desc Icons for each buff stack. Empty to don't use. See help.
  254.  * @default
  255.  *
  256.  * @param NParam9 Debuff Icons
  257.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  258.  * @default
  259.  *
  260.  * @param NParam10 Name
  261.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  262.  * @default
  263.  *
  264.  * @param NParam10 Full Name
  265.  * @desc Name that will be shown for this new param.
  266.  * @default
  267.  *
  268.  * @param NParam10 Base
  269.  * @desc How this new param is configured by default. See help.
  270.  * @default 30 15
  271.  *
  272.  * @param NParam10 Limits
  273.  * @desc Formula for min and max value for this new param. See help.
  274.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  275.  *
  276.  * @param NParam10 Buff Icons
  277.  * @desc Icons for each buff stack. Empty to don't use. See help.
  278.  * @default
  279.  *
  280.  * @param NParam10 Debuff Icons
  281.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  282.  * @default
  283.  *
  284.  * @param NParam11 Name
  285.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  286.  * @default
  287.  *
  288.  * @param NParam11 Full Name
  289.  * @desc Name that will be shown for this new param.
  290.  * @default
  291.  *
  292.  * @param NParam11 Base
  293.  * @desc How this new param is configured by default. See help.
  294.  * @default 30 15
  295.  *
  296.  * @param NParam11 Limits
  297.  * @desc Formula for min and max value for this new param. See help.
  298.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  299.  *
  300.  * @param NParam11 Buff Icons
  301.  * @desc Icons for each buff stack. Empty to don't use. See help.
  302.  * @default
  303.  *
  304.  * @param NParam11 Debuff Icons
  305.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  306.  * @default
  307.  *
  308.  * @param NParam12 Name
  309.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  310.  * @default
  311.  *
  312.  * @param NParam12 Full Name
  313.  * @desc Name that will be shown for this new param.
  314.  * @default
  315.  *
  316.  * @param NParam12 Base
  317.  * @desc How this new param is configured by default. See help.
  318.  * @default 30 15
  319.  *
  320.  * @param NParam12 Limits
  321.  * @desc Formula for min and max value for this new param. See help.
  322.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  323.  *
  324.  * @param NParam12 Buff Icons
  325.  * @desc Icons for each buff stack. Empty to don't use. See help.
  326.  * @default
  327.  *
  328.  * @param NParam12 Debuff Icons
  329.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  330.  * @default
  331.  *
  332.  * @param NParam13 Name
  333.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  334.  * @default
  335.  *
  336.  * @param NParam13 Full Name
  337.  * @desc Name that will be shown for this new param.
  338.  * @default
  339.  *
  340.  * @param NParam13 Base
  341.  * @desc How this new param is configured by default. See help.
  342.  * @default 30 15
  343.  *
  344.  * @param NParam13 Limits
  345.  * @desc Formula for min and max value for this new param. See help.
  346.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  347.  *
  348.  * @param NParam13 Buff Icons
  349.  * @desc Icons for each buff stack. Empty to don't use. See help.
  350.  * @default
  351.  *
  352.  * @param NParam13 Debuff Icons
  353.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  354.  * @default
  355.  *
  356.  * @param NParam14 Name
  357.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  358.  * @default
  359.  *
  360.  * @param NParam14 Full Name
  361.  * @desc Name that will be shown for this new param.
  362.  * @default
  363.  *
  364.  * @param NParam14 Base
  365.  * @desc How this new param is configured by default. See help.
  366.  * @default 30 15
  367.  *
  368.  * @param NParam14 Limits
  369.  * @desc Formula for min and max value for this new param. See help.
  370.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  371.  *
  372.  * @param NParam14 Buff Icons
  373.  * @desc Icons for each buff stack. Empty to don't use. See help.
  374.  * @default
  375.  *
  376.  * @param NParam14 Debuff Icons
  377.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  378.  * @default
  379.  *
  380.  * @param NParam15 Name
  381.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  382.  * @default
  383.  *
  384.  * @param NParam15 Full Name
  385.  * @desc Name that will be shown for this new param.
  386.  * @default
  387.  *
  388.  * @param NParam15 Base
  389.  * @desc How this new param is configured by default. See help.
  390.  * @default 30 15
  391.  *
  392.  * @param NParam15 Limits
  393.  * @desc Formula for min and max value for this new param. See help.
  394.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  395.  *
  396.  * @param NParam15 Buff Icons
  397.  * @desc Icons for each buff stack. Empty to don't use. See help.
  398.  * @default
  399.  *
  400.  * @param NParam15 Debuff Icons
  401.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  402.  * @default
  403.  *
  404.  * @param NParam16 Name
  405.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  406.  * @default
  407.  *
  408.  * @param NParam16 Full Name
  409.  * @desc Name that will be shown for this new param.
  410.  * @default
  411.  *
  412.  * @param NParam16 Base
  413.  * @desc How this new param is configured by default. See help.
  414.  * @default 30 15
  415.  *
  416.  * @param NParam16 Limits
  417.  * @desc Formula for min and max value for this new param. See help.
  418.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  419.  *
  420.  * @param NParam16 Buff Icons
  421.  * @desc Icons for each buff stack. Empty to don't use. See help.
  422.  * @default
  423.  *
  424.  * @param NParam16 Debuff Icons
  425.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  426.  * @default
  427.  *
  428.  * @param NParam17 Name
  429.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  430.  * @default
  431.  *
  432.  * @param NParam17 Full Name
  433.  * @desc Name that will be shown for this new param.
  434.  * @default
  435.  *
  436.  * @param NParam17 Base
  437.  * @desc How this new param is configured by default. See help.
  438.  * @default 30 15
  439.  *
  440.  * @param NParam17 Limits
  441.  * @desc Formula for min and max value for this new param. See help.
  442.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  443.  *
  444.  * @param NParam17 Buff Icons
  445.  * @desc Icons for each buff stack. Empty to don't use. See help.
  446.  * @default
  447.  *
  448.  * @param NParam17 Debuff Icons
  449.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  450.  * @default
  451.  *
  452.  * @param NParam18 Name
  453.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  454.  * @default
  455.  *
  456.  * @param NParam18 Full Name
  457.  * @desc Name that will be shown for this new param.
  458.  * @default
  459.  *
  460.  * @param NParam18 Base
  461.  * @desc How this new param is configured by default. See help.
  462.  * @default 30 15
  463.  *
  464.  * @param NParam18 Limits
  465.  * @desc Formula for min and max value for this new param. See help.
  466.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  467.  *
  468.  * @param NParam18 Buff Icons
  469.  * @desc Icons for each buff stack. Empty to don't use. See help.
  470.  * @default
  471.  *
  472.  * @param NParam18 Debuff Icons
  473.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  474.  * @default
  475.  *
  476.  * @param NParam19 Name
  477.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  478.  * @default
  479.  *
  480.  * @param NParam19 Full Name
  481.  * @desc Name that will be shown for this new param.
  482.  * @default
  483.  *
  484.  * @param NParam19 Base
  485.  * @desc How this new param is configured by default. See help.
  486.  * @default 30 15
  487.  *
  488.  * @param NParam19 Limits
  489.  * @desc Formula for min and max value for this new param. See help.
  490.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  491.  *
  492.  * @param NParam19 Buff Icons
  493.  * @desc Icons for each buff stack. Empty to don't use. See help.
  494.  * @default
  495.  *
  496.  * @param NParam19 Debuff Icons
  497.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  498.  * @default
  499.  *
  500.  * @param NParam20 Name
  501.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  502.  * @default
  503.  *
  504.  * @param NParam20 Full Name
  505.  * @desc Name that will be shown for this new param.
  506.  * @default
  507.  *
  508.  * @param NParam20 Base
  509.  * @desc How this new param is configured by default. See help.
  510.  * @default 30 15
  511.  *
  512.  * @param NParam20 Limits
  513.  * @desc Formula for min and max value for this new param. See help.
  514.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  515.  *
  516.  * @param NParam20 Buff Icons
  517.  * @desc Icons for each buff stack. Empty to don't use. See help.
  518.  * @default
  519.  *
  520.  * @param NParam20 Debuff Icons
  521.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  522.  * @default
  523.  *
  524.  * @param NParam21 Name
  525.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  526.  * @default
  527.  *
  528.  * @param NParam21 Full Name
  529.  * @desc Name that will be shown for this new param.
  530.  * @default
  531.  *
  532.  * @param NParam21 Base
  533.  * @desc How this new param is configured by default. See help.
  534.  * @default 30 15
  535.  *
  536.  * @param NParam21 Limits
  537.  * @desc Formula for min and max value for this new param. See help.
  538.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  539.  *
  540.  * @param NParam21 Buff Icons
  541.  * @desc Icons for each buff stack. Empty to don't use. See help.
  542.  * @default
  543.  *
  544.  * @param NParam21 Debuff Icons
  545.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  546.  * @default
  547.  *
  548.  * @param NParam22 Name
  549.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  550.  * @default
  551.  *
  552.  * @param NParam22 Full Name
  553.  * @desc Name that will be shown for this new param.
  554.  * @default
  555.  *
  556.  * @param NParam22 Base
  557.  * @desc How this new param is configured by default. See help.
  558.  * @default 30 15
  559.  *
  560.  * @param NParam22 Limits
  561.  * @desc Formula for min and max value for this new param. See help.
  562.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  563.  *
  564.  * @param NParam22 Buff Icons
  565.  * @desc Icons for each buff stack. Empty to don't use. See help.
  566.  * @default
  567.  *
  568.  * @param NParam22 Debuff Icons
  569.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  570.  * @default
  571.  *
  572.  * @param NParam23 Name
  573.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  574.  * @default
  575.  *
  576.  * @param NParam23 Full Name
  577.  * @desc Name that will be shown for this new param.
  578.  * @default
  579.  *
  580.  * @param NParam23 Base
  581.  * @desc How this new param is configured by default. See help.
  582.  * @default 30 15
  583.  *
  584.  * @param NParam23 Limits
  585.  * @desc Formula for min and max value for this new param. See help.
  586.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  587.  *
  588.  * @param NParam23 Buff Icons
  589.  * @desc Icons for each buff stack. Empty to don't use. See help.
  590.  * @default
  591.  *
  592.  * @param NParam23 Debuff Icons
  593.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  594.  * @default
  595.  *
  596.  * @param NParam24 Name
  597.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  598.  * @default
  599.  *
  600.  * @param NParam24 Full Name
  601.  * @desc Name that will be shown for this new param.
  602.  * @default
  603.  *
  604.  * @param NParam24 Base
  605.  * @desc How this new param is configured by default. See help.
  606.  * @default 30 15
  607.  *
  608.  * @param NParam24 Limits
  609.  * @desc Formula for min and max value for this new param. See help.
  610.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  611.  *
  612.  * @param NParam24 Buff Icons
  613.  * @desc Icons for each buff stack. Empty to don't use. See help.
  614.  * @default
  615.  *
  616.  * @param NParam24 Debuff Icons
  617.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  618.  * @default
  619.  *
  620.  * @param NParam25 Name
  621.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  622.  * @default
  623.  *
  624.  * @param NParam25 Full Name
  625.  * @desc Name that will be shown for this new param.
  626.  * @default
  627.  *
  628.  * @param NParam25 Base
  629.  * @desc How this new param is configured by default. See help.
  630.  * @default 30 15
  631.  *
  632.  * @param NParam25 Limits
  633.  * @desc Formula for min and max value for this new param. See help.
  634.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  635.  *
  636.  * @param NParam25 Buff Icons
  637.  * @desc Icons for each buff stack. Empty to don't use. See help.
  638.  * @default
  639.  *
  640.  * @param NParam25 Debuff Icons
  641.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  642.  * @default
  643.  *
  644.  * @param NParam26 Name
  645.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  646.  * @default
  647.  *
  648.  * @param NParam26 Full Name
  649.  * @desc Name that will be shown for this new param.
  650.  * @default
  651.  *
  652.  * @param NParam26 Base
  653.  * @desc How this new param is configured by default. See help.
  654.  * @default 30 15
  655.  *
  656.  * @param NParam26 Limits
  657.  * @desc Formula for min and max value for this new param. See help.
  658.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  659.  *
  660.  * @param NParam26 Buff Icons
  661.  * @desc Icons for each buff stack. Empty to don't use. See help.
  662.  * @default
  663.  *
  664.  * @param NParam26 Debuff Icons
  665.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  666.  * @default
  667.  *
  668.  * @param NParam27 Name
  669.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  670.  * @default
  671.  *
  672.  * @param NParam27 Full Name
  673.  * @desc Name that will be shown for this new param.
  674.  * @default
  675.  *
  676.  * @param NParam27 Base
  677.  * @desc How this new param is configured by default. See help.
  678.  * @default 30 15
  679.  *
  680.  * @param NParam27 Limits
  681.  * @desc Formula for min and max value for this new param. See help.
  682.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  683.  *
  684.  * @param NParam27 Buff Icons
  685.  * @desc Icons for each buff stack. Empty to don't use. See help.
  686.  * @default
  687.  *
  688.  * @param NParam27 Debuff Icons
  689.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  690.  * @default
  691.  *
  692.  * @param NParam28 Name
  693.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  694.  * @default
  695.  *
  696.  * @param NParam28 Full Name
  697.  * @desc Name that will be shown for this new param.
  698.  * @default
  699.  *
  700.  * @param NParam28 Base
  701.  * @desc How this new param is configured by default. See help.
  702.  * @default 30 15
  703.  *
  704.  * @param NParam28 Limits
  705.  * @desc Formula for min and max value for this new param. See help.
  706.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  707.  *
  708.  * @param NParam28 Buff Icons
  709.  * @desc Icons for each buff stack. Empty to don't use. See help.
  710.  * @default
  711.  *
  712.  * @param NParam28 Debuff Icons
  713.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  714.  * @default
  715.  *
  716.  * @param NParam29 Name
  717.  * @desc Name for this new param in lowercase without spaces. Empty to skip.
  718.  * @default
  719.  *
  720.  * @param NParam29 Full Name
  721.  * @desc Name that will be shown for this new param.
  722.  * @default
  723.  *
  724.  * @param NParam29 Base
  725.  * @desc How this new param is configured by default. See help.
  726.  * @default 30 15
  727.  *
  728.  * @param NParam29 Limits
  729.  * @desc Formula for min and max value for this new param. See help.
  730.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  731.  *
  732.  * @param NParam29 Buff Icons
  733.  * @desc Icons for each buff stack. Empty to don't use. See help.
  734.  * @default
  735.  *
  736.  * @param NParam29 Debuff Icons
  737.  * @desc Icons for each debuff stack. Empty to don't use. See help.
  738.  * @default
  739.  *
  740.  * @param PParam0 Name
  741.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  742.  * @default
  743.  *
  744.  * @param PParam0 Full Name
  745.  * @desc Name that will be shown for this plain param.
  746.  * @default
  747.  *
  748.  * @param PParam0 Base
  749.  * @desc Formula for base value for this plain param.
  750.  * @default 0
  751.  *
  752.  * @param PParam1 Name
  753.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  754.  * @default
  755.  *
  756.  * @param PParam1 Full Name
  757.  * @desc Name that will be shown for this plain param.
  758.  * @default
  759.  *
  760.  * @param PParam1 Base
  761.  * @desc Formula for base value for this plain param.
  762.  * @default 0
  763.  *
  764.  * @param PParam2 Name
  765.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  766.  * @default
  767.  *
  768.  * @param PParam2 Full Name
  769.  * @desc Name that will be shown for this plain param.
  770.  * @default
  771.  *
  772.  * @param PParam2 Base
  773.  * @desc Formula for base value for this plain param.
  774.  * @default 0
  775.  *
  776.  * @param PParam3 Name
  777.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  778.  * @default
  779.  *
  780.  * @param PParam3 Full Name
  781.  * @desc Name that will be shown for this plain param.
  782.  * @default
  783.  *
  784.  * @param PParam3 Base
  785.  * @desc Formula for base value for this plain param.
  786.  * @default 0
  787.  *
  788.  * @param PParam4 Name
  789.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  790.  * @default
  791.  *
  792.  * @param PParam4 Full Name
  793.  * @desc Name that will be shown for this plain param.
  794.  * @default
  795.  *
  796.  * @param PParam4 Base
  797.  * @desc Formula for base value for this plain param.
  798.  * @default 0
  799.  *
  800.  * @param PParam5 Name
  801.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  802.  * @default
  803.  *
  804.  * @param PParam5 Full Name
  805.  * @desc Name that will be shown for this plain param.
  806.  * @default
  807.  *
  808.  * @param PParam5 Base
  809.  * @desc Formula for base value for this plain param.
  810.  * @default 0
  811.  *
  812.  * @param PParam6 Name
  813.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  814.  * @default
  815.  *
  816.  * @param PParam6 Full Name
  817.  * @desc Name that will be shown for this plain param.
  818.  * @default
  819.  *
  820.  * @param PParam6 Base
  821.  * @desc Formula for base value for this plain param.
  822.  * @default 0
  823.  *
  824.  * @param PParam7 Name
  825.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  826.  * @default
  827.  *
  828.  * @param PParam7 Full Name
  829.  * @desc Name that will be shown for this plain param.
  830.  * @default
  831.  *
  832.  * @param PParam7 Base
  833.  * @desc Formula for base value for this plain param.
  834.  * @default 0
  835.  *
  836.  * @param PParam8 Name
  837.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  838.  * @default
  839.  *
  840.  * @param PParam8 Full Name
  841.  * @desc Name that will be shown for this plain param.
  842.  * @default
  843.  *
  844.  * @param PParam8 Base
  845.  * @desc Formula for base value for this plain param.
  846.  * @default 0
  847.  *
  848.  * @param PParam9 Name
  849.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  850.  * @default
  851.  *
  852.  * @param PParam9 Full Name
  853.  * @desc Name that will be shown for this plain param.
  854.  * @default
  855.  *
  856.  * @param PParam9 Base
  857.  * @desc Formula for base value for this plain param.
  858.  * @default 0
  859.  *
  860.  * @param PParam10 Name
  861.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  862.  * @default
  863.  *
  864.  * @param PParam10 Full Name
  865.  * @desc Name that will be shown for this plain param.
  866.  * @default
  867.  *
  868.  * @param PParam10 Base
  869.  * @desc Formula for base value for this plain param.
  870.  * @default 0
  871.  *
  872.  * @param PParam11 Name
  873.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  874.  * @default
  875.  *
  876.  * @param PParam11 Full Name
  877.  * @desc Name that will be shown for this plain param.
  878.  * @default
  879.  *
  880.  * @param PParam11 Base
  881.  * @desc Formula for base value for this plain param.
  882.  * @default 0
  883.  *
  884.  * @param PParam12 Name
  885.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  886.  * @default
  887.  *
  888.  * @param PParam12 Full Name
  889.  * @desc Name that will be shown for this plain param.
  890.  * @default
  891.  *
  892.  * @param PParam12 Base
  893.  * @desc Formula for base value for this plain param.
  894.  * @default 0
  895.  *
  896.  * @param PParam13 Name
  897.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  898.  * @default
  899.  *
  900.  * @param PParam13 Full Name
  901.  * @desc Name that will be shown for this plain param.
  902.  * @default
  903.  *
  904.  * @param PParam13 Base
  905.  * @desc Formula for base value for this plain param.
  906.  * @default 0
  907.  *
  908.  * @param PParam14 Name
  909.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  910.  * @default
  911.  *
  912.  * @param PParam14 Full Name
  913.  * @desc Name that will be shown for this plain param.
  914.  * @default
  915.  *
  916.  * @param PParam14 Base
  917.  * @desc Formula for base value for this plain param.
  918.  * @default 0
  919.  *
  920.  * @param PParam15 Name
  921.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  922.  * @default
  923.  *
  924.  * @param PParam15 Full Name
  925.  * @desc Name that will be shown for this plain param.
  926.  * @default
  927.  *
  928.  * @param PParam15 Base
  929.  * @desc Formula for base value for this plain param.
  930.  * @default 0
  931.  *
  932.  * @param PParam16 Name
  933.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  934.  * @default
  935.  *
  936.  * @param PParam16 Full Name
  937.  * @desc Name that will be shown for this plain param.
  938.  * @default
  939.  *
  940.  * @param PParam16 Base
  941.  * @desc Formula for base value for this plain param.
  942.  * @default 0
  943.  *
  944.  * @param PParam17 Name
  945.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  946.  * @default
  947.  *
  948.  * @param PParam17 Full Name
  949.  * @desc Name that will be shown for this plain param.
  950.  * @default
  951.  *
  952.  * @param PParam17 Base
  953.  * @desc Formula for base value for this plain param.
  954.  * @default 0
  955.  *
  956.  * @param PParam18 Name
  957.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  958.  * @default
  959.  *
  960.  * @param PParam18 Full Name
  961.  * @desc Name that will be shown for this plain param.
  962.  * @default
  963.  *
  964.  * @param PParam18 Base
  965.  * @desc Formula for base value for this plain param.
  966.  * @default 0
  967.  *
  968.  * @param PParam19 Name
  969.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  970.  * @default
  971.  *
  972.  * @param PParam19 Full Name
  973.  * @desc Name that will be shown for this plain param.
  974.  * @default
  975.  *
  976.  * @param PParam19 Base
  977.  * @desc Formula for base value for this plain param.
  978.  * @default 0
  979.  *
  980.  * @param PParam20 Name
  981.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  982.  * @default
  983.  *
  984.  * @param PParam20 Full Name
  985.  * @desc Name that will be shown for this plain param.
  986.  * @default
  987.  *
  988.  * @param PParam20 Base
  989.  * @desc Formula for base value for this plain param.
  990.  * @default 0
  991.  *
  992.  * @param PParam21 Name
  993.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  994.  * @default
  995.  *
  996.  * @param PParam21 Full Name
  997.  * @desc Name that will be shown for this plain param.
  998.  * @default
  999.  *
  1000.  * @param PParam21 Base
  1001.  * @desc Formula for base value for this plain param.
  1002.  * @default 0
  1003.  *
  1004.  * @param PParam22 Name
  1005.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  1006.  * @default
  1007.  *
  1008.  * @param PParam22 Full Name
  1009.  * @desc Name that will be shown for this plain param.
  1010.  * @default
  1011.  *
  1012.  * @param PParam22 Base
  1013.  * @desc Formula for base value for this plain param.
  1014.  * @default 0
  1015.  *
  1016.  * @param PParam23 Name
  1017.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  1018.  * @default
  1019.  *
  1020.  * @param PParam23 Full Name
  1021.  * @desc Name that will be shown for this plain param.
  1022.  * @default
  1023.  *
  1024.  * @param PParam23 Base
  1025.  * @desc Formula for base value for this plain param.
  1026.  * @default 0
  1027.  *
  1028.  * @param PParam24 Name
  1029.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  1030.  * @default
  1031.  *
  1032.  * @param PParam24 Full Name
  1033.  * @desc Name that will be shown for this plain param.
  1034.  * @default
  1035.  *
  1036.  * @param PParam24 Base
  1037.  * @desc Formula for base value for this plain param.
  1038.  * @default 0
  1039.  *
  1040.  * @param PParam25 Name
  1041.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  1042.  * @default
  1043.  *
  1044.  * @param PParam25 Full Name
  1045.  * @desc Name that will be shown for this plain param.
  1046.  * @default
  1047.  *
  1048.  * @param PParam25 Base
  1049.  * @desc Formula for base value for this plain param.
  1050.  * @default 0
  1051.  *
  1052.  * @param PParam26 Name
  1053.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  1054.  * @default
  1055.  *
  1056.  * @param PParam26 Full Name
  1057.  * @desc Name that will be shown for this plain param.
  1058.  * @default
  1059.  *
  1060.  * @param PParam26 Base
  1061.  * @desc Formula for base value for this plain param.
  1062.  * @default 0
  1063.  *
  1064.  * @param PParam27 Name
  1065.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  1066.  * @default
  1067.  *
  1068.  * @param PParam27 Full Name
  1069.  * @desc Name that will be shown for this plain param.
  1070.  * @default
  1071.  *
  1072.  * @param PParam27 Base
  1073.  * @desc Formula for base value for this plain param.
  1074.  * @default 0
  1075.  *
  1076.  * @param PParam28 Name
  1077.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  1078.  * @default
  1079.  *
  1080.  * @param PParam28 Full Name
  1081.  * @desc Name that will be shown for this plain param.
  1082.  * @default
  1083.  *
  1084.  * @param PParam28 Base
  1085.  * @desc Formula for base value for this plain param.
  1086.  * @default 0
  1087.  *
  1088.  * @param PParam29 Name
  1089.  * @desc Name for this plain param in lowercase without spaces. Empty to skip.
  1090.  * @default
  1091.  *
  1092.  * @param PParam29 Full Name
  1093.  * @desc Name that will be shown for this plain param.
  1094.  * @default
  1095.  *
  1096.  * @param PParam29 Base
  1097.  * @desc Formula for base value for this plain param.
  1098.  * @default 0
  1099.  *
  1100.  * @param BParam0 Name
  1101.  * @desc Alias for this basic param. You can to redefine it.
  1102.  * @default mhp
  1103.  *
  1104.  * @param BParam0 Limits
  1105.  * @desc Formula for min and max value for this param. See help.
  1106.  * Hit points
  1107.  * @default (this.isActor())? [1, 9999, 12000] : [1, 999999, 1200000]
  1108.  *
  1109.  * @param BParam1 Name
  1110.  * @desc Alias for this basic param. You can to redefine it.
  1111.  * @default mmp
  1112.  *
  1113.  * @param BParam1 Limits
  1114.  * @desc Formula for min and max value for this param. See help.
  1115.  * Magic points
  1116.  * @default (this.isActor())? [0, 9999, 12000] : [0, 9999, 12000]
  1117.  *
  1118.  * @param BParam2 Name
  1119.  * @desc Alias for this basic param. You can to redefine it.
  1120.  * @default atk
  1121.  *
  1122.  * @param BParam2 Limits
  1123.  * @desc Formula for min and max value for this param. See help.
  1124.  * Attack
  1125.  * @default (this.isActor())? [1, 999, 1200]   : [1, 999, 1200]
  1126.  *
  1127.  * @param BParam3 Name
  1128.  * @desc Alias for this basic param. You can to redefine it.
  1129.  * @default def
  1130.  *
  1131.  * @param BParam3 Limits
  1132.  * @desc Formula for min and max value for this param. See help.
  1133.  * Defense
  1134.  * @default (this.isActor())? [1, 999, 1200]   : [1, 999, 1200]
  1135.  *
  1136.  * @param BParam4 Name
  1137.  * @desc Alias for this basic param. You can to redefine it.
  1138.  * @default mat
  1139.  *
  1140.  * @param BParam4 Limits
  1141.  * @desc Formula for min and max value for this param. See help.
  1142.  * Magic attack
  1143.  * @default (this.isActor())? [1, 999, 1200]   : [1, 999, 1200]
  1144.  *
  1145.  * @param BParam5 Name
  1146.  * @desc Alias for this basic param. You can to redefine it.
  1147.  * @default mdf
  1148.  *
  1149.  * @param BParam5 Limits
  1150.  * @desc Formula for min and max value for this param. See help.
  1151.  * Magic defense
  1152.  * @default (this.isActor())? [1, 999, 1200]   : [1, 999, 1200]
  1153.  *
  1154.  * @param BParam6 Name
  1155.  * @desc Alias for this basic param. You can to redefine it.
  1156.  * @default agi
  1157.  *
  1158.  * @param BParam6 Limits
  1159.  * @desc Formula for min and max value for this param. See help.
  1160.  * Agility
  1161.  * @default (this.isActor())? [1, 999, 1200]   : [1, 999, 1200]
  1162.  *
  1163.  * @param BParam7 Name
  1164.  * @desc Alias for this basic param. You can to redefine it.
  1165.  * @default luk
  1166.  *
  1167.  * @param BParam7 Limits
  1168.  * @desc Formula for min and max value for this param. See help.
  1169.  * Luck
  1170.  * @default (this.isActor())? [1, 999, 1200]   : [1, 999, 1200]
  1171.  *
  1172.  * @param XParam0 Full Name
  1173.  * @desc Name that will be shown for this extra param.
  1174.  * @default Hit rate
  1175.  *
  1176.  * @param XParam0 Base
  1177.  * @desc Formula for base value for x param hit (HIT rate).
  1178.  * @default 0
  1179.  *
  1180.  * @param XParam1 Full Name
  1181.  * @desc Name that will be shown for this extra param.
  1182.  * @default Evasion rate
  1183.  *
  1184.  * @param XParam1 Base
  1185.  * @desc Formula for base value for x param eva (EVAsion rate).
  1186.  * @default 0
  1187.  *
  1188.  * @param XParam2 Full Name
  1189.  * @desc Name that will be shown for this extra param.
  1190.  * @default Critical rate
  1191.  *
  1192.  * @param XParam2 Base
  1193.  * @desc Formula for base value for x param cri (CRItical rate).
  1194.  * @default 0
  1195.  *
  1196.  * @param XParam3 Full Name
  1197.  * @desc Name that will be shown for this extra param.
  1198.  * @default Critical evasion rate
  1199.  *
  1200.  * @param XParam3 Base
  1201.  * @desc Formula for base value for x param cev (Critical Evasion Rate).
  1202.  * @default 0
  1203.  *
  1204.  * @param XParam4 Full Name
  1205.  * @desc Name that will be shown for this extra param.
  1206.  * @default Magic evasion rate
  1207.  *
  1208.  * @param XParam4 Base
  1209.  * @desc Formula for base value for x param mev (Magic EVasion rate).
  1210.  * @default 0
  1211.  *
  1212.  * @param XParam5 Full Name
  1213.  * @desc Name that will be shown for this extra param.
  1214.  * @default Magic reflection rate
  1215.  *
  1216.  * @param XParam5 Base
  1217.  * @desc Formula for base value for x param mrf (Magic ReFlection rate).
  1218.  * @default 0
  1219.  *
  1220.  * @param XParam6 Full Name
  1221.  * @desc Name that will be shown for this extra param.
  1222.  * @default Counter-attack rate
  1223.  *
  1224.  * @param XParam6 Base
  1225.  * @desc Formula for base value for x param cnt (CouNTer attack rate).
  1226.  * @default 0
  1227.  *
  1228.  * @param XParam7 Full Name
  1229.  * @desc Name that will be shown for this extra param.
  1230.  * @default Hp-regen rate
  1231.  *
  1232.  * @param XParam7 Base
  1233.  * @desc Formula for base value for x param hrg (Hp ReGeneration rate).
  1234.  * @default 0
  1235.  *
  1236.  * @param XParam8 Full Name
  1237.  * @desc Name that will be shown for this extra param.
  1238.  * @default Mp-regen rate
  1239.  *
  1240.  * @param XParam8 Base
  1241.  * @desc Formula for base value for x param mrg (Mp ReGeneration rate).
  1242.  * @default 0
  1243.  *
  1244.  * @param XParam9 Full Name
  1245.  * @desc Name that will be shown for this extra param.
  1246.  * @default Tp-regen rate
  1247.  *
  1248.  * @param XParam9 Base
  1249.  * @desc Formula for base value for x param trg (Tp ReGeneration rate).
  1250.  * @default 0
  1251.  *
  1252.  * @param SParam0 Full Name
  1253.  * @desc Name that will be shown for this special param.
  1254.  * @default Targeted rate
  1255.  *
  1256.  * @param SParam0 Base
  1257.  * @desc Formula for base value for x param tgr (TarGet Rate).
  1258.  * @default 1
  1259.  *
  1260.  * @param SParam1 Full Name
  1261.  * @desc Name that will be shown for this special param.
  1262.  * @default Guard rate
  1263.  *
  1264.  * @param SParam1 Base
  1265.  * @desc Formula for base value for s param grd (GuaRD effect rate).
  1266.  * @default 1
  1267.  *
  1268.  * @param SParam2 Full Name
  1269.  * @desc Name that will be shown for this special param.
  1270.  * @default Recovery rate
  1271.  *
  1272.  * @param SParam2 Base
  1273.  * @desc Formula for base value for s param rec (RECovery effect rate).
  1274.  * @default 1
  1275.  *
  1276.  * @param SParam3 Full Name
  1277.  * @desc Name that will be shown for this special param.
  1278.  * @default Pharmacology
  1279.  *
  1280.  * @param SParam3 Base
  1281.  * @desc Formula for base value for s param pha (PHArmacology).
  1282.  * @default 1
  1283.  *
  1284.  * @param SParam4 Full Name
  1285.  * @desc Name that will be shown for this special param.
  1286.  * @default Mp cost rate
  1287.  *
  1288.  * @param SParam4 Base
  1289.  * @desc Formula for base value for s param mcr (Mp Cost Rate).
  1290.  * @default 1
  1291.  *
  1292.  * @param SParam5 Full Name
  1293.  * @desc Name that will be shown for this special param.
  1294.  * @default Tp cost rate
  1295.  *
  1296.  * @param SParam5 Base
  1297.  * @desc Formula for base value for s param tcr (Tp Cost Rate).
  1298.  * @default 1
  1299.  *
  1300.  * @param SParam6 Full Name
  1301.  * @desc Name that will be shown for this special param.
  1302.  * @default Phisical damage rate
  1303.  *
  1304.  * @param SParam6 Base
  1305.  * @desc Formula for base value for s param pdr (Physical Damage Rate).
  1306.  * @default 1
  1307.  *
  1308.  * @param SParam7 Full Name
  1309.  * @desc Name that will be shown for this special param.
  1310.  * @default Magical damage rate
  1311.  *
  1312.  * @param SParam7 Base
  1313.  * @desc Formula for base value for s param mdr (Magical Damage Rate).
  1314.  * @default 1
  1315.  *
  1316.  * @param SParam8 Full Name
  1317.  * @desc Name that will be shown for this special param.
  1318.  * @default Floor damage rate
  1319.  *
  1320.  * @param SParam8 Base
  1321.  * @desc Formula for base value for s param fdr (Floor Damage Rate).
  1322.  * @default 1
  1323.  *
  1324.  * @param SParam9 Full Name
  1325.  * @desc Name that will be shown for this special param.
  1326.  * @default Experience rate
  1327.  *
  1328.  * @param SParam9 Base
  1329.  * @desc Formula for base value for s param exr (EXperience Rate).
  1330.  * @default 1
  1331.  *
  1332.  * @param Developer HaltJS
  1333.  * @desc When true it throws an error if a custom class param/nparam
  1334.  * javascript doesn't work.   NO - false     YES - true
  1335.  * @default false
  1336.  *
  1337.  * @help
  1338.  * ============================================================================
  1339.  * Introduction
  1340.  *
  1341.  * By default there are some fixed types of params, there are usefull but
  1342.  * have specified purposes and limits the way you can use them.
  1343.  *
  1344.  * With this plugin you can add new params that can be used in your formulas
  1345.  * and every use you can imagine.
  1346.  *
  1347.  * There are 2 new param types:
  1348.  *  -New/Normal Params: Level based params like the default ones,
  1349.  *   with buff/debuff effects and trait modifiers.
  1350.  *   Plus an option that can be used in some enemy levels plugins.
  1351.  *
  1352.  *  -Plain Params: Non level based params, these work as x/sparams
  1353.  *   with trait modifiers.
  1354.  *
  1355.  * Now there are more customization and control for basic, x and s params.
  1356.  * And a new double cap feature.
  1357.  *
  1358.  * ============================================================================
  1359.  * How to use
  1360.  * ============================================================================
  1361.  *
  1362.  * NParams and PParams are calculated with their respective formulas:
  1363.  *
  1364.  * NParam = (Base + Plus) * Rate * XRate * Buff + Flat + XFlat
  1365.  * PParam = (Base + Plus) * Rate + Flat
  1366.  *
  1367.  *   -Base is different for n and pparams. For NParams is a level based value.
  1368.  *    For PParam is a fixed value used to emulate x/sparams (0 and 1).
  1369.  *   -Plus is the sum of all plus traits attached to a battler. In case of
  1370.  *    NParam there is an extra added by script calls and item effects.
  1371.  *   -Rate is the product of all trait multipliers attached to a battler.
  1372.  *   -XRate is the product of all trait x-multipliers attached to a battler.
  1373.  *   -Buff is de effect of buff/debuff.
  1374.  *   -Flat is the sum of all flat trais attached to a battler. It isn't affected
  1375.  *    by any rate.
  1376.  *   -XFlat is the sum of all x-flat trais attached to a battler. It isn't affected
  1377.  *    by any rate.
  1378.  *
  1379.  * XRate, XFlat and Buff can make param to pass througth first max cap.
  1380.  *
  1381.  * To make XParams and SParams more customizable I've changed a little
  1382.  * their formulas:
  1383.  *
  1384.  * Param  = (Base + Plus) * Rate * XRate * Buff + Flat + XFlat
  1385.  * XParam = (Base + Plus) * Rate + Flat
  1386.  * SParam = (Base + Plus) * Rate + Flat
  1387.  *
  1388.  * They still work as usual but now you can add traits to have more control.
  1389.  *
  1390.  * To add traits you can use notetags inside data.
  1391.  *
  1392.  * Classes and enemies only:
  1393.  *
  1394.  * <NPARAM: NParam Base Grow>
  1395.  *    -Overrides default NParam for specified class/enemy.
  1396.  *     NParam can be referenced by it's name or index.
  1397.  *     Base is the initial value in level 1.
  1398.  *     Grow is how much is increased per level. If empty it will be fixed.
  1399.  *    
  1400.  *
  1401.  * Actors, classes, enemies, weapons, armors and states:
  1402.  *
  1403.  * <NDEBUFFRATE: NParam Rate>
  1404.  *    -This is used for nparam debuff resistance, it's the chance of
  1405.  *     succes debuff.
  1406.  *     0.5 means 50% debuff succes, 0.2 is 20% and so on.
  1407.  *
  1408.  *
  1409.  * <NPARAMPLUS: NParam Plus>
  1410.  * <NPARAMRATE: NParam Rate>
  1411.  * <NPARAMXRATE: NParam XRate>
  1412.  * <NPARAMFLAT: NParam Flat>
  1413.  * <NPARAMXFLAT: NParam Flat>
  1414.  *    -There are plus, rate, xrate and flat modifiers for nparam.
  1415.  *
  1416.  * <PPARAMPLUS: PParam Plus>
  1417.  * <PPARAMRATE: PParam Rate>
  1418.  * <PPARAMFLAT: PParam Flat>
  1419.  *    -There are plus, rate and flat modifiers for pparam.
  1420.  *
  1421.  * <PARAMPLUS: Param Plus>
  1422.  * <PARAMRATE: Param Rate>
  1423.  * <PARAMXRATE: Param XRate>
  1424.  * <PARAMFLAT: Param Flat>
  1425.  * <PARAMXFLAT: Param Flat>
  1426.  * <xPARAMPLUS: XParam Plus>
  1427.  * <XPARAMRATE: XParam Rate>
  1428.  * <XPARAMFLAT: XParam Flat>
  1429.  * <SPARAMPLUS: SParam Plus>
  1430.  * <SPARAMRATE: SParam Rate>
  1431.  * <SPARAMFLAT: SParam Flat>
  1432.  *    -There are plus, rate, xrate and flat modifiers for x and sparam.
  1433.  *     I have included these to give more control.
  1434.  *
  1435.  *
  1436.  * Skills and items only:
  1437.  *
  1438.  * <NBUFF: NParam turns>
  1439.  * <NDEBUFF: NParam turns>
  1440.  * <REMOVE NBUFF: NParam>
  1441.  * <REMOVE NDEBUFF: NParam>
  1442.  *    -There are buff/debuff effects to attach to skills and items.
  1443.  *
  1444.  * <NPARAM GROW: NParam amount>
  1445.  *    -Allow to increase/decrease nparam by a specified amount.
  1446.  *
  1447.  * ============================================================================
  1448.  * Lunatic Mode
  1449.  * ============================================================================
  1450.  *
  1451.  * Knowing javascript you can redefine specific base value for params
  1452.  * and nparams for classes through lunatic mode.
  1453.  *
  1454.  * It also work in notetags inside classes:
  1455.  *
  1456.  * <CUSTOM NPARAM BASE NPARAM>
  1457.  * value = 2;
  1458.  * value += 25;
  1459.  * </CUSTOM NPARAM BASE>
  1460.  *
  1461.  * <CUSTOM PARAM BASE PARAM>
  1462.  * value = 2;
  1463.  * value += 25;
  1464.  * </CUSTOM PARAM BASE>
  1465.  *
  1466.  * Those params defined will use their formula instead of normal base
  1467.  * value calculation. You can use javascript between these tags to alter
  1468.  * the final result.
  1469.  *
  1470.  * value - This is the value you want to alter with your own formula.
  1471.  *         It starts at 0.
  1472.  *
  1473.  * ============================================================================
  1474.  * Parameters
  1475.  * ============================================================================
  1476.  *
  1477.  * There are avaiable up to 30 params of each type with indexes from 0 to 29.
  1478.  *
  1479.  * NParamX Name: the name you give to specified nparam. It will be used
  1480.  * in formulas and can be used to reference a notetag.
  1481.  * Leave empty to skip.
  1482.  *
  1483.  * NParamX Full Name: the name you give to specified nparam. It is not used
  1484.  * here but usefull for plugins that need this.
  1485.  *
  1486.  * NParamX Base: the default formula for classes/enemies if they haven't.
  1487.  * First number is the value at level 1. Second is the amount gained
  1488.  * each level.
  1489.  *
  1490.  * NParamX Limits: the min and max value a nparam can be. It's used now
  1491.  * as a formula and needs 3 values.
  1492.  * First is min, second is normal max and third is X-max.
  1493.  * By default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  1494.  *
  1495.  * NParamX Buff Icons:
  1496.  * This is an array of icons separated by spaces. When specified param is
  1497.  * affected by a positive buff will be shown. Is starts with first and
  1498.  * use next for each buff stack. If you don't want to use it leave Empty.
  1499.  *
  1500.  * NParamX Debuff Icons:
  1501.  * Same as previous but with debuff stack. Empty to don't use.
  1502.  *
  1503.  * PParamX Name: the name you give to specified pparam. It will be used
  1504.  * in formulas and can be used to reference a notetag.
  1505.  * Leave empty to skip.
  1506.  *
  1507.  * PParamX Full Name: the name you give to specified pparam. It is not used
  1508.  * here but usefull for plugins that need this.
  1509.  *
  1510.  * PParamX Base: is a base value that can be used to emulate x/sparams.
  1511.  * 0 is used for a xparam and 1 for a sparam.
  1512.  * It works as a formula so you can do it param based.
  1513.  *
  1514.  * Current basic, x and s params can also be customized througth params.
  1515.  *
  1516.  * BParamX Name: the alias you give to specified param. Can be used to
  1517.  * redefine or recicle a param. It will be used in formulas and can be used
  1518.  * to reference a notetag.
  1519.  *
  1520.  * BParamX Limits: the min and max value a param can be. It uses a
  1521.  * formula and needs 3 values. Same as nparams.
  1522.  * First is min, second is normal max and third is X-max.
  1523.  *
  1524.  * XParamX Base: xparams are 0 by default but you can have more control
  1525.  * because it works as a formula.
  1526.  *
  1527.  * SParamX Base: sparams are 1 by default but you can have more control
  1528.  * because it works as a formula.
  1529.  *
  1530.  * Developer HaltJS: This is a development variable usefull to check if there is
  1531.  * a wrong javascript nparam or basic param.
  1532.  * When true will throw an error when it found a wrong javascript in lunatic
  1533.  * mode and tell specified param.
  1534.  * When false it will be ignored and game continues.
  1535.  *
  1536.  * ============================================================================
  1537.  * Incompatibilities
  1538.  * ============================================================================
  1539.  *
  1540.  * There's no known incompatible plugins yet.
  1541.  *
  1542.  * ============================================================================
  1543.  * Known isues
  1544.  * ============================================================================
  1545.  *
  1546.  * Not yet.
  1547.  *
  1548.  * ============================================================================
  1549.  * Changelog
  1550.  * ============================================================================
  1551.  *
  1552.  * Version 1.03:
  1553.  * - Added XFlat for the double cap.
  1554.  * - Increased n/pparams to 30.
  1555.  * - Allow names for x/sparams.
  1556.  *
  1557.  * Version 1.02:
  1558.  * - Allow to aliasing or redefining MV basic params.
  1559.  *
  1560.  * Version 1.01:
  1561.  * - Use of ICF-Soft Main Utility.
  1562.  * - Added lunatic mode for custom params and nparams.
  1563.  * - Changed how min and max limits work.
  1564.  * - Added double cap.
  1565.  * - Added more traits.
  1566.  * - Use of base params.
  1567.  *
  1568.  * Version 1.00:
  1569.  * - Finished plugin!
  1570.  *
  1571.  * ============================================================================
  1572.  *
  1573.  * For commercial and non-commercial games.
  1574.  * Credit to ICF-Soft.
  1575.  * This entire header must be included with plugin.
  1576.  *
  1577.  * ============================================================================
  1578. */
  1579. //=============================================================================
  1580.  /*:es
  1581.  * @plugindesc v1.03b Este complemento permite añadir nuevos parámetros
  1582.  * personalizables y mayor control sobre los parámetros del MV.
  1583.  * @author ICF-Soft [http://icfsoft.blogspot.com.es/]
  1584.  *
  1585.  * @param NParam0 Name
  1586.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  1587.  * @default
  1588.  *
  1589.  * @param NParam0 Full Name
  1590.  * @desc Nombre mostrado para este nuevo parámetro.
  1591.  * @default
  1592.  *
  1593.  * @param NParam0 Base
  1594.  * @desc Modo predeterminado de configuración. Ver ayuda.
  1595.  * @default 30 15
  1596.  *
  1597.  * @param NParam0 Limits
  1598.  * @desc Una fórmula para los valores mínimo y máximos para este
  1599.  * nuevo parámetro. Ver ayuda.
  1600.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  1601.  *
  1602.  * @param NParam0 Buff Icons
  1603.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  1604.  * Vacío no usar ninguno. Ver ayuda.
  1605.  * @default
  1606.  *
  1607.  * @param NParam0 Debuff Icons
  1608.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  1609.  * Vacío no usar ninguno. Ver ayuda.
  1610.  * @default
  1611.  *
  1612.  * @param NParam1 Name
  1613.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  1614.  * @default
  1615.  *
  1616.  * @param NParam1 Full Name
  1617.  * @desc Nombre mostrado para este nuevo parámetro.
  1618.  * @default
  1619.  *
  1620.  * @param NParam1 Base
  1621.  * @desc Modo predeterminado de configuración. Ver ayuda.
  1622.  * @default 30 15
  1623.  *
  1624.  * @param NParam1 Limits
  1625.  * @desc Una fórmula para los valores mínimo y máximos para este
  1626.  * nuevo parámetro. Ver ayuda.
  1627.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  1628.  *
  1629.  * @param NParam1 Buff Icons
  1630.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  1631.  * Vacío no usar ninguno. Ver ayuda.
  1632.  * @default
  1633.  *
  1634.  * @param NParam1 Debuff Icons
  1635.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  1636.  * Vacío no usar ninguno. Ver ayuda.
  1637.  * @default
  1638.  *
  1639.  * @param NParam2 Name
  1640.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  1641.  * @default
  1642.  *
  1643.  * @param NParam2 Full Name
  1644.  * @desc Nombre mostrado para este nuevo parámetro.
  1645.  * @default
  1646.  *
  1647.  * @param NParam2 Base
  1648.  * @desc Modo predeterminado de configuración. Ver ayuda.
  1649.  * @default 30 15
  1650.  *
  1651.  * @param NParam2 Limits
  1652.  * @desc Una fórmula para los valores mínimo y máximos para este
  1653.  * nuevo parámetro. Ver ayuda.
  1654.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  1655.  *
  1656.  * @param NParam2 Buff Icons
  1657.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  1658.  * Vacío no usar ninguno. Ver ayuda.
  1659.  * @default
  1660.  *
  1661.  * @param NParam2 Debuff Icons
  1662.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  1663.  * Vacío no usar ninguno. Ver ayuda.
  1664.  * @default
  1665.  *
  1666.  * @param NParam3 Name
  1667.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  1668.  * @default
  1669.  *
  1670.  * @param NParam3 Full Name
  1671.  * @desc Nombre mostrado para este nuevo parámetro.
  1672.  * @default
  1673.  *
  1674.  * @param NParam3 Base
  1675.  * @desc Modo predeterminado de configuración. Ver ayuda.
  1676.  * @default 30 15
  1677.  *
  1678.  * @param NParam3 Limits
  1679.  * @desc Una fórmula para los valores mínimo y máximos para este
  1680.  * nuevo parámetro. Ver ayuda.
  1681.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  1682.  *
  1683.  * @param NParam3 Buff Icons
  1684.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  1685.  * Vacío no usar ninguno. Ver ayuda.
  1686.  * @default
  1687.  *
  1688.  * @param NParam3 Debuff Icons
  1689.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  1690.  * Vacío no usar ninguno. Ver ayuda.
  1691.  * @default
  1692.  *
  1693.  * @param NParam4 Name
  1694.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  1695.  * @default
  1696.  *
  1697.  * @param NParam4 Full Name
  1698.  * @desc Nombre mostrado para este nuevo parámetro.
  1699.  * @default
  1700.  *
  1701.  * @param NParam4 Base
  1702.  * @desc Modo predeterminado de configuración. Ver ayuda.
  1703.  * @default 30 15
  1704.  *
  1705.  * @param NParam4 Limits
  1706.  * @desc Una fórmula para los valores mínimo y máximos para este
  1707.  * nuevo parámetro. Ver ayuda.
  1708.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  1709.  *
  1710.  * @param NParam4 Buff Icons
  1711.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  1712.  * Vacío no usar ninguno. Ver ayuda.
  1713.  * @default
  1714.  *
  1715.  * @param NParam4 Debuff Icons
  1716.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  1717.  * Vacío no usar ninguno. Ver ayuda.
  1718.  * @default
  1719.  *
  1720.  * @param NParam5 Name
  1721.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  1722.  * @default
  1723.  *
  1724.  * @param NParam5 Full Name
  1725.  * @desc Nombre mostrado para este nuevo parámetro.
  1726.  * @default
  1727.  *
  1728.  * @param NParam5 Base
  1729.  * @desc Modo predeterminado de configuración. Ver ayuda.
  1730.  * @default 30 15
  1731.  *
  1732.  * @param NParam5 Limits
  1733.  * @desc Una fórmula para los valores mínimo y máximos para este
  1734.  * nuevo parámetro. Ver ayuda.
  1735.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  1736.  *
  1737.  * @param NParam5 Buff Icons
  1738.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  1739.  * Vacío no usar ninguno. Ver ayuda.
  1740.  * @default
  1741.  *
  1742.  * @param NParam5 Debuff Icons
  1743.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  1744.  * Vacío no usar ninguno. Ver ayuda.
  1745.  * @default
  1746.  *
  1747.  * @param NParam6 Name
  1748.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  1749.  * @default
  1750.  *
  1751.  * @param NParam6 Full Name
  1752.  * @desc Nombre mostrado para este nuevo parámetro.
  1753.  * @default
  1754.  *
  1755.  * @param NParam6 Base
  1756.  * @desc Modo predeterminado de configuración. Ver ayuda.
  1757.  * @default 30 15
  1758.  *
  1759.  * @param NParam6 Limits
  1760.  * @desc Una fórmula para los valores mínimo y máximos para este
  1761.  * nuevo parámetro. Ver ayuda.
  1762.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  1763.  *
  1764.  * @param NParam6 Buff Icons
  1765.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  1766.  * Vacío no usar ninguno. Ver ayuda.
  1767.  * @default
  1768.  *
  1769.  * @param NParam6 Debuff Icons
  1770.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  1771.  * Vacío no usar ninguno. Ver ayuda.
  1772.  * @default
  1773.  *
  1774.  * @param NParam7 Name
  1775.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  1776.  * @default
  1777.  *
  1778.  * @param NParam7 Full Name
  1779.  * @desc Nombre mostrado para este nuevo parámetro.
  1780.  * @default
  1781.  *
  1782.  * @param NParam7 Base
  1783.  * @desc Modo predeterminado de configuración. Ver ayuda.
  1784.  * @default 30 15
  1785.  *
  1786.  * @param NParam7 Limits
  1787.  * @desc Una fórmula para los valores mínimo y máximos para este
  1788.  * nuevo parámetro. Ver ayuda.
  1789.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  1790.  *
  1791.  * @param NParam7 Buff Icons
  1792.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  1793.  * Vacío no usar ninguno. Ver ayuda.
  1794.  * @default
  1795.  *
  1796.  * @param NParam7 Debuff Icons
  1797.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  1798.  * Vacío no usar ninguno. Ver ayuda.
  1799.  * @default
  1800.  *
  1801.  * @param NParam8 Name
  1802.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  1803.  * @default
  1804.  *
  1805.  * @param NParam8 Full Name
  1806.  * @desc Nombre mostrado para este nuevo parámetro.
  1807.  * @default
  1808.  *
  1809.  * @param NParam8 Base
  1810.  * @desc Modo predeterminado de configuración. Ver ayuda.
  1811.  * @default 30 15
  1812.  *
  1813.  * @param NParam8 Limits
  1814.  * @desc Una fórmula para los valores mínimo y máximos para este
  1815.  * nuevo parámetro. Ver ayuda.
  1816.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  1817.  *
  1818.  * @param NParam8 Buff Icons
  1819.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  1820.  * Vacío no usar ninguno. Ver ayuda.
  1821.  * @default
  1822.  *
  1823.  * @param NParam8 Debuff Icons
  1824.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  1825.  * Vacío no usar ninguno. Ver ayuda.
  1826.  * @default
  1827.  *
  1828.  * @param NParam9 Name
  1829.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  1830.  * @default
  1831.  *
  1832.  * @param NParam9 Full Name
  1833.  * @desc Nombre mostrado para este nuevo parámetro.
  1834.  * @default
  1835.  *
  1836.  * @param NParam9 Base
  1837.  * @desc Modo predeterminado de configuración. Ver ayuda.
  1838.  * @default 30 15
  1839.  *
  1840.  * @param NParam9 Limits
  1841.  * @desc Una fórmula para los valores mínimo y máximos para este
  1842.  * nuevo parámetro. Ver ayuda.
  1843.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  1844.  *
  1845.  * @param NParam9 Buff Icons
  1846.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  1847.  * Vacío no usar ninguno. Ver ayuda.
  1848.  * @default
  1849.  *
  1850.  * @param NParam9 Debuff Icons
  1851.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  1852.  * Vacío no usar ninguno. Ver ayuda.
  1853.  * @default
  1854.  *
  1855.  * @param NParam10 Name
  1856.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  1857.  * @default
  1858.  *
  1859.  * @param NParam10 Full Name
  1860.  * @desc Nombre mostrado para este nuevo parámetro.
  1861.  * @default
  1862.  *
  1863.  * @param NParam10 Base
  1864.  * @desc Modo predeterminado de configuración. Ver ayuda.
  1865.  * @default 30 15
  1866.  *
  1867.  * @param NParam10 Limits
  1868.  * @desc Una fórmula para los valores mínimo y máximos para este
  1869.  * nuevo parámetro. Ver ayuda.
  1870.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  1871.  *
  1872.  * @param NParam10 Buff Icons
  1873.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  1874.  * Vacío no usar ninguno. Ver ayuda.
  1875.  * @default
  1876.  *
  1877.  * @param NParam10 Debuff Icons
  1878.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  1879.  * Vacío no usar ninguno. Ver ayuda.
  1880.  * @default
  1881.  *
  1882.  * @param NParam11 Name
  1883.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  1884.  * @default
  1885.  *
  1886.  * @param NParam11 Full Name
  1887.  * @desc Nombre mostrado para este nuevo parámetro.
  1888.  * @default
  1889.  *
  1890.  * @param NParam11 Base
  1891.  * @desc Modo predeterminado de configuración. Ver ayuda.
  1892.  * @default 30 15
  1893.  *
  1894.  * @param NParam11 Limits
  1895.  * @desc Una fórmula para los valores mínimo y máximos para este
  1896.  * nuevo parámetro. Ver ayuda.
  1897.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  1898.  *
  1899.  * @param NParam11 Buff Icons
  1900.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  1901.  * Vacío no usar ninguno. Ver ayuda.
  1902.  * @default
  1903.  *
  1904.  * @param NParam11 Debuff Icons
  1905.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  1906.  * Vacío no usar ninguno. Ver ayuda.
  1907.  * @default
  1908.  *
  1909.  * @param NParam12 Name
  1910.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  1911.  * @default
  1912.  *
  1913.  * @param NParam12 Full Name
  1914.  * @desc Nombre mostrado para este nuevo parámetro.
  1915.  * @default
  1916.  *
  1917.  * @param NParam12 Base
  1918.  * @desc Modo predeterminado de configuración. Ver ayuda.
  1919.  * @default 30 15
  1920.  *
  1921.  * @param NParam12 Limits
  1922.  * @desc Una fórmula para los valores mínimo y máximos para este
  1923.  * nuevo parámetro. Ver ayuda.
  1924.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  1925.  *
  1926.  * @param NParam12 Buff Icons
  1927.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  1928.  * Vacío no usar ninguno. Ver ayuda.
  1929.  * @default
  1930.  *
  1931.  * @param NParam12 Debuff Icons
  1932.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  1933.  * Vacío no usar ninguno. Ver ayuda.
  1934.  * @default
  1935.  *
  1936.  * @param NParam13 Name
  1937.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  1938.  * @default
  1939.  *
  1940.  * @param NParam13 Full Name
  1941.  * @desc Nombre mostrado para este nuevo parámetro.
  1942.  * @default
  1943.  *
  1944.  * @param NParam13 Base
  1945.  * @desc Modo predeterminado de configuración. Ver ayuda.
  1946.  * @default 30 15
  1947.  *
  1948.  * @param NParam13 Limits
  1949.  * @desc Una fórmula para los valores mínimo y máximos para este
  1950.  * nuevo parámetro. Ver ayuda.
  1951.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  1952.  *
  1953.  * @param NParam13 Buff Icons
  1954.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  1955.  * Vacío no usar ninguno. Ver ayuda.
  1956.  * @default
  1957.  *
  1958.  * @param NParam13 Debuff Icons
  1959.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  1960.  * Vacío no usar ninguno. Ver ayuda.
  1961.  * @default
  1962.  *
  1963.  * @param NParam14 Name
  1964.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  1965.  * @default
  1966.  *
  1967.  * @param NParam14 Full Name
  1968.  * @desc Nombre mostrado para este nuevo parámetro.
  1969.  * @default
  1970.  *
  1971.  * @param NParam14 Base
  1972.  * @desc Modo predeterminado de configuración. Ver ayuda.
  1973.  * @default 30 15
  1974.  *
  1975.  * @param NParam14 Limits
  1976.  * @desc Una fórmula para los valores mínimo y máximos para este
  1977.  * nuevo parámetro. Ver ayuda.
  1978.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  1979.  *
  1980.  * @param NParam14 Buff Icons
  1981.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  1982.  * Vacío no usar ninguno. Ver ayuda.
  1983.  * @default
  1984.  *
  1985.  * @param NParam14 Debuff Icons
  1986.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  1987.  * Vacío no usar ninguno. Ver ayuda.
  1988.  * @default
  1989.  *
  1990.  * @param NParam15 Name
  1991.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  1992.  * @default
  1993.  *
  1994.  * @param NParam15 Full Name
  1995.  * @desc Nombre mostrado para este nuevo parámetro.
  1996.  * @default
  1997.  *
  1998.  * @param NParam15 Base
  1999.  * @desc Modo predeterminado de configuración. Ver ayuda.
  2000.  * @default 30 15
  2001.  *
  2002.  * @param NParam15 Limits
  2003.  * @desc Una fórmula para los valores mínimo y máximos para este
  2004.  * nuevo parámetro. Ver ayuda.
  2005.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  2006.  *
  2007.  * @param NParam15 Buff Icons
  2008.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  2009.  * Vacío no usar ninguno. Ver ayuda.
  2010.  * @default
  2011.  *
  2012.  * @param NParam15 Debuff Icons
  2013.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  2014.  * Vacío no usar ninguno. Ver ayuda.
  2015.  * @default
  2016.  *
  2017.  * @param NParam16 Name
  2018.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  2019.  * @default
  2020.  *
  2021.  * @param NParam16 Full Name
  2022.  * @desc Nombre mostrado para este nuevo parámetro.
  2023.  * @default
  2024.  *
  2025.  * @param NParam16 Base
  2026.  * @desc Modo predeterminado de configuración. Ver ayuda.
  2027.  * @default 30 15
  2028.  *
  2029.  * @param NParam16 Limits
  2030.  * @desc Una fórmula para los valores mínimo y máximos para este
  2031.  * nuevo parámetro. Ver ayuda.
  2032.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  2033.  *
  2034.  * @param NParam16 Buff Icons
  2035.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  2036.  * Vacío no usar ninguno. Ver ayuda.
  2037.  * @default
  2038.  *
  2039.  * @param NParam16 Debuff Icons
  2040.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  2041.  * Vacío no usar ninguno. Ver ayuda.
  2042.  * @default
  2043.  *
  2044.  * @param NParam17 Name
  2045.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  2046.  * @default
  2047.  *
  2048.  * @param NParam17 Full Name
  2049.  * @desc Nombre mostrado para este nuevo parámetro.
  2050.  * @default
  2051.  *
  2052.  * @param NParam17 Base
  2053.  * @desc Modo predeterminado de configuración. Ver ayuda.
  2054.  * @default 30 15
  2055.  *
  2056.  * @param NParam17 Limits
  2057.  * @desc Una fórmula para los valores mínimo y máximos para este
  2058.  * nuevo parámetro. Ver ayuda.
  2059.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  2060.  *
  2061.  * @param NParam17 Buff Icons
  2062.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  2063.  * Vacío no usar ninguno. Ver ayuda.
  2064.  * @default
  2065.  *
  2066.  * @param NParam17 Debuff Icons
  2067.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  2068.  * Vacío no usar ninguno. Ver ayuda.
  2069.  * @default
  2070.  *
  2071.  * @param NParam18 Name
  2072.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  2073.  * @default
  2074.  *
  2075.  * @param NParam18 Full Name
  2076.  * @desc Nombre mostrado para este nuevo parámetro.
  2077.  * @default
  2078.  *
  2079.  * @param NParam18 Base
  2080.  * @desc Modo predeterminado de configuración. Ver ayuda.
  2081.  * @default 30 15
  2082.  *
  2083.  * @param NParam18 Limits
  2084.  * @desc Una fórmula para los valores mínimo y máximos para este
  2085.  * nuevo parámetro. Ver ayuda.
  2086.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  2087.  *
  2088.  * @param NParam18 Buff Icons
  2089.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  2090.  * Vacío no usar ninguno. Ver ayuda.
  2091.  * @default
  2092.  *
  2093.  * @param NParam18 Debuff Icons
  2094.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  2095.  * Vacío no usar ninguno. Ver ayuda.
  2096.  * @default
  2097.  *
  2098.  * @param NParam19 Name
  2099.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  2100.  * @default
  2101.  *
  2102.  * @param NParam19 Full Name
  2103.  * @desc Nombre mostrado para este nuevo parámetro.
  2104.  * @default
  2105.  *
  2106.  * @param NParam19 Base
  2107.  * @desc Modo predeterminado de configuración. Ver ayuda.
  2108.  * @default 30 15
  2109.  *
  2110.  * @param NParam19 Limits
  2111.  * @desc Una fórmula para los valores mínimo y máximos para este
  2112.  * nuevo parámetro. Ver ayuda.
  2113.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  2114.  *
  2115.  * @param NParam19 Buff Icons
  2116.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  2117.  * Vacío no usar ninguno. Ver ayuda.
  2118.  * @default
  2119.  *
  2120.  * @param NParam19 Debuff Icons
  2121.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  2122.  * Vacío no usar ninguno. Ver ayuda.
  2123.  * @default
  2124.  *
  2125.  * @param NParam20 Name
  2126.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  2127.  * @default
  2128.  *
  2129.  * @param NParam20 Full Name
  2130.  * @desc Nombre mostrado para este nuevo parámetro.
  2131.  * @default
  2132.  *
  2133.  * @param NParam20 Base
  2134.  * @desc Modo predeterminado de configuración. Ver ayuda.
  2135.  * @default 30 15
  2136.  *
  2137.  * @param NParam20 Limits
  2138.  * @desc Una fórmula para los valores mínimo y máximos para este
  2139.  * nuevo parámetro. Ver ayuda.
  2140.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  2141.  *
  2142.  * @param NParam20 Buff Icons
  2143.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  2144.  * Vacío no usar ninguno. Ver ayuda.
  2145.  * @default
  2146.  *
  2147.  * @param NParam20 Debuff Icons
  2148.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  2149.  * Vacío no usar ninguno. Ver ayuda.
  2150.  * @default
  2151.  *
  2152.  * @param NParam21 Name
  2153.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  2154.  * @default
  2155.  *
  2156.  * @param NParam21 Full Name
  2157.  * @desc Nombre mostrado para este nuevo parámetro.
  2158.  * @default
  2159.  *
  2160.  * @param NParam21 Base
  2161.  * @desc Modo predeterminado de configuración. Ver ayuda.
  2162.  * @default 30 15
  2163.  *
  2164.  * @param NParam21 Limits
  2165.  * @desc Una fórmula para los valores mínimo y máximos para este
  2166.  * nuevo parámetro. Ver ayuda.
  2167.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  2168.  *
  2169.  * @param NParam21 Buff Icons
  2170.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  2171.  * Vacío no usar ninguno. Ver ayuda.
  2172.  * @default
  2173.  *
  2174.  * @param NParam21 Debuff Icons
  2175.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  2176.  * Vacío no usar ninguno. Ver ayuda.
  2177.  * @default
  2178.  *
  2179.  * @param NParam22 Name
  2180.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  2181.  * @default
  2182.  *
  2183.  * @param NParam22 Full Name
  2184.  * @desc Nombre mostrado para este nuevo parámetro.
  2185.  * @default
  2186.  *
  2187.  * @param NParam22 Base
  2188.  * @desc Modo predeterminado de configuración. Ver ayuda.
  2189.  * @default 30 15
  2190.  *
  2191.  * @param NParam22 Limits
  2192.  * @desc Una fórmula para los valores mínimo y máximos para este
  2193.  * nuevo parámetro. Ver ayuda.
  2194.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  2195.  *
  2196.  * @param NParam22 Buff Icons
  2197.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  2198.  * Vacío no usar ninguno. Ver ayuda.
  2199.  * @default
  2200.  *
  2201.  * @param NParam22 Debuff Icons
  2202.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  2203.  * Vacío no usar ninguno. Ver ayuda.
  2204.  * @default
  2205.  *
  2206.  * @param NParam23 Name
  2207.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  2208.  * @default
  2209.  *
  2210.  * @param NParam23 Full Name
  2211.  * @desc Nombre mostrado para este nuevo parámetro.
  2212.  * @default
  2213.  *
  2214.  * @param NParam23 Base
  2215.  * @desc Modo predeterminado de configuración. Ver ayuda.
  2216.  * @default 30 15
  2217.  *
  2218.  * @param NParam23 Limits
  2219.  * @desc Una fórmula para los valores mínimo y máximos para este
  2220.  * nuevo parámetro. Ver ayuda.
  2221.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  2222.  *
  2223.  * @param NParam23 Buff Icons
  2224.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  2225.  * Vacío no usar ninguno. Ver ayuda.
  2226.  * @default
  2227.  *
  2228.  * @param NParam23 Debuff Icons
  2229.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  2230.  * Vacío no usar ninguno. Ver ayuda.
  2231.  * @default
  2232.  *
  2233.  * @param NParam24 Name
  2234.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  2235.  * @default
  2236.  *
  2237.  * @param NParam24 Full Name
  2238.  * @desc Nombre mostrado para este nuevo parámetro.
  2239.  * @default
  2240.  *
  2241.  * @param NParam24 Base
  2242.  * @desc Modo predeterminado de configuración. Ver ayuda.
  2243.  * @default 30 15
  2244.  *
  2245.  * @param NParam24 Limits
  2246.  * @desc Una fórmula para los valores mínimo y máximos para este
  2247.  * nuevo parámetro. Ver ayuda.
  2248.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  2249.  *
  2250.  * @param NParam24 Buff Icons
  2251.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  2252.  * Vacío no usar ninguno. Ver ayuda.
  2253.  * @default
  2254.  *
  2255.  * @param NParam24 Debuff Icons
  2256.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  2257.  * Vacío no usar ninguno. Ver ayuda.
  2258.  * @default
  2259.  *
  2260.  * @param NParam25 Name
  2261.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  2262.  * @default
  2263.  *
  2264.  * @param NParam25 Full Name
  2265.  * @desc Nombre mostrado para este nuevo parámetro.
  2266.  * @default
  2267.  *
  2268.  * @param NParam25 Base
  2269.  * @desc Modo predeterminado de configuración. Ver ayuda.
  2270.  * @default 30 15
  2271.  *
  2272.  * @param NParam25 Limits
  2273.  * @desc Una fórmula para los valores mínimo y máximos para este
  2274.  * nuevo parámetro. Ver ayuda.
  2275.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  2276.  *
  2277.  * @param NParam25 Buff Icons
  2278.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  2279.  * Vacío no usar ninguno. Ver ayuda.
  2280.  * @default
  2281.  *
  2282.  * @param NParam25 Debuff Icons
  2283.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  2284.  * Vacío no usar ninguno. Ver ayuda.
  2285.  * @default
  2286.  *
  2287.  * @param NParam26 Name
  2288.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  2289.  * @default
  2290.  *
  2291.  * @param NParam26 Full Name
  2292.  * @desc Nombre mostrado para este nuevo parámetro.
  2293.  * @default
  2294.  *
  2295.  * @param NParam26 Base
  2296.  * @desc Modo predeterminado de configuración. Ver ayuda.
  2297.  * @default 30 15
  2298.  *
  2299.  * @param NParam26 Limits
  2300.  * @desc Una fórmula para los valores mínimo y máximos para este
  2301.  * nuevo parámetro. Ver ayuda.
  2302.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  2303.  *
  2304.  * @param NParam26 Buff Icons
  2305.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  2306.  * Vacío no usar ninguno. Ver ayuda.
  2307.  * @default
  2308.  *
  2309.  * @param NParam26 Debuff Icons
  2310.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  2311.  * Vacío no usar ninguno. Ver ayuda.
  2312.  * @default
  2313.  *
  2314.  * @param NParam27 Name
  2315.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  2316.  * @default
  2317.  *
  2318.  * @param NParam27 Full Name
  2319.  * @desc Nombre mostrado para este nuevo parámetro.
  2320.  * @default
  2321.  *
  2322.  * @param NParam27 Base
  2323.  * @desc Modo predeterminado de configuración. Ver ayuda.
  2324.  * @default 30 15
  2325.  *
  2326.  * @param NParam27 Limits
  2327.  * @desc Una fórmula para los valores mínimo y máximos para este
  2328.  * nuevo parámetro. Ver ayuda.
  2329.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  2330.  *
  2331.  * @param NParam27 Buff Icons
  2332.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  2333.  * Vacío no usar ninguno. Ver ayuda.
  2334.  * @default
  2335.  *
  2336.  * @param NParam27 Debuff Icons
  2337.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  2338.  * Vacío no usar ninguno. Ver ayuda.
  2339.  * @default
  2340.  *
  2341.  * @param NParam28 Name
  2342.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  2343.  * @default
  2344.  *
  2345.  * @param NParam28 Full Name
  2346.  * @desc Nombre mostrado para este nuevo parámetro.
  2347.  * @default
  2348.  *
  2349.  * @param NParam28 Base
  2350.  * @desc Modo predeterminado de configuración. Ver ayuda.
  2351.  * @default 30 15
  2352.  *
  2353.  * @param NParam28 Limits
  2354.  * @desc Una fórmula para los valores mínimo y máximos para este
  2355.  * nuevo parámetro. Ver ayuda.
  2356.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  2357.  *
  2358.  * @param NParam28 Buff Icons
  2359.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  2360.  * Vacío no usar ninguno. Ver ayuda.
  2361.  * @default
  2362.  *
  2363.  * @param NParam28 Debuff Icons
  2364.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  2365.  * Vacío no usar ninguno. Ver ayuda.
  2366.  * @default
  2367.  *
  2368.  * @param NParam29 Name
  2369.  * @desc Nombre para este nuevo parámetro en minúsculas. Vacío para saltar.
  2370.  * @default
  2371.  *
  2372.  * @param NParam29 Full Name
  2373.  * @desc Nombre mostrado para este nuevo parámetro.
  2374.  * @default
  2375.  *
  2376.  * @param NParam29 Base
  2377.  * @desc Modo predeterminado de configuración. Ver ayuda.
  2378.  * @default 30 15
  2379.  *
  2380.  * @param NParam29 Limits
  2381.  * @desc Una fórmula para los valores mínimo y máximos para este
  2382.  * nuevo parámetro. Ver ayuda.
  2383.  * @default (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  2384.  *
  2385.  * @param NParam29 Buff Icons
  2386.  * @desc Iconos a mostrar para cada valor de fortalecimiento.
  2387.  * Vacío no usar ninguno. Ver ayuda.
  2388.  * @default
  2389.  *
  2390.  * @param NParam29 Debuff Icons
  2391.  * @desc Iconos a mostrar para cada valor de debilitamiento.
  2392.  * Vacío no usar ninguno. Ver ayuda.
  2393.  * @default
  2394.  *
  2395.  * @param PParam0 Name
  2396.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2397.  * @default
  2398.  *
  2399.  * @param PParam0 Full Name
  2400.  * @desc Nombre para mostrar para este parámetro plano.
  2401.  * @default
  2402.  *
  2403.  * @param PParam0 Base
  2404.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2405.  * @default 0
  2406.  *
  2407.  * @param PParam1 Name
  2408.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2409.  * @default
  2410.  *
  2411.  * @param PParam1 Full Name
  2412.  * @desc Nombre para mostrar para este parámetro plano.
  2413.  * @default
  2414.  *
  2415.  * @param PParam1 Base
  2416.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2417.  * @default 0
  2418.  *
  2419.  * @param PParam2 Name
  2420.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2421.  * @default
  2422.  *
  2423.  * @param PParam2 Full Name
  2424.  * @desc Nombre para mostrar para este parámetro plano.
  2425.  * @default
  2426.  *
  2427.  * @param PParam2 Base
  2428.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2429.  * @default 0
  2430.  *
  2431.  * @param PParam3 Name
  2432.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2433.  * @default
  2434.  *
  2435.  * @param PParam3 Full Name
  2436.  * @desc Nombre para mostrar para este parámetro plano.
  2437.  * @default
  2438.  *
  2439.  * @param PParam3 Base
  2440.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2441.  * @default 0
  2442.  *
  2443.  * @param PParam4 Name
  2444.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2445.  * @default
  2446.  *
  2447.  * @param PParam4 Full Name
  2448.  * @desc Nombre para mostrar para este parámetro plano.
  2449.  * @default
  2450.  *
  2451.  * @param PParam4 Base
  2452.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2453.  * @default 0
  2454.  *
  2455.  * @param PParam5 Name
  2456.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2457.  * @default
  2458.  *
  2459.  * @param PParam5 Full Name
  2460.  * @desc Nombre para mostrar para este parámetro plano.
  2461.  * @default
  2462.  *
  2463.  * @param PParam5 Base
  2464.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2465.  * @default 0
  2466.  *
  2467.  * @param PParam6 Name
  2468.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2469.  * @default
  2470.  *
  2471.  * @param PParam6 Full Name
  2472.  * @desc Nombre para mostrar para este parámetro plano.
  2473.  * @default
  2474.  *
  2475.  * @param PParam6 Base
  2476.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2477.  * @default 0
  2478.  *
  2479.  * @param PParam7 Name
  2480.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2481.  * @default
  2482.  *
  2483.  * @param PParam7 Full Name
  2484.  * @desc Nombre para mostrar para este parámetro plano.
  2485.  * @default
  2486.  *
  2487.  * @param PParam7 Base
  2488.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2489.  * @default 0
  2490.  *
  2491.  * @param PParam8 Name
  2492.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2493.  * @default
  2494.  *
  2495.  * @param PParam8 Full Name
  2496.  * @desc Nombre para mostrar para este parámetro plano.
  2497.  * @default
  2498.  *
  2499.  * @param PParam8 Base
  2500.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2501.  * @default 0
  2502.  *
  2503.  * @param PParam9 Name
  2504.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2505.  * @default
  2506.  *
  2507.  * @param PParam9 Full Name
  2508.  * @desc Nombre para mostrar para este parámetro plano.
  2509.  * @default
  2510.  *
  2511.  * @param PParam9 Base
  2512.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2513.  * @default 0
  2514.  *
  2515.  * @param PParam10 Name
  2516.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2517.  * @default
  2518.  *
  2519.  * @param PParam10 Full Name
  2520.  * @desc Nombre para mostrar para este parámetro plano.
  2521.  * @default
  2522.  *
  2523.  * @param PParam10 Base
  2524.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2525.  * @default 0
  2526.  *
  2527.  * @param PParam11 Name
  2528.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2529.  * @default
  2530.  *
  2531.  * @param PParam11 Full Name
  2532.  * @desc Nombre para mostrar para este parámetro plano.
  2533.  * @default
  2534.  *
  2535.  * @param PParam11 Base
  2536.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2537.  * @default 0
  2538.  *
  2539.  * @param PParam12 Name
  2540.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2541.  * @default
  2542.  *
  2543.  * @param PParam12 Full Name
  2544.  * @desc Nombre para mostrar para este parámetro plano.
  2545.  * @default
  2546.  *
  2547.  * @param PParam12 Base
  2548.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2549.  * @default 0
  2550.  *
  2551.  * @param PParam13 Name
  2552.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2553.  * @default
  2554.  *
  2555.  * @param PParam13 Full Name
  2556.  * @desc Nombre para mostrar para este parámetro plano.
  2557.  * @default
  2558.  *
  2559.  * @param PParam13 Base
  2560.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2561.  * @default 0
  2562.  *
  2563.  * @param PParam14 Name
  2564.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2565.  * @default
  2566.  *
  2567.  * @param PParam14 Full Name
  2568.  * @desc Nombre para mostrar para este parámetro plano.
  2569.  * @default
  2570.  *
  2571.  * @param PParam14 Base
  2572.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2573.  * @default 0
  2574.  *
  2575.  * @param PParam15 Name
  2576.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2577.  * @default
  2578.  *
  2579.  * @param PParam15 Full Name
  2580.  * @desc Nombre para mostrar para este parámetro plano.
  2581.  * @default
  2582.  *
  2583.  * @param PParam15 Base
  2584.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2585.  * @default 0
  2586.  *
  2587.  * @param PParam16 Name
  2588.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2589.  * @default
  2590.  *
  2591.  * @param PParam16 Full Name
  2592.  * @desc Nombre para mostrar para este parámetro plano.
  2593.  * @default
  2594.  *
  2595.  * @param PParam16 Base
  2596.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2597.  * @default 0
  2598.  *
  2599.  * @param PParam17 Name
  2600.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2601.  * @default
  2602.  *
  2603.  * @param PParam17 Full Name
  2604.  * @desc Nombre para mostrar para este parámetro plano.
  2605.  * @default
  2606.  *
  2607.  * @param PParam17 Base
  2608.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2609.  * @default 0
  2610.  *
  2611.  * @param PParam18 Name
  2612.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2613.  * @default
  2614.  *
  2615.  * @param PParam18 Full Name
  2616.  * @desc Nombre para mostrar para este parámetro plano.
  2617.  * @default
  2618.  *
  2619.  * @param PParam18 Base
  2620.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2621.  * @default 0
  2622.  *
  2623.  * @param PParam19 Name
  2624.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2625.  * @default
  2626.  *
  2627.  * @param PParam19 Full Name
  2628.  * @desc Nombre para mostrar para este parámetro plano.
  2629.  * @default
  2630.  *
  2631.  * @param PParam19 Base
  2632.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2633.  * @default 0
  2634.  *
  2635.  * @param PParam20 Name
  2636.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2637.  * @default
  2638.  *
  2639.  * @param PParam20 Full Name
  2640.  * @desc Nombre para mostrar para este parámetro plano.
  2641.  * @default
  2642.  *
  2643.  * @param PParam20 Base
  2644.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2645.  * @default 0
  2646.  *
  2647.  * @param PParam21 Name
  2648.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2649.  * @default
  2650.  *
  2651.  * @param PParam21 Full Name
  2652.  * @desc Nombre para mostrar para este parámetro plano.
  2653.  * @default
  2654.  *
  2655.  * @param PParam21 Base
  2656.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2657.  * @default 0
  2658.  *
  2659.  * @param PParam22 Name
  2660.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2661.  * @default
  2662.  *
  2663.  * @param PParam22 Full Name
  2664.  * @desc Nombre para mostrar para este parámetro plano.
  2665.  * @default
  2666.  *
  2667.  * @param PParam22 Base
  2668.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2669.  * @default 0
  2670.  *
  2671.  * @param PParam23 Name
  2672.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2673.  * @default
  2674.  *
  2675.  * @param PParam23 Full Name
  2676.  * @desc Nombre para mostrar para este parámetro plano.
  2677.  * @default
  2678.  *
  2679.  * @param PParam23 Base
  2680.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2681.  * @default 0
  2682.  *
  2683.  * @param PParam24 Name
  2684.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2685.  * @default
  2686.  *
  2687.  * @param PParam24 Full Name
  2688.  * @desc Nombre para mostrar para este parámetro plano.
  2689.  * @default
  2690.  *
  2691.  * @param PParam24 Base
  2692.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2693.  * @default 0
  2694.  *
  2695.  * @param PParam25 Name
  2696.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2697.  * @default
  2698.  *
  2699.  * @param PParam25 Full Name
  2700.  * @desc Nombre para mostrar para este parámetro plano.
  2701.  * @default
  2702.  *
  2703.  * @param PParam25 Base
  2704.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2705.  * @default 0
  2706.  *
  2707.  * @param PParam26 Name
  2708.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2709.  * @default
  2710.  *
  2711.  * @param PParam26 Full Name
  2712.  * @desc Nombre para mostrar para este parámetro plano.
  2713.  * @default
  2714.  *
  2715.  * @param PParam26 Base
  2716.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2717.  * @default 0
  2718.  *
  2719.  * @param PParam27 Name
  2720.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2721.  * @default
  2722.  *
  2723.  * @param PParam27 Full Name
  2724.  * @desc Nombre para mostrar para este parámetro plano.
  2725.  * @default
  2726.  *
  2727.  * @param PParam27 Base
  2728.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2729.  * @default 0
  2730.  *
  2731.  * @param PParam28 Name
  2732.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2733.  * @default
  2734.  *
  2735.  * @param PParam28 Full Name
  2736.  * @desc Nombre para mostrar para este parámetro plano.
  2737.  * @default
  2738.  *
  2739.  * @param PParam28 Base
  2740.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2741.  * @default 0
  2742.  *
  2743.  * @param PParam29 Name
  2744.  * @desc Nombre para este parámetro plano en minúsculas. Vacío para saltar.
  2745.  * @default
  2746.  *
  2747.  * @param PParam29 Full Name
  2748.  * @desc Nombre para mostrar para este parámetro plano.
  2749.  * @default
  2750.  *
  2751.  * @param PParam29 Base
  2752.  * @desc Fórmula para calcular el Valor básico de este parámetro plano.
  2753.  * @default 0
  2754.  *
  2755.  * @param BParam0 Name
  2756.  * @desc Alias para este parámetro. Puedes redefirlo.
  2757.  * @default mhp
  2758.  *
  2759.  * @param BParam0 Limits
  2760.  * @desc Una fórmula para los valores mínimo y máximos. Ver ayuda.
  2761.  * Vida
  2762.  * @default (this.isActor())? [1, 9999, 12000] : [1, 999999, 1200000]
  2763.  *
  2764.  * @param BParam1 Name
  2765.  * @desc Alias para este parámetro. Puedes redefirlo.
  2766.  * @default mmp
  2767.  *
  2768.  * @param BParam1 Limits
  2769.  * @desc Una fórmula para los valores mínimo y máximos. Ver ayuda.
  2770.  * Magia
  2771.  * @default (this.isActor())? [0, 9999, 12000] : [0, 9999, 12000]
  2772.  *
  2773.  * @param BParam2 Name
  2774.  * @desc Alias para este parámetro. Puedes redefirlo.
  2775.  * @default atk
  2776.  *
  2777.  * @param BParam2 Limits
  2778.  * @desc Una fórmula para los valores mínimo y máximos. Ver ayuda.
  2779.  * Ataque
  2780.  * @default (this.isActor())? [1, 999, 1200]   : [1, 999, 1200]
  2781.  *
  2782.  * @param BParam3 Name
  2783.  * @desc Alias para este parámetro. Puedes redefirlo.
  2784.  * @default def
  2785.  *
  2786.  * @param BParam3 Limits
  2787.  * @desc Una fórmula para los valores mínimo y máximos. Ver ayuda.
  2788.  * Defensa
  2789.  * @default (this.isActor())? [1, 999, 1200]   : [1, 999, 1200]
  2790.  *
  2791.  * @param BParam4 Name
  2792.  * @desc Alias para este parámetro. Puedes redefirlo.
  2793.  * @default mat
  2794.  *
  2795.  * @param BParam4 Limits
  2796.  * @desc Una fórmula para los valores mínimo y máximos. Ver ayuda.
  2797.  * Ataque mágico
  2798.  * @default (this.isActor())? [1, 999, 1200]   : [1, 999, 1200]
  2799.  *
  2800.  * @param BParam5 Name
  2801.  * @desc Alias para este parámetro. Puedes redefirlo.
  2802.  * @default mdf
  2803.  *
  2804.  * @param BParam5 Limits
  2805.  * @desc Una fórmula para los valores mínimo y máximos. Ver ayuda.
  2806.  * Defensa mágica
  2807.  * @default (this.isActor())? [1, 999, 1200]   : [1, 999, 1200]
  2808.  *
  2809.  * @param BParam6 Name
  2810.  * @desc Alias para este parámetro. Puedes redefirlo.
  2811.  * @default agi
  2812.  *
  2813.  * @param BParam6 Limits
  2814.  * @desc Una fórmula para los valores mínimo y máximos. Ver ayuda.
  2815.  * Agilidad
  2816.  * @default (this.isActor())? [1, 999, 1200]   : [1, 999, 1200]
  2817.  *
  2818.  * @param BParam7 Name
  2819.  * @desc Alias para este parámetro. Puedes redefirlo.
  2820.  * @default luk
  2821.  *
  2822.  * @param BParam7 Limits
  2823.  * @desc Una fórmula para los valores mínimo y máximos. Ver ayuda.
  2824.  * Suerte
  2825.  * @default (this.isActor())? [1, 999, 1200]   : [1, 999, 1200]
  2826.  *
  2827.  * @param XParam0 Full Name
  2828.  * @desc Nombre mostrado para este parámetro extra.
  2829.  * @default Puntería
  2830.  *
  2831.  * @param XParam0 Base
  2832.  * @desc Fórmula para el parámetro-x hit (Puntería).
  2833.  * @default 0
  2834.  *
  2835.  * @param XParam1 Full Name
  2836.  * @desc Nombre mostrado para este parámetro extra.
  2837.  * @default Evasión
  2838.  *
  2839.  * @param XParam1 Base
  2840.  * @desc Fórmula para el parámetro-x eva (EVAsión).
  2841.  * @default 0
  2842.  *
  2843.  * @param XParam2 Full Name
  2844.  * @desc Nombre mostrado para este parámetro extra.
  2845.  * @default Probabilidad de crítico
  2846.  *
  2847.  * @param XParam2 Base
  2848.  * @desc Fórmula para el parámetro-x cri (probabilidad de CRÍtico).
  2849.  * @default 0
  2850.  *
  2851.  * @param XParam3 Full Name
  2852.  * @desc Nombre mostrado para este parámetro extra.
  2853.  * @default Evadir crítico
  2854.  *
  2855.  * @param XParam3 Base
  2856.  * @desc Fórmula para el parámetro-x cev (evadir Crítico).
  2857.  * @default 0
  2858.  *
  2859.  * @param XParam4 Full Name
  2860.  * @desc Nombre mostrado para este parámetro extra.
  2861.  * @default Evasión mágica
  2862.  *
  2863.  * @param XParam4 Base
  2864.  * @desc Fórmula para el parámetro-x param mev (evasión Mágica).
  2865.  * @default 0
  2866.  *
  2867.  * @param XParam5 Full Name
  2868.  * @desc Nombre mostrado para este parámetro extra.
  2869.  * @default Reflejo mágico
  2870.  *
  2871.  * @param XParam5 Base
  2872.  * @desc Fórmula para el parámetro-x mrf (reflejar Magia).
  2873.  * @default 0
  2874.  *
  2875.  * @param XParam6 Full Name
  2876.  * @desc Nombre mostrado para este parámetro extra.
  2877.  * @default Contraataque
  2878.  *
  2879.  * @param XParam6 Base
  2880.  * @desc Fórmula para el parámetro-x cnt (CoNTraataque).
  2881.  * @default 0
  2882.  *
  2883.  * @param XParam7 Full Name
  2884.  * @desc Nombre mostrado para este parámetro extra.
  2885.  * @default Regenerar vida
  2886.  *
  2887.  * @param XParam7 Base
  2888.  * @desc Fórmula para el parámetro-x hrg (regeneración de vida).
  2889.  * @default 0
  2890.  *
  2891.  * @param XParam8 Full Name
  2892.  * @desc Nombre mostrado para este parámetro extra.
  2893.  * @default Regenerar magia
  2894.  *
  2895.  * @param XParam8 Base
  2896.  * @desc Fórmula para el parámetro-x mrg (regeneración de magia).
  2897.  * @default 0
  2898.  *
  2899.  * @param XParam9 Full Name
  2900.  * @desc Nombre mostrado para este parámetro extra.
  2901.  * @default Regenerar turbo
  2902.  *
  2903.  * @param XParam9 Base
  2904.  * @desc Fórmula para el parámetro-x trg (regeneración de tp).
  2905.  * @default 0
  2906.  *
  2907.  * @param SParam0 Full Name
  2908.  * @desc Nombre mostrado para este parámetro especial.
  2909.  * @default Ser el objetivo
  2910.  *
  2911.  * @param SParam0 Base
  2912.  * @desc Fórmula para el parámetro-s tgr (ser el objetivo).
  2913.  * @default 1
  2914.  *
  2915.  * @param SParam1 Full Name
  2916.  * @desc Nombre mostrado para este parámetro especial.
  2917.  * @default Efecto defensivo
  2918.  *
  2919.  * @param SParam1 Base
  2920.  * @desc Fórmula para el parámetro-s grd (efecto de defensa).
  2921.  * @default 1
  2922.  *
  2923.  * @param SParam2 Full Name
  2924.  * @desc Nombre mostrado para este parámetro especial.
  2925.  * @default Efecto de recuperación
  2926.  *
  2927.  * @param SParam2 Base
  2928.  * @desc Fórmula para el parámetro-s rec (efecto de RECuperación).
  2929.  * @default 1
  2930.  *
  2931.  * @param SParam3 Full Name
  2932.  * @desc Nombre mostrado para este parámetro especial.
  2933.  * @default Farmacología
  2934.  *
  2935.  * @param SParam3 Base
  2936.  * @desc Fórmula para el parámetro-s pha (PHArmacología).
  2937.  * @default 1
  2938.  *
  2939.  * @param SParam4 Full Name
  2940.  * @desc Nombre mostrado para este parámetro especial.
  2941.  * @default Coste de mp
  2942.  *
  2943.  * @param SParam4 Base
  2944.  * @desc Fórmula para el parámetro-s mcr (coste de Mp).
  2945.  * @default 1
  2946.  *
  2947.  * @param SParam5 Full Name
  2948.  * @desc Nombre mostrado para este parámetro especial.
  2949.  * @default Coste de tp
  2950.  *
  2951.  * @param SParam5 Base
  2952.  * @desc Fórmula para el parámetro-s tcr (coste de Tp).
  2953.  * @default 1
  2954.  *
  2955.  * @param SParam6 Full Name
  2956.  * @desc Nombre mostrado para este parámetro especial.
  2957.  * @default Daño físico recibido
  2958.  *
  2959.  * @param SParam6 Base
  2960.  * @desc Fórmula para el parámetro-s pdr (daño físico recibido).
  2961.  * @default 1
  2962.  *
  2963.  * @param SParam7 Full Name
  2964.  * @desc Nombre mostrado para este parámetro especial.
  2965.  * @default Daño mágico recibido
  2966.  *
  2967.  * @param SParam7 Base
  2968.  * @desc Fórmula para el parámetro-s mdr (daño Mágico recibido).
  2969.  * @default 1
  2970.  *
  2971.  * @param SParam8 Full Name
  2972.  * @desc Nombre mostrado para este parámetro especial.
  2973.  * @default Daño por el terreno
  2974.  *
  2975.  * @param SParam8 Base
  2976.  * @desc Fórmula para el parámetro-s fdr (daño por el suelo).
  2977.  * @default 1
  2978.  *
  2979.  * @param SParam9 Full Name
  2980.  * @desc Nombre mostrado para este parámetro especial.
  2981.  * @default Experiencia obtenible
  2982.  *
  2983.  * @param SParam9 Base
  2984.  * @desc Fórmula para el parámetro-s exr (EXperiencia obtenida).
  2985.  * @default 1
  2986.  *
  2987.  * @param Developer HaltJS
  2988.  * @desc Si está activado salta cuando una función personalizada
  2989.  * da error.   No - false   Si - true
  2990.  * @default false
  2991.  *
  2992.  * @help
  2993.  * ============================================================================
  2994.  * Introducción
  2995.  * ============================================================================
  2996.  *
  2997.  * El RPG Maker MV viene con unos tipos fijos de parámetros, son útiles pero
  2998.  * tienen sus propósitos específicos y limita el modo en que los puedes usar.
  2999.  *
  3000.  * Coneste complemento puedes añadir nuevos para usarlos en tus fórmulas
  3001.  * y cualquier uso que puedas imaginar.
  3002.  *
  3003.  * Existen 2 nuevos tipos de parámetros:
  3004.  *  -Nuevo/Normal Params: Basados en el nivel igual que los que vienen por
  3005.  *   defecto, con los efectos de fortalecer/debilitar y modificadores.
  3006.  *   Además de una opción que puede servir en distintos complementos
  3007.  *   de niveles de enemigos.
  3008.  *
  3009.  *  -Planos Params: No basados en nivel, funcionan como los x/sparams
  3010.  *   con modificadores.
  3011.  *
  3012.  * Además se ha añadido personalización para los x/sparams que permite mayor
  3013.  * control.
  3014.  * Y una nueva característica que permite 2 topes para los params y nparams.
  3015.  *
  3016.  * ============================================================================
  3017.  * Uso
  3018.  * ============================================================================
  3019.  *
  3020.  * Los NParams y PParams son calculados mediante sus respectivas fórmulas:
  3021.  *
  3022.  * NParam = (Base + Plus) * Rate * XRate * Buff + Flat + XFlat
  3023.  * PParam = (Base + Plus) * Rate + Flat
  3024.  *
  3025.  *   -Base es distinto entre ambas. Para los NParams está basado en el nivel.
  3026.  *    Para los PParam el valor es fijo emulando los x/sparams (0 y 1).
  3027.  *   -Plus es la suma de todas las características plus que atañen al personaje.
  3028.  *    En el caso de NParam existe un extra añadido mediante llamadas a script
  3029.  *    y efectos de los objetos.
  3030.  *   -Rate es el producto de todos los multiplicadores que atañen al personaje.
  3031.  *   -XRate es el producto de todos los multiplicadores especiales que atañen
  3032.  *    al personaje.
  3033.  *   -Buff es el efecto de fortalecer/debilitar.
  3034.  *   -Flat es la suma de todas las características flat que atañen al personaje.
  3035.  *    No se ve afectado por los multiplicadores.
  3036.  *   -XFlat es la suma de todas las características flat especiales que atañen
  3037.  *    al personaje. No se ve afectado por los multiplicadores.
  3038.  *
  3039.  *
  3040.  * XRate, XFlat y Buff permiten ir más allá del primer límite.
  3041.  *
  3042.  * Para hacer los XParams y SParams más personalizables he cambiado un poco
  3043.  * sus fórmulas:
  3044.  *
  3045.  * Param  = (Base + Plus) * Rate * XRate * Buff + Flat + XFlat
  3046.  * XParam = (Base + Plus) * Rate + Flat
  3047.  * SParam = (Base + Plus) * Rate + Flat
  3048.  *
  3049.  * Siguen funcionando como de costumbre pero ahora puedes añadir más
  3050.  * características para tener un mayor control.
  3051.  *
  3052.  * Para añadir características basta con añadir etiquetas en los cuadros de notas
  3053.  * respectivos.
  3054.  *
  3055.  * Clases y enemigos solo:
  3056.  *
  3057.  * <NPARAM: NParam Base Grow>
  3058.  *    -Cambia la base predeterminada del NParam por una específica.
  3059.  *     NParam se puede referenciar por su nombre o índice.
  3060.  *     Base es el valor inicial en el nivel 1.
  3061.  *     Grow es cuanto se incrementa por nivel. Si está vacío cuenta como 0.
  3062.  *    
  3063.  *
  3064.  * Héroes, clases, enemigos, armas, armaduras y estados alterados:
  3065.  *
  3066.  * <NDEBUFFRATE: NParam Rate>
  3067.  *    -Se usa para la resistencia al debilitamiento en dicho nparam debuff,
  3068.  *     básicamente es la probabilidad de acierto.
  3069.  *     0.5 significa 50% acierto, 0.2 es 20%, etc.
  3070.  *
  3071.  *
  3072.  * <NPARAMPLUS: NParam Plus>
  3073.  * <NPARAMRATE: NParam Rate>
  3074.  * <NPARAMXRATE: NParam XRate>
  3075.  * <NPARAMFLAT: NParam Flat>
  3076.  * <NPARAMXFLAT: NParam XFlat>
  3077.  *    -Modificadores para el nparam.
  3078.  *
  3079.  * <PPARAMPLUS: PParam Plus>
  3080.  * <PPARAMRATE: PParam Rate>
  3081.  * <PPARAMFLAT: PParam Flat>
  3082.  *    -Modificadores para el pparam.
  3083.  *
  3084.  * <PARAMPLUS: Param Plus>
  3085.  * <PARAMRATE: Param Rate>
  3086.  * <PARAMXRATE: Param XRate>
  3087.  * <PARAMFLAT: Param Flat>
  3088.  * <PARAMXFLAT: Param XFlat>
  3089.  * <xPARAMPLUS: XParam Plus>
  3090.  * <XPARAMRATE: XParam Rate>
  3091.  * <XPARAMFLAT: XParam Flat>
  3092.  * <SPARAMPLUS: SParam Plus>
  3093.  * <SPARAMRATE: SParam Rate>
  3094.  * <SPARAMFLAT: SParam Flat>
  3095.  *    -Modificadores para los parámetros básicos, x e y.
  3096.  *     Los he incluido para dar más control.
  3097.  *
  3098.  *
  3099.  * Habilidades y objetos solo:
  3100.  *
  3101.  * <NBUFF: NParam turns>
  3102.  * <NDEBUFF: NParam turns>
  3103.  * <REMOVE NBUFF: NParam>
  3104.  * <REMOVE NDEBUFF: NParam>
  3105.  *    -Efectos de añadir y quitar fortalecimiento/debilitamiento.
  3106.  *
  3107.  * <NPARAM GROW: NParam amount>
  3108.  *    -Permite incrementar/decrementar el nparam una cantidad específica.
  3109.  *
  3110.  * ============================================================================
  3111.  * Lunatic Mode
  3112.  * ============================================================================
  3113.  *
  3114.  * Para aquellos que quieren utilizar un modo personalizado para calcular
  3115.  * los parámetros he añadido el modo lunático.
  3116.  * El modo lunático permite utilizar código javascript diréctamente.
  3117.  *
  3118.  * Usa las siguientes etiquetas en las clases:
  3119.  *
  3120.  * <CUSTOM NPARAM BASE NPARAM>
  3121.  * value = 2;
  3122.  * value += 25;
  3123.  * </CUSTOM NPARAM BASE>
  3124.  *
  3125.  * <CUSTOM PARAM BASE PARAM>
  3126.  * value = 2;
  3127.  * value += 25;
  3128.  * </CUSTOM PARAM BASE>
  3129.  *
  3130.  * Dicho código se ejecutará en lugar de la fórmula predeterminada.
  3131.  *
  3132.  * value - Esta es la variable donde se almacena el resultado.
  3133.  *         Si no se especifica será 0.
  3134.  *
  3135.  * ============================================================================
  3136.  * Parámetros
  3137.  * ============================================================================
  3138.  *
  3139.  * Hay disponibles hasta 30 parámetros de cada tipo con índices de 0 a 29.
  3140.  *
  3141.  * NParamX Name: el nombre que le vas a dar al nparam. Se utilizará en
  3142.  * fórmulas y se puede usar como referencia en las etiquetas en las notas.
  3143.  * Dejar vacío si no se quiere usar.
  3144.  *
  3145.  * NParamX Full Name: el nombre que quieres dar al nparam. Por el momento
  3146.  * no se usa aquí pero sirve para los plugins que usen este.
  3147.  *
  3148.  * NParamX Base: la fórmula predeterminada para clases y enemigos que no tengan.
  3149.  * El primer númber es el valor en el nivel 1. El segundo es cuanto sube
  3150.  * cada nivel.
  3151.  *
  3152.  * NParamX Limits: los valores mínimo y máximo que puede tener el nparam.
  3153.  * Ahora se utiliza como fórmula que da 3 valores.
  3154.  * El primero es el mínimo, el segundo es máximo normal y el tercero es
  3155.  * el extra máximo.
  3156.  * (this.isActor())? [0, 999, 1200] : [0, 999, 1200]
  3157.  *
  3158.  * NParamX Buff Icons: conjunto de iconos separados por espacios.
  3159.  * Cuando dicho parámetro se vea afectado por un fortalecimiento se mostrará
  3160.  * el icono correspondiente al fortalecimiento acumulado.
  3161.  * Si se deja en blanco no se usará.
  3162.  *
  3163.  * NParamX Debuff Icons: igual que el anterior pero para los
  3164.  * debilitamientos del parámetro.
  3165.  *
  3166.  * PParamX Name: el nombre que le vas a dar al pparam. Se utilizará en
  3167.  * fórmulas y se puede usar como referencia en las etiquetas en las notas.
  3168.  * Dejar vacío si no se quiere usar.
  3169.  *
  3170.  * PParamX Full Name: el nombre que quieres dar al pparam. Por el momento
  3171.  * no se usa aquí pero sirve para los plugins que usen este.
  3172.  *
  3173.  * PParamX Base: es un valor básico con el que se pueden emular los x/sparams.
  3174.  * 0 para un xparam y 1 para un sparam. Ahora se pueden utilizar como
  3175.  * usar como referencia en las etiquetas en las notas.
  3176.  *
  3177.  * Los parámetros básicos, x y s ahora se pueden personalizar mediante
  3178.  * los siguientes parámetros.
  3179.  *
  3180.  * BParamX Name: un alias para el parámetro específico. Se puede usar para
  3181.  * redefinir o reciclar un parámetro. Se utilizará en fórmulas y se puede
  3182.  * to reference a notetag.
  3183.  *
  3184.  * BParamX Limits: límites igual que en los nparams.
  3185.  * El primero es el mínimo, el segundo es máximo normal y el tercero es
  3186.  * el extra máximo.
  3187.  *
  3188.  * XParamX Base: 0 como predeterminado, pero ahora como fórmula.
  3189.  *
  3190.  * SParamX Base: 1 como predeterminado, pero ahora como fórmula.
  3191.  *
  3192.  * Developer HaltJS: Esta es una variable de uso durante el desarrollo del juego
  3193.  * útil cuando quieres comprobar si hay alguna función personalizada incorrecta.
  3194.  * Cuando está activado al encontrar un error el juego se para y muestra
  3195.  * en qué parámetro se encuentra el error.
  3196.  * Cuando está desactivado ignora el error y el juego continúa.
  3197.  *
  3198.  * ============================================================================
  3199.  * Incompatibilidades
  3200.  * ============================================================================
  3201.  *
  3202.  * No se conocen complementos que sean incompatibles hasta la fecha.
  3203.  *
  3204.  * ============================================================================
  3205.  * Problemas conocidos
  3206.  * ============================================================================
  3207.  *
  3208.  * Por el momento ninguno.
  3209.  *
  3210.  * ============================================================================
  3211.  * Historial de versiones
  3212.  * ============================================================================
  3213.  *
  3214.  * Versión 1.03:
  3215.  * - Se ha añadido el modificador XFlat para el doble máximo.
  3216.  * - Se ha subido la cantidad de n/pparams a 30.
  3217.  * - Permite nombrar los parámetros especiales y extra.
  3218.  *
  3219.  * Versión 1.02:
  3220.  * - Permite añadir alias o redefinir los parámetros básicos.
  3221.  *
  3222.  * Versión 1.01:
  3223.  * - Se empieza a utilizar el ICF-Soft Main Utility.
  3224.  * - Se ha añadido el modo lunático para params y nparams.
  3225.  * - Se ha cambiado el cómo funcionan los límites mínimo y máximo.
  3226.  * - Se ha añadido el doble máximo.
  3227.  * - Se han añadido más características.
  3228.  * - Se pueden usar los base params.
  3229.  *
  3230.  * Versión 1.00:
  3231.  * - Complemento terminado.
  3232.  *
  3233.  * ============================================================================
  3234.  *
  3235.  * Para juegos comerciales y no comerciales.
  3236.  * Se debe incluir a ICF-Soft en los créditos.
  3237.  * Esta cabecera debe incluirse íntegramente con el plugin.
  3238.  *
  3239.  * ============================================================================
  3240. */
  3241. //=============================================================================
  3242.  
  3243. //=============================================================================
  3244. // Parameter Variables
  3245. //=============================================================================
  3246.  
  3247. ICF.Parameters = PluginManager.parameters('ICFSoft_ParamsCore');
  3248. ICF.Param = ICF.Param || {};
  3249.  
  3250. ICF.Param.NParams = [];
  3251. ICF.Param.NParamsFullName = [];
  3252. ICF.Param.NParamBase = [];
  3253. ICF.Param.NParamLimit = [];
  3254. ICF.Param.NParamBuffIcons = [];
  3255. ICF.Param.NParamDebuffIcons = [];
  3256. ICF.Param.PParams = [];
  3257. ICF.Param.PParamsFullName = [];
  3258. ICF.Param.PParamBase = [];
  3259. ICF.Param.BParamLimit = [];
  3260. ICF.Param.XParamsFullName = [];
  3261. ICF.Param.XParamBase = [];
  3262. ICF.Param.SParamsFullName = [];
  3263. ICF.Param.SParamBase = [];
  3264.  
  3265. ICF.Param.BParams = ["mhp", "mmp", "atk", "def", "mat", "mdf", "agi", "luk"];
  3266. ICF.Param.XParams = ["hit", "eva", "cri", "cev", "mev", "mrf", "cnt", "hrg", "mrg", "trg"];
  3267. ICF.Param.SParams = ["tgr", "grd", "rec", "pha", "mcr", "tcr", "pdr", "mdr", "fdr", "exr"];
  3268.  
  3269. for (var i = 0; i < 30; i++) {
  3270.     ICF.Param.NParams[i] = String(ICF.Parameters['NParam' + i + ' Name']);
  3271.     ICF.Param.NParamsFullName[i] = String(ICF.Parameters['NParam' + i + ' Full Name']);
  3272.     ICF.Param.NParamBase[i] = String(ICF.Parameters['NParam' + i + ' Base']).split(/\s+/).leaveNumbers();
  3273.     ICF.Param.NParamLimit[i] = String(ICF.Parameters['NParam' + i + ' Limits']);
  3274.     ICF.Param.NParamBuffIcons[i] = String(ICF.Parameters['NParam' + i + ' Buff Icons']).split(/\s+/).leaveNumbers();
  3275.     ICF.Param.NParamDebuffIcons[i] = String(ICF.Parameters['NParam' + i + ' Debuff Icons']).split(/\s+/).leaveNumbers();
  3276.     ICF.Param.PParams[i] = String(ICF.Parameters['PParam' + i + ' Name']);
  3277.     ICF.Param.PParamsFullName[i] = String(ICF.Parameters['PParam' + i + ' Full Name']);
  3278.     ICF.Param.PParamBase[i] = String(ICF.Parameters['PParam' + i + ' Base']);
  3279. }
  3280.  
  3281. for (var i = 0; i < 10; i++) {
  3282.     ICF.Param.XParamsFullName[i] = String(ICF.Parameters['XParam' + i + ' Full Name']);
  3283.     ICF.Param.XParamBase[i] = String(ICF.Parameters['XParam' + i + ' Base']);
  3284.     ICF.Param.SParamsFullName[i] = String(ICF.Parameters['SParam' + i + ' Full Name']);
  3285.     ICF.Param.SParamBase[i] = String(ICF.Parameters['SParam' + i + ' Base']);
  3286. }
  3287.  
  3288. for (var i = 0; i < 8; i++) {
  3289.     ICF.Param.BParams[i] = String(ICF.Parameters['BParam' + i + ' Name']);
  3290.     ICF.Param.BParamLimit[i] = String(ICF.Parameters['BParam' + i + ' Limits']);
  3291. }
  3292.  
  3293. ICF.Param.ParamCoreHalt = ICF.Parameters['Developer HaltJS'].toLowerCase() === "true";
  3294.  
  3295. if (!Imported.ICFSoft_MainUtility) {throw new Error('This plugin requires ICF-Soft Main Utility plugin version 1.01 to work.\nYou can download it at icfsoft.blogspot.com inside plugins section.');}
  3296. if (ICF.MainUtility.Version < 101) {throw new Error('This plugin requires ICF-Soft Main Utility plugin version 1.01 to work.\nYou can download it at icfsoft.blogspot.com inside plugins section.');}
  3297.  
  3298. //=============================================================================
  3299. // Constants
  3300. //=============================================================================
  3301.  
  3302. Game_BattlerBase.TRAIT_NPARAM          = 24;
  3303. Game_BattlerBase.TRAIT_PPARAM          = 25;
  3304. Game_Action.EFFECT_ADD_NBUFF           = 35;
  3305. Game_Action.EFFECT_ADD_NDEBUFF         = 36;
  3306. Game_Action.EFFECT_REMOVE_NBUFF        = 37;
  3307. Game_Action.EFFECT_REMOVE_NDEBUFF      = 38;
  3308. Game_Action.EFFECT_NGROW               = 45;
  3309.  
  3310. //=============================================================================
  3311. // DataManager
  3312. //=============================================================================
  3313.  
  3314. ICF.ParamCore.DataManager_isDatabaseLoaded = DataManager.isDatabaseLoaded;
  3315. DataManager.isDatabaseLoaded = function() {
  3316.     if (!ICF.ParamCore.DataManager_isDatabaseLoaded.call(this)) return false;
  3317.     if (!ICF.ParamCore.Procesed) {
  3318.     DataManager.processParamCoreNotetags($dataActors);
  3319.     DataManager.processParamCoreNotetagsB($dataClasses);
  3320.     DataManager.processParamCoreNotetagsB($dataEnemies);
  3321.     DataManager.processParamCoreNotetags($dataWeapons);
  3322.     DataManager.processParamCoreNotetags($dataArmors);
  3323.     DataManager.processParamCoreNotetags($dataStates);
  3324.     DataManager.processParamCoreNotetagsC($dataSkills);
  3325.     DataManager.processParamCoreNotetagsC($dataItems);
  3326.     ICF.ParamCore.Procesed = true;
  3327.     }
  3328.     return true;
  3329. };
  3330.  
  3331. DataManager.processParamCoreNotetags = function(group) {
  3332.     var note1 = /<(?:NPARAMPLUS):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3333.     var note1b = /<(?:NPARAMRATE):[ ]*(\w+)[ ]+(\d+(?:\.\d+)?)>/i;
  3334.     var note1c = /<(?:NPARAMFLAT):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3335.     var note1d = /<(?:NPARAMXRATE):[ ]*(\w+)[ ]+(\d+(?:\.\d+)?)>/i;
  3336.     var note1e = /<(?:NPARAMXFLAT):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3337.     var note2 = /<(?:PPARAMPLUS):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3338.     var note2b = /<(?:PPARAMRATE):[ ]*(\w+)[ ]+(\d+(?:\.\d+)?)>/i;
  3339.     var note2c = /<(?:PPARAMFLAT):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3340.     var note3 = /<(?:xPARAMPLUS):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3341.     var note3b = /<(?:XPARAMRATE):[ ]*(\w+)[ ]+(\d+(?:\.\d+)?)>/i;
  3342.     var note3c = /<(?:XPARAMFLAT):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3343.     var note4 = /<(?:SPARAMPLUS):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3344.     var note4b = /<(?:SPARAMRATE):[ ]*(\w+)[ ]+(\d+(?:\.\d+)?)>/i;
  3345.     var note4c = /<(?:SPARAMFLAT):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3346.     var note5 = /<(?:PARAMPLUS):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3347.     var note5b = /<(?:PARAMRATE):[ ]*(\w+)[ ]+(\d+(?:\.\d+)?)>/i;
  3348.     var note5c = /<(?:PARAMFLAT):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3349.     var note5d = /<(?:PARAMXRATE):[ ]*(\w+)[ ]+(\d+(?:\.\d+)?)>/i;
  3350.     var note5e = /<(?:PARAMXFLAT):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3351.     var note6 = /<(?:NDEBUFFRATE):[ ]*(\w+)[ ]+(\d+(?:\.\d+)?)>/i;
  3352.  
  3353.     for (var n = 1; n < group.length; n++) {
  3354.     var obj = group[n];
  3355.     var notedata = obj.note.split(/[\r\n]+/);
  3356.  
  3357.     for (var i = 0; i < notedata.length; i++) {
  3358.         var line = notedata[i];
  3359.         if (line.match(note1)) {
  3360.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.NParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3361.             if (indx > -1) obj.traits.push({code:24, dataId:indx, value:Number(RegExp.$2)});
  3362.             }
  3363.         else if (line.match(note1b)) {
  3364.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.NParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3365.             if (indx > -1) obj.traits.push({code:24, dataId:indx + 100, value:Number(RegExp.$2)});
  3366.             }
  3367.         else if (line.match(note1c)) {
  3368.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.NParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3369.             if (indx > -1) obj.traits.push({code:24, dataId:indx + 200, value:Number(RegExp.$2)});
  3370.             }
  3371.         else if (line.match(note1d)) {
  3372.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.NParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3373.             if (indx > -1) obj.traits.push({code:24, dataId:indx + 300, value:Number(RegExp.$2)});
  3374.             }
  3375.         else if (line.match(note1e)) {
  3376.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.NParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3377.             if (indx > -1) obj.traits.push({code:24, dataId:indx + 400, value:Number(RegExp.$2)});
  3378.             }
  3379.         else if (line.match(note2)) {
  3380.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.PParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3381.             if (indx > -1) obj.traits.push({code:25, dataId:indx, value:Number(RegExp.$2)});
  3382.             }
  3383.         else if (line.match(note2b)) {
  3384.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.PParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3385.             if (indx > -1) obj.traits.push({code:25, dataId:indx + 100, value:Number(RegExp.$2)});
  3386.             }
  3387.         else if (line.match(note2c)) {
  3388.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.PParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3389.             if (indx > -1) obj.traits.push({code:25, dataId:indx + 200, value:Number(RegExp.$2)});
  3390.             }
  3391.         else if (line.match(note3)) {
  3392.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.XParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3393.             if (indx > -1) obj.traits.push({code:Game_BattlerBase.TRAIT_XPARAM, dataId:indx, value:Number(RegExp.$2)});
  3394.             }
  3395.         else if (line.match(note3b)) {
  3396.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.XParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3397.             if (indx > -1) obj.traits.push({code:Game_BattlerBase.TRAIT_XPARAM, dataId:indx + 10, value:Number(RegExp.$2)});
  3398.             }
  3399.         else if (line.match(note3c)) {
  3400.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.XParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3401.             if (indx > -1) obj.traits.push({code:Game_BattlerBase.TRAIT_XPARAM, dataId:indx + 20, value:Number(RegExp.$2)});
  3402.             }
  3403.         else if (line.match(note4)) {
  3404.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.SParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3405.             if (indx > -1) obj.traits.push({code:Game_BattlerBase.TRAIT_SPARAM, dataId:indx + 10, value:Number(RegExp.$2)});
  3406.             }
  3407.         else if (line.match(note4b)) {
  3408.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.SParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3409.             if (indx > -1) obj.traits.push({code:Game_BattlerBase.TRAIT_SPARAM, dataId:indx, value:Number(RegExp.$2)});
  3410.             }
  3411.         else if (line.match(note4c)) {
  3412.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.SParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3413.             if (indx > -1) obj.traits.push({code:Game_BattlerBase.TRAIT_SPARAM, dataId:indx + 20, value:Number(RegExp.$2)});
  3414.             }
  3415.         else if (line.match(note5)) {
  3416.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.BParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3417.             if (indx > -1) obj.traits.push({code:21, dataId:indx + 10, value:Number(RegExp.$2)});
  3418.             }
  3419.         else if (line.match(note5b)) {
  3420.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.BParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3421.             if (indx > -1) obj.traits.push({code:21, dataId:indx, value:Number(RegExp.$2)});
  3422.             }
  3423.         else if (line.match(note5c)) {
  3424.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.BParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3425.             if (indx > -1) obj.traits.push({code:21, dataId:indx + 20, value:Number(RegExp.$2)});
  3426.             }
  3427.         else if (line.match(note5d)) {
  3428.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.BParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3429.             if (indx > -1) obj.traits.push({code:21, dataId:indx + 30, value:Number(RegExp.$2)});
  3430.             }
  3431.         else if (line.match(note5e)) {
  3432.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.BParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3433.             if (indx > -1) obj.traits.push({code:21, dataId:indx + 40, value:Number(RegExp.$2)});
  3434.             }
  3435.         else if (line.match(note6)) {
  3436.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.NParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3437.             if (indx > -1) obj.traits.push({code:Game_BattlerBase.TRAIT_DEBUFF_RATE, dataId:indx + 10, value:Number(RegExp.$2)});
  3438.             }
  3439.     }
  3440.     }
  3441. };
  3442.  
  3443. DataManager.processParamCoreNotetagsB = function(group) {
  3444.     var grouparray = [];
  3445.     var note1 = /<(?:NPARAMPLUS):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3446.     var note1b = /<(?:NPARAMRATE):[ ]*(\w+)[ ]+(\d+(?:\.\d+)?)>/i;
  3447.     var note1c = /<(?:NPARAMFLAT):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3448.     var note1d = /<(?:NPARAMXRATE):[ ]*(\w+)[ ]+(\d+(?:\.\d+)?)>/i;
  3449.     var note1e = /<(?:NPARAMXFLAT):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3450.     var note1x = /<(?:NPARAM):[ ]*(\w+)[ ]+(\d+(?:\.\d+)?)(?:[ ]+(\d+(?:\.\d+)?))?>/i;
  3451.     var note1y = /<(?:CUSTOM NPARAM BASE)[ ]+(\w+)>/i;
  3452.     var note1z = /<\/(?:CUSTOM NPARAM BASE)>/i;
  3453.     var note2 = /<(?:PPARAMPLUS):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3454.     var note2b = /<(?:PPARAMRATE):[ ]*(\w+)[ ]+(\d+(?:\.\d+)?)>/i;
  3455.     var note2c = /<(?:PPARAMFLAT):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3456.     var note3 = /<(?:xPARAMPLUS):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3457.     var note3b = /<(?:XPARAMRATE):[ ]*(\w+)[ ]+(\d+(?:\.\d+)?)>/i;
  3458.     var note3c = /<(?:XPARAMFLAT):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3459.     var note4 = /<(?:SPARAMPLUS):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3460.     var note4b = /<(?:SPARAMRATE):[ ]*(\w+)[ ]+(\d+(?:\.\d+)?)>/i;
  3461.     var note4c = /<(?:SPARAMFLAT):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3462.     var note5 = /<(?:PARAMPLUS):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3463.     var note5b = /<(?:PARAMRATE):[ ]*(\w+)[ ]+(\d+(?:\.\d+)?)>/i;
  3464.     var note5c = /<(?:PARAMFLAT):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3465.     var note5d = /<(?:PARAMXRATE):[ ]*(\w+)[ ]+(\d+(?:\.\d+)?)>/i;
  3466.     var note5e = /<(?:PARAMXFLAT):[ ]*(\w+)[ ]+((?:\-)?\d+(?:\.\d+)?)>/i;
  3467.     var note5y = /<(?:CUSTOM PARAM BASE)[ ]+(\w+)>/i;
  3468.     var note5z = /<\/(?:CUSTOM PARAM BASE)>/i;
  3469.     var note6 = /<(?:NDEBUFFRATE):[ ]*(\w+)[ ]+(\d+(?:\.\d+)?)>/i;
  3470.  
  3471.     for (var n = 1; n < group.length; n++) {
  3472.     var obj = group[n];
  3473.     var notedata = obj.note.split(/[\r\n]+/);
  3474.  
  3475.     obj.basicNParam = [[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]];
  3476.     obj.customNParam = ['','','','','','','','','','','','','','','','','','','','','','','','','','','','','',''];
  3477.     obj.customBParam = ['','','','','','','','','',''];
  3478.  
  3479.     var nFlag = false;
  3480.     var bFlag = false;
  3481.     var nIndex = -1;
  3482.     var bIndex = -1;
  3483.  
  3484.     for (var i = 0; i < notedata.length; i++) {
  3485.         var line = notedata[i];
  3486.         if (line.match(note1)) {
  3487.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.NParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3488.             if (indx > -1) obj.traits.push({code:24, dataId:indx, value:Number(RegExp.$2)});
  3489.             }
  3490.         else if (line.match(note1b)) {
  3491.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.NParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3492.             if (indx > -1) obj.traits.push({code:24, dataId:indx + 100, value:Number(RegExp.$2)});
  3493.             }
  3494.         else if (line.match(note1c)) {
  3495.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.NParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3496.             if (indx > -1) obj.traits.push({code:24, dataId:indx + 200, value:Number(RegExp.$2)});
  3497.             }
  3498.         else if (line.match(note1d)) {
  3499.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.NParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3500.             if (indx > -1) obj.traits.push({code:24, dataId:indx + 300, value:Number(RegExp.$2)});
  3501.             }
  3502.         else if (line.match(note1e)) {
  3503.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.NParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3504.             if (indx > -1) obj.traits.push({code:24, dataId:indx + 400, value:Number(RegExp.$2)});
  3505.             }
  3506.         else if (line.match(note1x)) {
  3507.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.NParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3508.             obj.basicNParam[indx] = [Number(RegExp.$2)];
  3509.             if (!isNaN(Number(RegExp.$3))) obj.basicNParam[indx] = obj.basicNParam[indx].concat([Number(RegExp.$3)]);
  3510.             }
  3511.         else if (line.match(note1y)) {
  3512.             nFlag = true;
  3513.             nIndex = (isNaN(Number(RegExp.$1)))? ICF.Param.NParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3514.             }
  3515.         else if (line.match(note1z)) {
  3516.             nFlag = false;
  3517.             }
  3518.         else if (line.match(note2)) {
  3519.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.PParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3520.             if (indx > -1) obj.traits.push({code:25, dataId:indx, value:Number(RegExp.$2)});
  3521.             }
  3522.         else if (line.match(note2b)) {
  3523.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.PParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3524.             if (indx > -1) obj.traits.push({code:25, dataId:indx + 100, value:Number(RegExp.$2)});
  3525.             }
  3526.         else if (line.match(note2c)) {
  3527.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.PParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3528.             if (indx > -1) obj.traits.push({code:25, dataId:indx + 200, value:Number(RegExp.$2)});
  3529.             }
  3530.         else if (line.match(note3)) {
  3531.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.XParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3532.             if (indx > -1) obj.traits.push({code:Game_BattlerBase.TRAIT_XPARAM, dataId:indx, value:Number(RegExp.$2)});
  3533.             }
  3534.         else if (line.match(note3b)) {
  3535.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.XParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3536.             if (indx > -1) obj.traits.push({code:Game_BattlerBase.TRAIT_XPARAM, dataId:indx + 10, value:Number(RegExp.$2)});
  3537.             }
  3538.         else if (line.match(note3c)) {
  3539.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.XParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3540.             if (indx > -1) obj.traits.push({code:Game_BattlerBase.TRAIT_XPARAM, dataId:indx + 20, value:Number(RegExp.$2)});
  3541.             }
  3542.         else if (line.match(note4)) {
  3543.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.SParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3544.             if (indx > -1) obj.traits.push({code:Game_BattlerBase.TRAIT_SPARAM, dataId:indx + 10, value:Number(RegExp.$2)});
  3545.             }
  3546.         else if (line.match(note4b)) {
  3547.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.SParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3548.             if (indx > -1) obj.traits.push({code:Game_BattlerBase.TRAIT_SPARAM, dataId:indx, value:Number(RegExp.$2)});
  3549.             }
  3550.         else if (line.match(note4c)) {
  3551.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.SParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3552.             if (indx > -1) obj.traits.push({code:Game_BattlerBase.TRAIT_SPARAM, dataId:indx + 20, value:Number(RegExp.$2)});
  3553.             }
  3554.         else if (line.match(note5)) {
  3555.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.BParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3556.             if (indx > -1) obj.traits.push({code:21, dataId:indx + 10, value:Number(RegExp.$2)});
  3557.             }
  3558.         else if (line.match(note5b)) {
  3559.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.BParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3560.             if (indx > -1) obj.traits.push({code:21, dataId:indx, value:Number(RegExp.$2)});
  3561.             }
  3562.         else if (line.match(note5c)) {
  3563.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.BParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3564.             if (indx > -1) obj.traits.push({code:21, dataId:indx + 20, value:Number(RegExp.$2)});
  3565.             }
  3566.         else if (line.match(note5d)) {
  3567.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.BParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3568.             if (indx > -1) obj.traits.push({code:21, dataId:indx + 30, value:Number(RegExp.$2)});
  3569.             }
  3570.         else if (line.match(note5e)) {
  3571.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.BParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3572.             if (indx > -1) obj.traits.push({code:21, dataId:indx + 40, value:Number(RegExp.$2)});
  3573.             }
  3574.         else if (line.match(note5y)) {
  3575.             bFlag = true;
  3576.             bIndex = (isNaN(Number(RegExp.$1)))? ICF.Param.BParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3577.             }
  3578.         else if (line.match(note5z)) {
  3579.             bFlag = false;
  3580.             }
  3581.         else if (line.match(note6)) {
  3582.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.NParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3583.             if (indx > -1) obj.traits.push({code:Game_BattlerBase.TRAIT_DEBUFF_RATE, dataId:indx + 10, value:Number(RegExp.$2)});
  3584.             }
  3585.         else if (nFlag && nIndex > -1) {
  3586.             obj.customNParam[nIndex] = obj.customNParam[nIndex] + line + '\n';
  3587.             }
  3588.         else if (bFlag && bIndex > -1) {
  3589.             obj.customBParam[bIndex] = obj.customBParam[bIndex] + line + '\n';
  3590.             }
  3591.     }
  3592.     }
  3593. };
  3594.  
  3595. DataManager.processParamCoreNotetagsC = function(group) {
  3596.     var note1 = /<(?:NBUFF):[ ]*(\w+)[ ]+(\d+)>/i;
  3597.     var note2 = /<(?:NDEBUFF):[ ]*(\w+)[ ]+(\d+)>/i;
  3598.     var note3 = /<(?:REMOVE NBUFF):[ ]*(\w+)[ ]+>/i;
  3599.     var note4 = /<(?:REMOVE NDEBUFF):[ ]*(\w+)[ ]+>/i;
  3600.     var note5 = /<(?:NPARAM GROW):[ ]*(\w+)[ ]+((?:\-)?\d+)>/i;
  3601.  
  3602.     for (var n = 1; n < group.length; n++) {
  3603.     var obj = group[n];
  3604.     var notedata = obj.note.split(/[\r\n]+/);
  3605.  
  3606.     for (var i = 0; i < notedata.length; i++) {
  3607.         var line = notedata[i];
  3608.         if (line.match(note1)) {
  3609.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.NParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3610.             if (indx > -1) obj.effects.push({code:35, dataId:indx, value1:Number(RegExp.$2)});
  3611.             }
  3612.         else if (line.match(note2)) {
  3613.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.NParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3614.             if (indx > -1) obj.effects.push({code:36, dataId:indx, value1:Number(RegExp.$2)});
  3615.             }
  3616.         else if (line.match(note3)) {
  3617.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.NParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3618.             if (indx > -1) obj.effects.push({code:37, dataId:indx, value1:0});
  3619.             }
  3620.         else if (line.match(note4)) {
  3621.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.NParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3622.             if (indx > -1) obj.effects.push({code:38, dataId:indx, value1:0});
  3623.             }
  3624.         else if (line.match(note5)) {
  3625.             var indx = (isNaN(Number(RegExp.$1)))? ICF.Param.NParams.indexOf(RegExp.$1.toLowerCase()) : Number(RegExp.$1);
  3626.             if (indx > -1) obj.effects.push({code:45, dataId:indx, value1:Number(RegExp.$2)});
  3627.             }
  3628.     }
  3629.     }
  3630. };
  3631.  
  3632. //=============================================================================
  3633. // Game_BattlerBase
  3634. //=============================================================================
  3635.  
  3636. for (var i = 0; i < 30; i++) {
  3637.     if (ICF.Param.NParams[i].length > 0) {
  3638.         eval("Object.defineProperty(Game_BattlerBase.prototype, ICF.Param.NParams[" + i + "], { get: function() { return this.NParam(" + i + "); }, configurable: true });");
  3639.     }
  3640.     if (ICF.Param.PParams[i].length > 0) {
  3641.         eval("Object.defineProperty(Game_BattlerBase.prototype, ICF.Param.PParams[" + i + "], { get: function() { return this.PParam(" + i + "); }, configurable: true });");
  3642.     }
  3643. }
  3644.  
  3645. if (ICF.Param.BParams[0].length > 0) Object.defineProperty(Game_BattlerBase.prototype, ICF.Param.BParams[0], { get: function() { return this.param(0); }, configurable: true });
  3646. if (ICF.Param.BParams[1].length > 0) Object.defineProperty(Game_BattlerBase.prototype, ICF.Param.BParams[1], { get: function() { return this.param(1); }, configurable: true });
  3647. if (ICF.Param.BParams[2].length > 0) Object.defineProperty(Game_BattlerBase.prototype, ICF.Param.BParams[2], { get: function() { return this.param(2); }, configurable: true });
  3648. if (ICF.Param.BParams[3].length > 0) Object.defineProperty(Game_BattlerBase.prototype, ICF.Param.BParams[3], { get: function() { return this.param(3); }, configurable: true });
  3649. if (ICF.Param.BParams[4].length > 0) Object.defineProperty(Game_BattlerBase.prototype, ICF.Param.BParams[4], { get: function() { return this.param(4); }, configurable: true });
  3650. if (ICF.Param.BParams[5].length > 0) Object.defineProperty(Game_BattlerBase.prototype, ICF.Param.BParams[5], { get: function() { return this.param(5); }, configurable: true });
  3651. if (ICF.Param.BParams[6].length > 0) Object.defineProperty(Game_BattlerBase.prototype, ICF.Param.BParams[6], { get: function() { return this.param(6); }, configurable: true });
  3652. if (ICF.Param.BParams[7].length > 0) Object.defineProperty(Game_BattlerBase.prototype, ICF.Param.BParams[7], { get: function() { return this.param(7); }, configurable: true });
  3653.  
  3654. Object.defineProperty(Game_BattlerBase.prototype, 'level', { value: 1, configurable: true});
  3655.  
  3656. ICF.ParamCore.clearParamPlus = Game_BattlerBase.prototype.clearParamPlus;
  3657. Game_BattlerBase.prototype.clearParamPlus = function() {
  3658.     ICF.ParamCore.clearParamPlus.call(this);
  3659.     this._NParamPlus = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];
  3660. };
  3661.  
  3662. ICF.ParamCore.clearBuffs = Game_BattlerBase.prototype.clearBuffs;
  3663. Game_BattlerBase.prototype.clearBuffs = function() {
  3664.     ICF.ParamCore.clearBuffs.call(this);
  3665.     this._NBuffs = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];
  3666.     this._NBuffTurns = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];
  3667. };
  3668.  
  3669. Game_BattlerBase.prototype.eraseNBuff = function(paramId) {
  3670.     this._NBuffs[paramId] = 0;
  3671.     this._NBuffTurns[paramId] = 0;
  3672. };
  3673.  
  3674. Game_BattlerBase.prototype.NBuffLength = function() {
  3675.     return this._NBuffs.length;
  3676. };
  3677.  
  3678. Game_BattlerBase.prototype.NBuff = function(paramId) {
  3679.     return this._NBuffs[paramId];
  3680. };
  3681.  
  3682. Game_BattlerBase.prototype.isNBuffAffected = function(paramId) {
  3683.     return this._NBuffs[paramId] > 0;
  3684. };
  3685.  
  3686. Game_BattlerBase.prototype.isNDebuffAffected = function(paramId) {
  3687.     return this._NBuffs[paramId] < 0;
  3688. };
  3689.  
  3690. Game_BattlerBase.prototype.isNBuffOrDebuffAffected = function(paramId) {
  3691.     return this._NBuffs[paramId] !== 0;
  3692. };
  3693.  
  3694. Game_BattlerBase.prototype.isMaxNBuffAffected = function(paramId) {
  3695.     return this._NBuffs[paramId] === 2;
  3696. };
  3697.  
  3698. Game_BattlerBase.prototype.isMaxNDebuffAffected = function(paramId) {
  3699.     return this._NBuffs[paramId] === -2;
  3700. };
  3701.  
  3702. Game_BattlerBase.prototype.increaseNBuff = function(paramId) {
  3703.     if (!this.isMaxNBuffAffected(paramId)) {
  3704.         this._NBuffs[paramId]++;
  3705.     }
  3706. };
  3707.  
  3708. Game_BattlerBase.prototype.decreaseNBuff = function(paramId) {
  3709.     if (!this.isMaxNDebuffAffected(paramId)) {
  3710.         this._NBuffs[paramId]--;
  3711.     }
  3712. };
  3713.  
  3714. Game_BattlerBase.prototype.overwriteNBuffTurns = function(paramId, turns) {
  3715.     if (this._NBuffTurns[paramId] < turns) {
  3716.         this._NBuffTurns[paramId] = turns;
  3717.     }
  3718. };
  3719.  
  3720. Game_BattlerBase.prototype.isNBuffExpired = function(paramId) {
  3721.     return this._NBuffTurns[paramId] === 0;
  3722. };
  3723.  
  3724. ICF.ParamCore.updateBuffTurns = Game_BattlerBase.prototype.updateBuffTurns;
  3725. Game_BattlerBase.prototype.updateBuffTurns = function() {
  3726.     ICF.ParamCore.updateBuffTurns.call(this);
  3727.     for (var i = 0; i < this._NBuffTurns.length; i++) {
  3728.         if (this._NBuffTurns[i] > 0) {
  3729.             this._NBuffTurns[i]--;
  3730.         }
  3731.     }
  3732. };
  3733.  
  3734. ICF.ParamCore.buffIcons = Game_BattlerBase.prototype.buffIcons;
  3735. Game_BattlerBase.prototype.buffIcons = function() {
  3736.     var icons = ICF.ParamCore.buffIcons.call(this);
  3737.     for (var i = 0; i < this._NBuffs.length; i++) {
  3738.         if ((this._NBuffs[i] > 0)&&(ICF.Param.NParamBuffIcons[i].length > 0)) {
  3739.             icons.push(ICF.Param.NParamBuffIcons[i][Math.min(ICF.Param.NParamBuffIcons[i].length, this._NBuffs[i]) - 1]);
  3740.         } else if ((this._NBuffs[i] < 0)&&(ICF.Param.NParamDebuffIcons[i].length > 0)) {
  3741.             icons.push(ICF.Param.NParamDebuffIcons[i][Math.min(ICF.Param.NParamDebuffIcons[i].length, Math.abs(this._NBuffs[i])) - 1]);
  3742.         }
  3743.     }
  3744.     return icons;
  3745. };
  3746.  
  3747. Game_BattlerBase.prototype.NParamBase = function(paramId) {
  3748.     if (ICF.Param.NParamBase[paramId].length == 1) {
  3749.         return Number(ICF.Param.NParamBase[paramId][0]);
  3750.     } else if (ICF.Param.NParamBase[paramId].length > 1) {
  3751.         return Number(ICF.Param.NParamBase[paramId][0]) + Number(ICF.Param.NParamBase[paramId][1] * (this.level - 1));
  3752.     } else {
  3753.         return 0;
  3754.     }
  3755. };
  3756.  
  3757. Game_BattlerBase.prototype.NParamPlus = function(paramId) {
  3758.     return this._NParamPlus[paramId] + this.traitsSum(Game_BattlerBase.TRAIT_NPARAM, paramId);
  3759. };
  3760.  
  3761. Game_BattlerBase.prototype.NParamLimits = function(paramId) {
  3762.     var array = eval(ICF.Param.NParamLimit[paramId]);
  3763.     if (!Array.isArray(array)) array = ICF.Param.NParamLimit[paramId].split(/\s+/).leaveNumbers();
  3764.     if (array.length < 1) array[0] = 0;
  3765.     if (array.length < 2) array[1] = 999;
  3766.     if (array.length < 3) array[2] = array[1];
  3767.     return array;
  3768. };
  3769.  
  3770. Game_BattlerBase.prototype.NParamRate = function(paramId) {
  3771.     return this.traitsPi(Game_BattlerBase.TRAIT_NPARAM, paramId + 100);
  3772. };
  3773.  
  3774. Game_BattlerBase.prototype.NParamXRate = function(paramId) {
  3775.     return this.traitsPi(Game_BattlerBase.TRAIT_NPARAM, paramId + 300);
  3776. };
  3777.  
  3778. Game_BattlerBase.prototype.NParamBuffRate = function(paramId) {
  3779.     return this._NBuffs[paramId] * 0.25 + 1.0;
  3780. };
  3781.  
  3782. Game_BattlerBase.prototype.NParamFlat = function(paramId) {
  3783.     return this.traitsSum(Game_BattlerBase.TRAIT_NPARAM, paramId + 200);
  3784. };
  3785.  
  3786. Game_BattlerBase.prototype.NParamXFlat = function(paramId) {
  3787.     return this.traitsSum(Game_BattlerBase.TRAIT_NPARAM, paramId + 400);
  3788. };
  3789.  
  3790. Game_BattlerBase.prototype.NParam = function(paramId) {
  3791.     var value = this.NParamBase(paramId) + this.NParamPlus(paramId);
  3792.     value *= this.NParamRate(paramId);
  3793.     var limits = this.NParamLimits(paramId);
  3794.     var buff = this.NParamXRate(paramId) * this.NParamBuffRate(paramId);
  3795.     value = Math.min(value, limits[1]);
  3796.     var flat = (buff > 1)? Math.min(this.NParamFlat(paramId), limits[1] - value) : Math.min(this.NParamFlat(paramId), limits[1] - value * buff);
  3797.     value *= buff;
  3798.     value += flat + this.NParamXFlat(paramId);
  3799.     return Math.round(value.clamp(limits[0], limits[2]));
  3800. };
  3801.  
  3802. Game_BattlerBase.prototype.PParamBase = function(pparamId) {
  3803.     return eval(ICF.Param.PParamBase[pparamId]) || 0;
  3804. }
  3805.  
  3806. Game_BattlerBase.prototype.PParam = function(pparamId) {
  3807.     var value = this.PParamBase(pparamId) + this.traitsSum(Game_BattlerBase.TRAIT_PPARAM, pparamId);
  3808.     value *= this.traitsPi(Game_BattlerBase.TRAIT_PPARAM, pparamId + 100);
  3809.     value += this.traitsSum(Game_BattlerBase.TRAIT_PPARAM, pparamId + 200);
  3810.     return value;
  3811. };
  3812.  
  3813. ICF.ParamCore.paramplus = Game_BattlerBase.prototype.paramPlus;
  3814. Game_BattlerBase.prototype.paramPlus = function(paramId) {
  3815.     return ICF.ParamCore.paramplus.call(this, paramId) + this.traitsSum(Game_BattlerBase.TRAIT_PARAM, paramId + 10);
  3816. };
  3817.  
  3818. Game_BattlerBase.prototype.paramFlat = function(paramId) {
  3819.     return this.traitsSum(Game_BattlerBase.TRAIT_PARAM, paramId + 20);
  3820. };
  3821.  
  3822. Game_BattlerBase.prototype.paramXFlat = function(paramId) {
  3823.     return this.traitsSum(Game_BattlerBase.TRAIT_PARAM, paramId + 40);
  3824. };
  3825.  
  3826. Game_BattlerBase.prototype.paramXRate = function(paramId) {
  3827.     return this.traitsPi(Game_BattlerBase.TRAIT_PARAM, paramId + 30);
  3828. };
  3829.  
  3830. Game_BattlerBase.prototype.paramLimits = function(paramId) {
  3831.     return eval(ICF.Param.BParamLimit[paramId]) || [0, 999, 1200];
  3832. };
  3833.  
  3834. Game_BattlerBase.prototype.param = function(paramId) {
  3835.     var value = this.paramBase(paramId) + this.paramPlus(paramId);
  3836.     value *= this.paramRate(paramId);
  3837.     var limits = this.paramLimits(paramId);
  3838.     var buff = this.paramXRate(paramId) * this.paramBuffRate(paramId);
  3839.     value = Math.min(value, limits[1]);
  3840.     var flat = (buff > 1)? Math.min(this.paramFlat(paramId), limits[1] - value) : Math.min(this.paramFlat(paramId), limits[1] - value * buff);
  3841.     value *= buff;
  3842.     value += flat + this.paramXFlat(paramId);
  3843.     return Math.round(value.clamp(limits[0], limits[2]));
  3844. };
  3845.  
  3846. Game_BattlerBase.prototype.xparamBase = function(xparamId) {
  3847.     return eval(ICF.Param.XParamBase[xparamId]) || 0;
  3848. }
  3849.  
  3850. Game_BattlerBase.prototype.xparam = function(xparamId) {
  3851.     return (this.xparamBase(xparamId) + this.traitsSum(Game_BattlerBase.TRAIT_XPARAM, xparamId)) * this.traitsPi(Game_BattlerBase.TRAIT_XPARAM, xparamId + 10) + this.traitsSum(Game_BattlerBase.TRAIT_XPARAM, xparamId + 20);
  3852. };
  3853.  
  3854. Game_BattlerBase.prototype.sparamBase = function(sparamId) {
  3855.     return eval(ICF.Param.SParamBase[sparamId]) || 1;
  3856. }
  3857.  
  3858. Game_BattlerBase.prototype.sparam = function(sparamId) {
  3859.     return (this.sparamBase(sparamId) + this.traitsSum(Game_BattlerBase.TRAIT_SPARAM, sparamId + 10)) * this.traitsPi(Game_BattlerBase.TRAIT_SPARAM, sparamId) + this.traitsSum(Game_BattlerBase.TRAIT_SPARAM, sparamId + 20);
  3860. };
  3861.  
  3862. Game_BattlerBase.prototype.NDebuffRate = function(paramId) {
  3863.     return this.traitsPi(Game_BattlerBase.TRAIT_DEBUFF_RATE, paramId + 10);
  3864. };
  3865.  
  3866. Game_BattlerBase.prototype.addNParam = function(paramId, value) {
  3867.     this._NParamPlus[paramId] += value;
  3868.     this.refresh();
  3869. };
  3870.  
  3871. //=============================================================================
  3872. // Game_Battler
  3873. //=============================================================================
  3874.  
  3875. Game_Battler.prototype.addNBuff = function(paramId, turns) {
  3876.     if (this.isAlive()) {
  3877.         this.increaseNBuff(paramId);
  3878.         if (this.isNBuffAffected(paramId)) {
  3879.             this.overwriteNBuffTurns(paramId, turns);
  3880.         }
  3881.         this._result.pushAddedNBuff(paramId);
  3882.         this.refresh();
  3883.     }
  3884. };
  3885.  
  3886. Game_Battler.prototype.addNDebuff = function(paramId, turns) {
  3887.     if (this.isAlive()) {
  3888.         this.decreaseNBuff(paramId);
  3889.         if (this.isNDebuffAffected(paramId)) {
  3890.             this.overwriteNBuffTurns(paramId, turns);
  3891.         }
  3892.         this._result.pushAddedNDebuff(paramId);
  3893.         this.refresh();
  3894.     }
  3895. };
  3896.  
  3897. Game_Battler.prototype.removeNBuff = function(paramId) {
  3898.     if (this.isAlive() && this.isNBuffOrDebuffAffected(paramId)) {
  3899.         this.eraseNBuff(paramId);
  3900.         this._result.pushRemovedNBuff(paramId);
  3901.         this.refresh();
  3902.     }
  3903. };
  3904.  
  3905. ICF.ParamCore.removeAllBuffs = Game_Battler.prototype.removeAllBuffs;
  3906. Game_Battler.prototype.removeAllBuffs = function() {
  3907.     ICF.ParamCore.removeAllBuffs.call(this);
  3908.     for (var i = 0; i < this.NBuffLength(); i++) {
  3909.         this.removeNBuff(i);
  3910.     }
  3911. };
  3912.  
  3913. ICF.ParamCore.removeBuffsAuto = Game_Battler.prototype.removeBuffsAuto;
  3914. Game_Battler.prototype.removeBuffsAuto = function() {
  3915.     ICF.ParamCore.removeBuffsAuto.call(this);
  3916.     for (var i = 0; i < this.NBuffLength(); i++) {
  3917.         if (this.isNBuffExpired(i)) {
  3918.             this.removeNBuff(i);
  3919.         }
  3920.     }
  3921. };
  3922.  
  3923. //=============================================================================
  3924. // Game_Actor
  3925. //=============================================================================
  3926.  
  3927. Game_Actor.prototype.NParamBase = function(paramId) {
  3928.     if ($dataClasses[this._classId].customNParam[paramId] != '') {
  3929.     try {   var value = 0;
  3930.         eval($dataClasses[this._classId].customNParam[paramId]);
  3931.         return value;
  3932.         }
  3933.     catch (e) {if(ICF.Param.ParamCoreHalt){throw new Error('Error in custom NParam Base #' + paramId + ' in actor class #' + this._classId);}}
  3934.     }
  3935.  
  3936.     var array = $dataClasses[this._classId].basicNParam[paramId];
  3937.  
  3938.     if (!array) return Game_BattlerBase.prototype.NParamBase.call(this, paramId);
  3939.     if (array.length == 1) {
  3940.         return array[0];
  3941.     } else if (array.length > 1) {
  3942.         return array[0] + array[1] * (this.level - 1);
  3943.     } else {
  3944.         return Game_BattlerBase.prototype.NParamBase.call(this, paramId);
  3945.     }
  3946. };
  3947.  
  3948. ICF.ParamCore.actorparambase = Game_Actor.prototype.paramBase;
  3949. Game_Actor.prototype.paramBase = function(paramId) {
  3950.     if ($dataClasses[this._classId].customBParam[paramId] != '') {
  3951.     try {   var value = 0;
  3952.         eval($dataClasses[this._classId].customBParam[paramId]);
  3953.         return value;
  3954.         }
  3955.     catch (e) {if(ICF.Param.ParamCoreHalt){throw new Error('Error in custom Param Base #' + paramId + ' in actor class #' + this._classId);}}
  3956.     }
  3957.  
  3958.     return ICF.ParamCore.actorparambase.call(this, paramId);
  3959. };
  3960.  
  3961. //=============================================================================
  3962. // Game_Enemy
  3963. //=============================================================================
  3964.  
  3965. Game_Enemy.prototype.NParamBase = function(paramId) {
  3966.     var array = $dataEnemies[this._enemyId].basicNParam[paramId];
  3967.  
  3968.     if (!array) return Game_BattlerBase.prototype.NParamBase.call(this, paramId);
  3969.     if (array.length == 1) {
  3970.         return array[0];
  3971.     } else if (array.length > 1) {
  3972.         return array[0] + array[1] * (this.level - 1);
  3973.     } else {
  3974.         return Game_BattlerBase.prototype.NParamBase.call(this, paramId);
  3975.     }
  3976. };
  3977.  
  3978. //=============================================================================
  3979. // Game_Action
  3980. //=============================================================================
  3981.  
  3982. ICF.ParamCore.testItemEffect = Game_Action.prototype.testItemEffect;
  3983. Game_Action.prototype.testItemEffect = function(target, effect) {
  3984.     switch (effect.code) {
  3985.     case Game_Action.EFFECT_ADD_NBUFF :
  3986.         return !target.isMaxNBuffAffected(effect.dataId);
  3987.     case Game_Action.EFFECT_ADD_NDEBUFF :
  3988.         return !target.isMaxNDebuffAffected(effect.dataId);
  3989.     case Game_Action.REMOVE_NBUFF:
  3990.         return target.isNBuffAffected(effect.dataId);
  3991.     case Game_Action.REMOVE_NDEBUFF:
  3992.         return target.isNDebuffAffected(effect.dataId);
  3993.     default:
  3994.         return ICF.ParamCore.testItemEffect.call(this, target, effect);
  3995.     }
  3996. };
  3997.  
  3998. ICF.ParamCore.applyItemEffect = Game_Action.prototype.applyItemEffect;
  3999. Game_Action.prototype.applyItemEffect = function(target, effect) {
  4000.     switch (effect.code) {
  4001.     case Game_Action.EFFECT_ADD_NBUFF:
  4002.         this.itemEffectAddNBuff(target, effect);
  4003.         break;
  4004.     case Game_Action.EFFECT_ADD_NDEBUFF:
  4005.         this.itemEffectAddNDebuff(target, effect);
  4006.         break;
  4007.     case Game_Action.EFFECT_REMOVE_NBUFF:
  4008.         this.itemEffectRemoveNBuff(target, effect);
  4009.         break;
  4010.     case Game_Action.EFFECT_REMOVE_NDEBUFF:
  4011.         this.itemEffectRemoveNDebuff(target, effect);
  4012.         break;
  4013.     case Game_Action.EFFECT_NGROW:
  4014.         this.itemEffectGrowNParam(target, effect);
  4015.         break;
  4016.     default:
  4017.         ICF.ParamCore.applyItemEffect.call(this, target, effect);
  4018.     }
  4019. };
  4020.  
  4021. Game_Action.prototype.itemEffectAddNBuff = function(target, effect) {
  4022.     target.addNBuff(effect.dataId, effect.value1);
  4023.     this.makeSuccess(target);
  4024. };
  4025.  
  4026. Game_Action.prototype.itemEffectAddNDebuff = function(target, effect) {
  4027.     var chance = target.NDebuffRate(effect.dataId) * this.lukEffectRate(target);
  4028.     if (Math.random() < chance) {
  4029.         target.addNDebuff(effect.dataId, effect.value1);
  4030.         this.makeSuccess(target);
  4031.     }
  4032. };
  4033.  
  4034. Game_Action.prototype.itemEffectRemoveNBuff = function(target, effect) {
  4035.     if (target.isNBuffAffected(effect.dataId)) {
  4036.         target.removeNBuff(effect.dataId);
  4037.         this.makeSuccess(target);
  4038.     }
  4039. };
  4040.  
  4041. Game_Action.prototype.itemEffectRemoveNDebuff = function(target, effect) {
  4042.     if (target.isNDebuffAffected(effect.dataId)) {
  4043.         target.removeNBuff(effect.dataId);
  4044.         this.makeSuccess(target);
  4045.     }
  4046. };
  4047.  
  4048. Game_Action.prototype.itemEffectGrowNParam = function(target, effect) {
  4049.     target.addNParam(effect.dataId, Math.floor(effect.value1));
  4050.     this.makeSuccess(target);
  4051. };
  4052.  
  4053. //=============================================================================
  4054. // Game_ActionResult
  4055. //=============================================================================
  4056.  
  4057. ICF.ParamCore.GARClear = Game_ActionResult.prototype.clear;
  4058. Game_ActionResult.prototype.clear = function() {
  4059.     ICF.ParamCore.GARClear.call(this);
  4060.     this.addedNBuffs = [];
  4061.     this.addedNDebuffs = [];
  4062.     this.removedNBuffs = [];
  4063. };
  4064.  
  4065. Game_ActionResult.prototype.isNBuffAdded = function(paramId) {
  4066.     return this.addedNBuffs.contains(paramId);
  4067. };
  4068.  
  4069. Game_ActionResult.prototype.pushAddedNBuff = function(paramId) {
  4070.     if (!this.isNBuffAdded(paramId)) {
  4071.         this.addedNBuffs.push(paramId);
  4072.     }
  4073. };
  4074.  
  4075. Game_ActionResult.prototype.isNDebuffAdded = function(paramId) {
  4076.     return this.addedNDebuffs.contains(paramId);
  4077. };
  4078.  
  4079. Game_ActionResult.prototype.pushAddedNDebuff = function(paramId) {
  4080.     if (!this.isNDebuffAdded(paramId)) {
  4081.         this.addedNDebuffs.push(paramId);
  4082.     }
  4083. };
  4084.  
  4085. Game_ActionResult.prototype.isNBuffRemoved = function(paramId) {
  4086.     return this.removedNBuffs.contains(paramId);
  4087. };
  4088.  
  4089. Game_ActionResult.prototype.pushnRemovedBuff = function(paramId) {
  4090.     if (!this.isNBuffRemoved(paramId)) {
  4091.         this.removedNBuffs.push(paramId);
  4092.     }
  4093. };
  4094.  
  4095. //=============================================================================
  4096. // Game_Item
  4097. //=============================================================================
  4098.  
  4099. Game_Item.prototype.nparamTypes = function() {
  4100.     return this.traitDataTypesMod(24, 100);
  4101. };
  4102.  
  4103. Game_Item.prototype.pparamTypes = function() {
  4104.     return this.traitDataTypesMod(25, 100);
  4105. };
  4106.  
  4107. Game_Item.prototype.paramTypes = function() {
  4108.     return this.traitDataTypesMod(21, 10);
  4109. };
  4110.  
  4111. Game_Item.prototype.xparamTypes = function() {
  4112.     return this.traitDataTypesMod(22, 10);
  4113. };
  4114.  
  4115. Game_Item.prototype.sparamTypes = function() {
  4116.     return this.traitDataTypesMod(23, 10);
  4117. };
  4118.  
  4119. //=============================================================================
  4120. // End of File
  4121. //=============================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement