VE - Action Conditions

Victor Sant

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









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
26
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,451
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

Veteran
Veteran
Joined
Mar 2, 2012
Messages
39,949
Reaction score
13,585
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));
   };
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

The Ace attorney series are so great games... But at the same time such a travesty.
Made a video showcasing a plugin (by Lanza) that adds 5 more weather effects to our MV games. :LZYsmile: Namely:
Ash-dust,
bloodrain,
Cherry Blossom Petals,
Hail,
and bubbles.

I just like this website:
lol

Forum statistics

Threads
103,239
Messages
998,301
Members
134,729
Latest member
Takufy
Top