Placeholder States are special states that use a formula to determine which
state will be added, when they are actually being added to a battler.
For example, let's say you had a state called "Freeze". When you first apply
the freeze state, the enemy will be frozen. However, if you applied the freeze
state to an enemy that is already frozen, they will shatter and die.
As another example, suppose you had a state called Poison. When you first
apply the state to a battler, Poison 1 will be added. When you add the Poison
state to a battler that already has Poison 1, it will be removed, and replaced
with Poison 2.
This allows you to create states that can be used on the same battler multiple
times, but potentially have different results.
== Terms of Use ==
- Free for use in non-commercial projects with credits
- Contact me for commercial use
== Change Log ==
1.0 - Jan 10, 2016
- initial release
== Usage ==
Note-tag states with
<placeholder state>
FORMULA
</placeholder state>
Where the FORMULA is any javascript expression that returns a number, which
will be the ID of the state that is actually added or removed. You can use
any number of conditions.