Jump to content
DoubleX

DoubleX RMMV Confusion Edit

Recommended Posts

Note

This plugin's available for commercial use

 

Purpose

Lets you set some states to reverse the ally/foe identification

 

Games using this plugin

None so far

 

Notetag

 

 


 *    # State Notetags:                                                       
 *      1. <confusion edit: reverse, excludeSelf>                             
 *         - Sets the confusion state to reverse the ally/foe identification  
 *           only instead of restricting the battler to be merely using the   
 *           1st skill in the database if reverse is true and the actions     
 *           aren't forced                                                    
 *         - Reversal will never take place for state Restriction as Attack an
 *           Enemy nor skill/item scope as The User                           
 *         - Reversal will have 50% chance to take place for state Restriction
 *           as Attack Anyone                                                 
 *         - Reversal will always take place for state Restriction as Attack  
 *           an Ally                                                          
 *         - Sets the confusion state to make the battler never targeting self
 *           if excludeSelf is true and the actions aren't forced             
 *         - Only the effective notetag with the highest priority will be used

 

 

Plugin Calls

 

 


 *    # State manipulations                                                   
 *      1. meta.confusionEdit                                                 
 *         - Returns the confusion edit reverse and excludeSelf flag in the   
 *           form of { reverse: reverse, excludeSelf: excludeSelf }           
 *      2. meta.confusionEdit = { reverse: reverse, excludeSelf: excludeSelf }
 *         - Sets the confusion edit reverse and excludeSelf flag in the form 
 *           of { reverse: reverse, excludeSelf: excludeSelf }                
 *         - All meta.confusionEdit changes can be saved if                   
 *           DoubleX RMMV Dynamic Data is used                                

 

 

Video

https://www.youtube.com/watch?v=NCVMdR7HFls

 

Prerequisites

Abilities:

1. Little Javascript coding proficiency to fully utilize this plugin

 

Terms Of Use

You shall keep this plugin's Plugin Info part's contents intact

You shalln't claim that this plugin's written by anyone other than DoubleX or his aliases

None of the above applies to DoubleX or his/her aliases

 

Changelog

 

 


 *      v1.00e(GMT 1100 9-9-2022):
 *      1. Fixed infinite loop in targetsForReversedExcludeSelf due to typo
 *      v1.00d(GMT 0200 6-6-2020):
 *      1. Fixed actions having no targets not executing bug
 *      v1.00c(GMT 0300 9-3-2020):
 *      1. Fixed undefined subject in hasValidOriginalTargets
 *      v1.00b(GMT 0800 30-1-2016):                                           
 *      1. Fixed missing return in targetsForOpponents and targetsForFriends  
 *      2. Fixed undefined target in targetsForReversedExcludeSelf due to typo
 *      3. Fixed infinite loop with excludeSelf when subject's always selected
 *      v1.00a(GMT 0800 3-1-2016):                                            
 *      1. 1st version of this plugin finished                                

 

 

DoubleX RMMV Confusion Edit

 

Edited by DoubleX

Share this post


Link to post
Share on other sites

Updates

Added this video:

https://www.youtube.com/watch?v=NCVMdR7HFls

 *      v1.00b(GMT 0800 30-1-2016):                                           
 *      1. Fixed missing return in targetsForOpponents and targetsForFriends  
 *      2. Fixed undefined target in targetsForReversedExcludeSelf due to typo
 *      3. Fixed infinite loop with excludeSelf when subject's always selected

Share this post


Link to post
Share on other sites

Updates

 *      v1.00d(GMT 0200 6-6-2020):
 *      1. Fixed actions having no targets not executing bug
 *      v1.00c(GMT 0300 9-3-2020):
 *      1. Fixed undefined subject in hasValidOriginalTargets

 

Share this post


Link to post
Share on other sites

Updates

 *      v1.00e(GMT 1100 9-9-2022):
 *      1. Fixed infinite loop in targetsForReversedExcludeSelf due to typo

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted