Save-Point
DoubleX RMVXA Substitute Edit - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+--- Thread: DoubleX RMVXA Substitute Edit (/thread-4957.html)



DoubleX RMVXA Substitute Edit - DoubleX - 01-24-2014

DoubleX RMVXA Substitute Edit
Version: v1.01b
Introduction

In the default setting, if more than one battler in the same side have the substitute flag, the one with the lowest id(the leftmost one) will always do the job, even if his/her/its hp isn't the highest among them all.
With this script, it's the one with the highest hp that'll always do the job, thus increasing the effectiveness of the substitute flag if more than one battler in the same side have it.
(v1.00b+)Substitute flag applies to magic reflection and counterattack as well.
(v1.00d+)Battlers resisting state with death_state_id take the substitute role.


Features

*
Plug and play(You don't need to edit anything in this script but you may still do so)

Screenshots

Believe it or not, in the following 2 screenshots, Eric, Terence and Ernest have substitute flag while Isabelle doesn't.

Default setting:

[Image: bandicam2014-01-0221-08-47-281.jpg]

With this script:
[Image: bandicam2014-01-0221-11-18-906.jpg]

Script

"script"

Instructions

Open the script editor and put this script into an open slot between Materials and Main. Save to take effect.

FAQ

None

Compatibility

Scripts aliasing or rewriting method:
- substitute_battler under class Game_Unit
- invoke_counter_attack or invoke_magic_reflection under class Scene_Battle
may have compatibility issues with this script
Place this script above those aliasing any of these methods if possible


Credits and Thanks

None

Author's Notes

None

Terms and Conditions

None other than not claiming this script as created by anyone except DoubleX or his alias


RE: DoubleX RMVXA Substitute Edit - DoubleX - 07-21-2015

Updates
v1.01b(GMT 1200 21-7-2014):
- Compatible with DoubleX RMVXA Formulae Edit