* ## Notetag Info
* 1. Among all the same notetag types in the same data, all can be
* effective
* 2. Each line can only have at most 1 notetag
* 3. The following is the structure of all notetags in this plugin:
* - <doublex rmmz tpbs cfgs edit contents>
* - <tpbs cfgs edit contents>
* Where contents are in the form of type suffixes: entries
* Either of the above can be used, but the 1st one reduce the chance
* of causing other plugins to treat the notetags of this plugin as
* theirs, while the 2nd one is more user-friendly
* - type is one of the following:
* 1. tpbAcceleration
* 2. tpbRelativeSpeed
* 3. tpbSpeed
* 4. tpbBaseSpeed
* 5. tpbRequiredCastTime
* 6. tpbChargeTimeWithPenalty
* 7. updatedTpbChargeTime
* 8. updatedTpbCastTime
* 9. updatedTpbIdleTime
* 10. tpbCastDelay
* 11. advantageousStartTpbChargeTime
* 12. disadvantageousStartTpbChargeTime
* 13. normStartTpbChargeTime
* (Search tag: NOTE_TYPE)
* - suffixes is the list of suffixes in the form of:
* suffix1 suffix2 suffix3 ... suffixn
* Where each suffix is either of the following:
* val(The notetag value will be used as-is)
* switch(The value of the game switch with id as the notetag value
* will be used)
* var(The value of the game variable with id as the notetag value
* will be used)
* (Advanced)script(The value of the game variable with id as the
* notetag value will be used as the contents of
* the functions to be called upon using the
* notetag)
* - The this pointer of the script suffix is the battler involved
* (Game_Battler.prototype)
* - entries is the list of entries in the form of:
* entry1, entry2, entry3, ..., entryn
* Where entryi must conform with the suffixi specifications
*----------------------------------------------------------------------------
* # Actor/Class/Learnt Skills/Usable Skills/Posessed Items/Usable Items/
* Inputted Skill Or Item/Weapon/Armor/Enemy/States Notetags
* 1. tpbAcceleration condSuffix opSuffix valSuffix: condEntry, opEntry, valEntry
* - Applies the following formula on the current tpb gain rate:
* current = current operator value
* if condEntry returns a turthy result
* Where current is the current tpb gain rate, operator is the
* operator specified by opEntry, and value is the value specified
* by valEntry
* - If there are no notetags, current will be the result returned by
* the function specified in the parameter tpbAcceleration
* - condSuffix can be val, switch or script
* - Both opSuffix and valSuffix can be val, var or script
* - The result of condEntry can be anything as only whether it's
* truthy matters
* - The result of opSuffix must be either of the following:
* +
* -
* *
* /
* %
* =
* - The result of valEntry can be any number
* - E.g.:
* <tpbs cfgs edit tpbAcceleration switch val val: 1, +, 0.01> will
* cause the tpb gain rate of the battler involved to be increased
* by 1% of the full TPBS bar(per frame) if the game switch with id
* 1 is on
* 2. tpbRelativeSpeed condSuffix opSuffix valSuffix: condEntry, opEntry, valEntry
* - Applies the following formula on the current tpb relative speed:
* current = current operator value
* if condEntry returns a turthy result
* Where current is the current tpb relative speed, operator is the
* operator specified by opEntry, and value is the value specified
* by valEntry
* - If there are no notetags, current will be the result returned by
* the function specified in the parameter tpbRelativeSpeed
* - condSuffix can be val, switch or script
* - Both opSuffix and valSuffix can be val, var or script
* - The result of condEntry can be anything as only whether it's
* truthy matters
* - The result of opSuffix must be either of the following:
* +
* -
* *
* /
* %
* =
* - The result of valEntry can be any number
* - E.g.:
* <tpbs cfgs edit tpbRelativeSpeed switch val val: 1, +, 0.1> will
* cause the tpb relative speed of the battler involved to be
* increased by 10% if the game switch with id 1 is on
* 3. tpbSpeed condSuffix opSuffix valSuffix: condEntry, opEntry, valEntry
* - Applies the following formula on the current tpb speed:
* current = current operator value
* if condEntry returns a turthy result
* Where current is the current tpb speed, operator is the operator
* specified by opEntry, and value is the value specified by
* valEntry
* - If there are no notetags, current will be the result returned by
* the function specified in the parameter tpbSpeed
* - condSuffix can be val, switch or script
* - Both opSuffix and valSuffix can be val, var or script
* - The result of condEntry can be anything as only whether it's
* truthy matters
* - The result of opSuffix must be either of the following:
* +
* -
* *
* /
* %
* =
* - The result of valEntry can be any number
* - E.g.:
* <tpbs cfgs edit tpbSpeed switch val val: 1, +, 10> will cause the
* tpb speed of the battler involved to be increased by 10(roughly
* the same as adding 100 agi if tpbSpeed uses the default formula)
* if the game switch with id 1 is on
* 4. tpbBaseSpeed condSuffix opSuffix valSuffix: condEntry, opEntry, valEntry
* - Applies the following formula on the current tpb base speed:
* current = current operator value
* if condEntry returns a turthy result
* Where current is the current tpb base speed, operator is the
* operator specified by opEntry, and value is the value specified
* by valEntry
* - If there are no notetags, current will be the result returned by
* the function specified in the parameter tpbBaseSpeed
* - condSuffix can be val, switch or script
* - Both opSuffix and valSuffix can be val, var or script
* - The result of condEntry can be anything as only whether it's
* truthy matters
* - The result of opSuffix must be either of the following:
* +
* -
* *
* /
* %
* =
* - The result of valEntry can be any number
* - E.g.:
* <tpbs cfgs edit tpbBaseSpeed switch val val: 1, +, 10> will cause
* the tpb base speed of the battler involved to be increased by 10
* (roughly the same as adding 100 agi if tpbSpeed uses the default
* formula) if the game switch with id 1 is on
* 5. tpbRequiredCastTime condSuffix opSuffix valSuffix: condEntry, opEntry, valEntry
* - Applies the following formula on the current tpb required cast
* time: current = current operator value
* if condEntry returns a turthy result
* Where current is the current tpb required cast time, operator is
* the operator specified by opEntry, and value is the value
* specified by valEntry
* - If there are no notetags, current will be the result returned by
* the function specified in the parameter tpbRequiredCastTime
* - condSuffix can be val, switch or script
* - Both opSuffix and valSuffix can be val, var or script
* - The result of condEntry can be anything as only whether it's
* truthy matters
* - The result of opSuffix must be either of the following:
* +
* -
* *
* /
* %
* =
* - The result of valEntry can be any number
* - E.g.:
* <tpbs cfgs edit tpbRequiredCastTime switch val val: 1, +, 1> will
* cause the tpb required cast time involved to be increased by 100%
* of the full TPBS bar if the game switch with id 1 is on
* 6. tpbChargeTimeWithPenalty condSuffix opSuffix valSuffix: condEntry, opEntry, valEntry
* - Applies the following formula on the current tpb charge time with
* the failed party escape attempt penalty applied:
* current = current operator value
* if condEntry returns a turthy result
* Where current is the current tpb charge time with the failed
* party escape attempt penalty applied, operator is the operator
* specified by opEntry, and value is the value specified by
* valEntry
* - If there are no notetags, current will be the result returned by
* the function specified in the parameter tpbChargeTimeWithPenalty
* - condSuffix can be val, switch or script
* - Both opSuffix and valSuffix can be val, var or script
* - The result of condEntry can be anything as only whether it's
* truthy matters
* - The result of opSuffix must be either of the following:
* +
* -
* *
* /
* %
* =
* - The result of valEntry can be any number
* - E.g.:
* <tpbs cfgs edit tpbChargeTimeWithPenalty switch val val: 1, -, 1>
* will cause the tpb charge time with the failed party escape
* attempt penalty applied of the battler involved to be decreased
* by 100% of the full TPBS bar if the game switch with id 1 is on
* 7. updatedTpbChargeTime condSuffix opSuffix valSuffix: condEntry, opEntry, valEntry
* - Applies the following formula on the current updated tpb charge
* time(updated per frame): current = current operator value
* if condEntry returns a turthy result
* Where current is the current updated tpb charge time, operator is
* the operator specified by opEntry, and value is the value
* specified by valEntry
* - If there are no notetags, current will be the result returned by
* the function specified in the parameter updatedTpbChargeTime
* - condSuffix can be val, switch or script
* - Both opSuffix and valSuffix can be val, var or script
* - The result of condEntry can be anything as only whether it's
* truthy matters
* - The result of opSuffix must be either of the following:
* +
* -
* *
* /
* %
* =
* - The result of valEntry can be any number
* - E.g.:
* <tpbs cfgs edit updatedTpbChargeTime switch val val: 1, +, 0.01>
* will cause the tpb charge time gain rate of the battler involved
* to be increased by 1% of the full TPBS bar(per frame) if the game
* switch with id 1 is on
* 8. updatedTpbCastTime condSuffix opSuffix valSuffix: condEntry, opEntry, valEntry
* - Applies the following formula on the current updated tpb cast
* time(updated per frame): current = current operator value
* if condEntry returns a turthy result
* Where current is the current updated tpb cast time, operator is
* the operator specified by opEntry, and value is the value
* specified by valEntry
* - If there are no notetags, current will be the result returned by
* the function specified in the parameter updatedTpbCastTime
* - condSuffix can be val, switch or script
* - Both opSuffix and valSuffix can be val, var or script
* - The result of condEntry can be anything as only whether it's
* truthy matters
* - The result of opSuffix must be either of the following:
* +
* -
* *
* /
* %
* =
* - The result of valEntry can be any number
* - E.g.:
* <tpbs cfgs edit updatedTpbCastTime switch val val: 1, +, 0.01>
* will cause the tpb cast time gain rate of the battler involved to
* be increased by 1% of the full TPBS bar(per frame) if the game
* switch with id 1 is on
* 9. updatedTpbIdleTime condSuffix opSuffix valSuffix: condEntry, opEntry, valEntry
* - Applies the following formula on the current updated tpb idle
* time(updated per frame): current = current operator value
* if condEntry returns a turthy result
* Where current is the current updated tpb idle time, operator is
* the operator specified by opEntry, and value is the value
* specified by valEntry
* - If there are no notetags, current will be the result returned by
* the function specified in the parameter updatedTpbIdleTime
* - condSuffix can be val, switch or script
* - Both opSuffix and valSuffix can be val, var or script
* - The result of condEntry can be anything as only whether it's
* truthy matters
* - The result of opSuffix must be either of the following:
* +
* -
* *
* /
* %
* =
* - The result of valEntry can be any number
* - E.g.:
* <tpbs cfgs edit updatedTpbIdleTime switch val val: 1, +, 0.01>
* will cause the tpb idle time gain rate of the battler involved to
* be increased by 1% of the full TPBS bar(per frame) if the game
* switch with id 1 is on
* 10. tpbCastDelay condSuffix opSuffix valSuffix: condEntry, opEntry, valEntry
* - Applies the following formula on the current tpb cast delay:
* current = current operator value
* if condEntry returns a turthy result
* Where current is the current cast delay, operator is the
* operator specified by opEntry, and value is the value specified
* by valEntry
* - If there are no notetags, current will be the result returned by
* the function specified in the parameter tpbCastDelay
* - condSuffix can be val, switch or script
* - Both opSuffix and valSuffix can be val, var or script
* - The result of condEntry can be anything as only whether it's
* truthy matters
* - The result of opSuffix must be either of the following:
* +
* -
* *
* /
* %
* =
* - The result of valEntry can be any number
* - E.g.:
* <tpbs cfgs edit tpbCastDelay switch val val: 1, +, 2000> will
* cause the tpb cast delay of the battler involved to be increased
* by 2000(as if the total speed of all inputted skills/items is
* decreased by 2000) if the game switch with id 1 is on
* 11. advantageousStartTpbChargeTime condSuffix opSuffix valSuffix: condEntry, opEntry, valEntry
* - Applies the following formula on the current tpb charge time
* upon advantageous battle start(preemptive for actors and
* surprise for enemies): current = current operator value
* if condEntry returns a turthy result
* Where current is the current tpb charge time upon advantageous
* battle start, operator is the operator specified by opEntry, and
* value is the value specified by valEntry
* - If there are no notetags, current will be the result returned by
* the function specified in the parameter
* advantageousStartTpbChargeTime
* - condSuffix can be val, switch or script
* - Both opSuffix and valSuffix can be val, var or script
* - The result of condEntry can be anything as only whether it's
* truthy matters
* - The result of opSuffix must be either of the following:
* +
* -
* *
* /
* %
* =
* - The result of valEntry can be any number
* - E.g.:
* <tpbs cfgs edit advantageousStartTpbChargeTime val val val: true, -, 0.5>
* will always cause the tpb charge time upon advantageous
* battle start of the battler involved to be decreased by 50% of
* the full TPBS bar
* 12. disadvantageousStartTpbChargeTime condSuffix opSuffix valSuffix: condEntry, opEntry, valEntry
* - Applies the following formula on the current tpb charge time
* upon disadvantageous battle start(surprise for actors and
* preemptive for enemies): current = current operator
* value if condEntry returns a turthy result
* Where current is the current tpb charge time upon
* disadvantageous battle start, operator is the operator specified
* by opEntry, and value is the value specified by valEntry
* - If there are no notetags, current will be the result returned by
* the function specified in the parameter
* disadvantageousStartTpbChargeTime
* - condSuffix can be val, switch or script
* - Both opSuffix and valSuffix can be val, var or script
* - The result of condEntry can be anything as only whether it's
* truthy matters
* - The result of opSuffix must be either of the following:
* +
* -
* *
* /
* %
* =
* - The result of valEntry can be any number
* - E.g.:
* <tpbs cfgs edit disadvantageousStartTpbChargeTime val val val: true, -, 0.5>
* will always cause the tpb charge time upon disadvantageous
* battle start of the battler involved to be decreased by 50% of
* the full TPBS bar
* 13. normStartTpbChargeTime condSuffix opSuffix valSuffix: condEntry, opEntry, valEntry
* - Applies the following formula on the current tpb charge time
* upon normal battle start: current = current operator
* value if condEntry returns a turthy result
* Where current is the current tpb charge time upon normal battle
* start, operator is the operator specified by opEntry, and value
* is the value specified by valEntry
* - If there are no notetags, current will be the result returned by
* the function specified in the parameter normStartTpbChargeTime
* - condSuffix can be val, switch or script
* - Both opSuffix and valSuffix can be val, var or script
* - The result of condEntry can be anything as only whether it's
* truthy matters
* - The result of opSuffix must be either of the following:
* +
* -
* *
* /
* %
* =
* - The result of valEntry can be any number
* - E.g.:
* <tpbs cfgs edit normStartTpbChargeTime val val val: true, =, 0.5>
* will always cause the tpb charge time upon normal battle start
* of the battler involved to be set as 50% of the full TPBS bar