追加または削除されたときに別の状態に解決される可能性がある状態を作成できるプラグイン – HIME_PlaceholderStates.js

タイトル
- allows you to create a state that may resolve to a different state when it is added or removed.
作者名
ヘルプ
-------------------------------------------------------------------------------
== Description ==

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.

The following formula variables are available

a - "this" battler.
v - game variables

-------------------------------------------------------------------------------
パラメータ
title Placeholder States
version 1.0
date Jan 10, 2015
filename HIME_PlaceholderStates.js
url http://himeworks.com/2016/01/placeholder-states/

If you enjoy my work, consider supporting me on Patreon!

https://www.patreon.com/himeworks

If you have any questions or concerns, you can contact me at any of
the following sites:

Main Website: http://himeworks.com
Facebook: https://www.facebook.com/himeworkscom/
Twitter: https://twitter.com/HimeWorks
Youtube: https://www.youtube.com/c/HimeWorks
Tumblr: http://himeworks.tumblr.com/

-------------------------------------------------------------------------------
ライセンス表記
- Free for use in non-commercial projects with credits
- Contact me for commercial use

紹介ページ http://himeworks.com/2016/01/placeholder-states/