Last Update: 2011.12.22
Script Download


This script allows to set special conditions to determine if a skill or item can be used. You can set states, status, switches, variables or even use an custom condtion that must be met for the skill or item to be useable.


Requires the Victor Engine – Basic Module



Skills and Items note tags:
Tags to be used on the Skills and Items note box in the database

 

<condition any state added: x>     <condition any state removed: x>
<condition any state added: x, x>  <condition any state removed: x, x>

The skill or item can only be used if one of the listed states meets the condition, added or removed.
x : state ID

 

<condition all state added: x>     <condition all state removed: x>
<condition all state added: x, x>  <condition all state removed: x, x>

The skill or item can only be used if *all* the listed states meets the condition, added or removed.
x : state ID

 

<condition all switch on: x>      <condition all switch off: x>
<condition all switch on: x, x>   <condition all switch off: x, x>

The skill or item can only be used if *all* the listed switches meets the condition, On or Off.
x : switch ID

 

<condition variable x higher: y>   <condition variable x equal: y>
<ition variable x lower: y>    <condition variable x different: y>

The skill or item can only be used if the variable x meets the condition when compared with value y.
x : variable ID
y : value (can be evaluted)

 

<condition stat higher: x>    <condition stat equal: x>
<condition stat higher: x%>   <condition stat equal: x%>
<condition stat lower: x>     <condition stat different: x>
<condition stat lower: x%>    <condition stat different: x%>

The skill or item can only be used if the stat set meets the condition when compared with value y. You can use any stat available for the battler, even custom ones.
stat : stat name (maxhp, maxmp, maxtp, hp, mp, tp, atk, def, mat…)
x : value (can be evaluted), % value can only be used with the stats “hp”, “mp” and “tp”

 

<custom condition>
string
string
</custom condition>

You can set a custom condition based on script code. Replace the string withe the code that will be evaluted.