In RPG Maker, you can assign effects to items or skills.
Effects are special behaviors that occur when the item or skill is
For example, you can create a "Poison" skill that has a 50% chance to
add a "Poison" state to the target, or you can create a "Skill Book"
item that will teach a new skill to a particular actor when that actor is
Now, let's say you had a skill book that teaches Fire, but only magic users
can learn it. Do you want non-magic users to be able to use the book as
well? Maybe not.
In this situation, it would be useful to be able to define "conditions" that
must be met in order for the skill book to be used.
This plugin allows you to define "effect conditions", which are conditions
that are given to each and every effect on an item or skill. Before an effect
can be applied, all conditions must be met.
With these conditions, you can now check whether the actor that you would
like to use it on is able to learn Fire!
Effect conditions are formulas, so you can create conditions on anything
that you can imagine.
- Free for use in non-commercial projects with credits
- Contact me for commercial use
== Change Log ==
1.1 - Feb 8, 2015
forgot to "call" the aliased item test method
1.0 - Feb 7, 2015
== Usage ==
To create an effect condition, note-tag skills or items with
<effect condition: ID1, ID2, ... >
ID1, ID2, and so on are the effects that this condition applies
FORMULA is the condition that will be added to the specified effects.
The following formula variables are available:
a - the user of the item/skill
b - the target of the item/skill
i - the item/skill being used
v - game variables
s - game switches
p - game party
t - game troop
-- Example --
So for example, let's say you had an item called "Fire Skill Book" which
teaches the "Fire" spell.
You would add one effect to the item called "Learn Skill" that will add
the fire spell. Now, if you used the book on anyone, you'll see that they
learn the fire skill.
We would like to add conditions for our "Learn Skill" effect now.
Let's say that only the "Magician" and "Wizard" classes can learn it.
Assuming magican is class 2 and wizard is class 4, our effect condition would
start by targeting the first effect in the list, with a formula that checks
the class of the target: