Victor Sant

Veteran
Veteran
Joined
Mar 17, 2012
Messages
1,694
Reaction score
1,468
First Language
Portuguese
Primarily Uses
victor-engine-script-title.png

action-conditions-name.png








This plugin allows to setup specific condtions to allow some skills or items to be used. You can create actions that can be used only when in danger or under a certain circumstance based on a switch or variable.

Download:
Victor Engine - Action Conditions


Credits:
Author: Victor Sant

Terms of Use
 
Last edited by a moderator:

HintonR

Veteran
Veteran
Joined
Mar 2, 2016
Messages
197
Reaction score
28
First Language
English
Primarily Uses
RMMV
Hello Victor.

I was wondering if this plugin would allow me to replicate the skill Dreameater from Pokemon.
It can only target/damage enemies with certain states, i.e. Sleep. 
 

Victor Sant

Veteran
Veteran
Joined
Mar 17, 2012
Messages
1,694
Reaction score
1,468
First Language
Portuguese
Primarily Uses
@HintonR


This plugin checks restrictions only on the user, not the targets.


I have a 'Target Conditions' that checks the targets instead of the user on the line for future releases.


You can try to do it with the Unreachable Target, i will update it today and some of the new features might help with what you want.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,800
Reaction score
15,923
First Language
English
Primarily Uses
RMMV
For anyone using this plugin, I think I found a bug when helping someone troubleshoot.

If your <custom action condition> seems to be getting ignored or giving the wrong result, find this section of code:

Code:
   Game_BattlerBase.prototype.meetCustomActionConditions = function(item) {
       if (!item || !item.actionConditions) return true;
       if (this.testCustomActionConditions(item)) return false;
       return true;
   };

and replace it with this:

Code:
   Game_BattlerBase.prototype.meetCustomActionConditions = function(item) {
       if (!item || !item.actionConditions || item.actionConditions.length === 0) return true;
       return (this.testCustomActionConditions(item));
   };
 

Latest Threads

Latest Profile Posts

Here is an work in progress (unfinished as of now) Music Album i'm making:


The songs are entirely made with this site:


Please tell me what you think about each song!
The game's already out there. Now what?
It has now gotten to the point where I need detailed excel spreadsheets to track where every individual enemy on the map is, what type of enemy they are and how many rooms you need to pass through to make them respawn.

I'm simultaneously proud of my diligence and would never wish this torture on even my worst enemies. :kaoswt2:
Variation two of my nameless protagonist- now with color!!
WIN_20220815_21_48_46_Pro.jpg
thoughts?

Forum statistics

Threads
124,573
Messages
1,164,491
Members
163,398
Latest member
ranisowmya
Top