DoubleX RMVXA Confusion Edit
#1
DoubleX RMVXA Confusion Edit
Version: v1.02f
Introduction

If a battler has inflicted states with restrictions "attack an enemy", "attack anyone" or "attack an ally", he/she/it'll attack the respective targets via autobattle like actions with the autobattle flag unchanged.
This is done by reversing his/her/its identifications of allies and enemies(allies are identified as enemies and vice versa) with 50% and 100% chance with "attack anyone" and "attack an ally" respectively.
The battler won't just use "Attack"(skill #1), but instead will use all available skills. Actors will randomly pick actions as if they've autobattle flags; Enemies will pick actions according to their action patterns.


Features

* Use of notetags(requires knowledge of notetag usage) to set specific states with those restrictions to have the edited confusion effects
* A way to set all states with those restrictions to have edited confusion effects without using notetags(and ignoring them)


Screenshots

[Image: bandicam2014-01-0212-30-18-453.jpg]

[Image: bandicam2014-01-0212-30-28-750.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:
- friends_unit, opponents_unit, prepare or make_targets under class Game_Action
- make_actions under class Game_Actor
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
My RMVXA/RMMV/RMMZ scripts/plugins:
http://rpgmaker.net/users/DoubleX/scripts/
Reply }
#2
Updates
v1.02d(GMT 1400 7-7-2015):
- Improved this script's efficiency and readability
My RMVXA/RMMV/RMMZ scripts/plugins:
http://rpgmaker.net/users/DoubleX/scripts/
Reply }
#3
Updates
v1.02f(GMT 0200 6-6-2020):
- Fixed actions having no targets not executing bug
My RMVXA/RMMV/RMMZ scripts/plugins:
http://rpgmaker.net/users/DoubleX/scripts/
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   DoubleX RMVXA Reflect State DoubleX 1 6,585 09-16-2017, 03:52 AM
Last Post: DoubleX
   DoubleX RMVXA State Triggers DoubleX 4 9,932 05-14-2016, 03:25 AM
Last Post: DoubleX
   DoubleX RMVXA Item Triggers DoubleX 2 6,620 02-27-2016, 03:02 AM
Last Post: DoubleX
   DoubleX RMVXA Dynamic Data DoubleX 2 6,481 11-12-2015, 01:54 AM
Last Post: DoubleX
   DoubleX RMVXA Linked Battlers DoubleX 1 6,368 11-08-2015, 04:29 AM
Last Post: DoubleX
   DoubleX RMVXA Object Trace DoubleX 3 7,118 10-27-2015, 11:21 AM
Last Post: DoubleX
   DoubleX RMVXA State Counters DoubleX 4 8,868 09-19-2015, 01:57 PM
Last Post: DoubleX
   DoubleX RMVXA Basic ATB Bar DoubleX 1 5,793 09-09-2015, 09:52 AM
Last Post: DoubleX
   DoubleX RMVXA Diagonal Movement DoubleX 0 4,673 08-15-2015, 02:13 PM
Last Post: DoubleX
   DoubleX RMVXA Pixel Movement DoubleX 1 6,210 08-15-2015, 04:51 AM
Last Post: DoubleX



Users browsing this thread: 1 Guest(s)