Last Update: 2012.01.13
Script Download


This script allows to a higher control over the traits. You can set traits to be active only if certain conditions are met or add and remove traits manually with comment calls.


Requires the Victor Engine – Basic Module


Comment calls note tags:

Tags to be used in events comment box, works like a script call.

 

<actor add trait x: info>

Adds a trait to an specific actor
x : actor ID
info : trait info (check trait list for details)

 

<actor remove trait x: info>

Removes a trait to an specific actor
x : actor ID
info : trait info (check trait list for details)

 

<enemy add trait x: info>

Adds a trait to an specific enemy
x : enemy troop index
info : trait info (check trait list for details)

 

<enemy remove trait x: info>

Removes a trait to an specific enemy
x : enemy troop index
info : trait info (check trait list for details)

 


Actors, Classes, Wapons, Armors, States and Enemies note tags:

Tags to be used on Actors, Classes, Wapons, Armors, States and Enemies
note boxes.

 

<trait switch on x: info>
<trait switch off x: info>

Trait will be active if the switch set is on of off.
x : switch ID
info : trait info (check trait list for details)

 

<trait variable x higher y: info>   <trait variable x equal y: info>
<trait variable x lower y: info>    <trait variable x different y: info>

Trait will be active if the variable x meets the condition when compared
with value y.
x : variable ID
y : value (can be evaluted)
info : trait info (check trait list for details)

 

<trait stat higher x: info>    <trait stat equal x: info>
<trait stat higher x%: info>   <trait stat equal x%: info>
<trait stat lower x: info>     <trait stat different x: info>
<trait stat lower x%: info>   <trait stat different x%: info>

Trait will be active 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”
info : trait info (check trait list for details)

 

<trait custom: info>
string
string
</trait customn>

You can set a custom condition based on script code. Replace the string
withe the script code that will be evaluted.
info : trait info (check trait list for details)