#author("2022-10-12T03:05:01+00:00","default:admin","admin")
*状態定義とは [#o3ec9dd2]
#author("2024-10-23T22:00:43+09:00","default:admin","admin")
*What are State Definitions [#o3ec9dd2]

「状態」は、地形やスキルに付与させることで、ゲーム中に、キャストの能力や行動に変化をもたらします。
地形に毒状態を付与して「毒の沼」を作ったり、スキルに付与すれば「麻痺攻撃魔法」や「味方の攻撃力アップ魔法」などを作ることができます。
ここでは、各種状態の能力への影響や解除条件などを設定します。
A "state" can be granted to a terrain or skill, which, during the game, changes the cast's abilities or behavior.
You can create a "poison swamp" by giving the terrain a poisonous state, or if you give it to a skill, you can create "paralyzing attack magic" or "magic that increases the attack power of allies".
This section specifies the effects of the various states on the ability and the conditions under which they are released.

//COLOR(#FF0000):画像入る

#ref(./状態定義.png,50%)
#ref(./Database_StateDefinition.png,50%)
#br
#contents

**機能説明 [#pfac834d]
**Function Description [#pfac834d]

//COLOR(#FF0000):画像入る

#ref(名前.png)
#ref(./State Add.png,80%)
#br

- ''追加''
状態を追加します。
- ''Add''
Add a state.

- ''フォルダー追加''
フォルダーを作成します。
- ''Add Folder''
Create a folder.

- ''コピー''
選択した状態のデータをコピーします。
- ''Copy''
Copy the data in the selected state.

- ''ペースト''
コピーされた状態のデータを最後列にペーストします。
- ''Paste''
Paste the data in the copied state into the last column.

- ''削除''
状態のデータを削除します。
- ''Delete''
Delete state data.

-''管理タグ+メモ''
管理タグを付けたり、覚書をメモすることことができます。
タグは行頭に#を付けて登録します。この欄に記入したタグやメモはゲーム中には表示されません。
-''Management Tags + Notes''
You can add management tags and jot down memorandums.
Tags are registered by adding # to the beginning of the line. Tags and notes entered in this field will not appear in the game.
//The specified tags can be used to narrow down the entries displayed in the "Picture Book" screen, etc., by specifying them in the Layout Tool function.
#br
''&color(red){(!)};''When specifying multiple tags, please DO NOT leave spaces between them.
If you put #atk#def, it will be displayed regardless of whether you filter by #atk or #def.
if you put a space like #atk #def, it will not be displayed when you filter by #atk, but only when you filter by #def.


**状態のプロパティ[#pfac834d]
**State Definition Properties[#pfac834d]

//COLOR(#FF0000):画像入る

#ref(プロパティ.png)
#ref(./Database_StateDefinition_Name.png,80%)
#br

-''名前''
状態の名前を入力します。
また、状態の説明文を書くことができます。
-''Name''
Enter a name for the state.
You can also write a description of the state.

-''Icon Image''
Specify an icon image of this state to be displayed in the game.

-''重ね掛け''
同一キャストに何度も使用した場合の動作について設定します。
-''Motion When Used''
Specify the motion to be displayed when the cast becomes in this "state".

--''種類''
「重ねがけ無効」「解除条件上書き」「解除条件加算」から選択します。
**Influence of State Change [#dbdfea5d]
#ref(./Database_StateDefinition_Abilities.png,80%)
#br

-''解除条件''
維持されている状態の解除条件を設定します。
***Basic Settings [#gb7bc6ca]
Specify basic information such as the probability of changing to a "state" and the conditions under which the "state" ability is removed.

--''バトル終了時''
オンにすると、バトル終了時に効果が無くなります。
--''Success Rate''
Specify the probability that the cast will actually change to this state when the conditions for this change are met.
For example, if an attack is made with a weapon that has "sleep" as an attack attribute, and the attack hits the opponent, this success rate is referenced when determining whether the opponent is actually going to "sleep".
A random number between 0 and 100 is compared with the "Resistance to State" of the attack target, and if the random number exceeds it, the "state" is granted.

--''ダメージを受けたとき''
設定された数値分だけダメージを受けると効果が無くなります。
--''Multiplexing''
Specifies the behavior when the same cast is affected by this "state" again while it continues to have this "state" ability.
//Select from "Disable", "Removal Condition: Overwriting" and "Removal Condition: Adding".
|Disable|This “state” cannot be multiplexed.|
|Removal Condition: Overwriting"|This “state” can be multiplexed. When the multiplexing is applied, the ongoing release condition will be overwritten (reset).&br;Example: If the condition for removal turn is 3, when a multiplexing is performed while the number of turns remaining to removal is 1, it will be counted from turn 0 again.|
|Removal Condition: Adding|This “state” can be multiplexed. When a multiplexing is performed, a new removal condition will be added to the ongoing removal condition.&br;Example: If the condition for removal turn is 3, and a multiplexing is performed while the number of remaining turns to removal is 1, the original condition for removal turn 3 is added to the number of remaining turns, and the number of remaining turns to removal becomes 4.|

--''時間(マップ秒数)''
キャストの移動歩数が設定された数値に達した時に効果が無くなります。

--''確率''
設定した確率で効果が無くなります。
--''Assign Terrain State Change''
Assign this "state" to which terrain state change.
For example, if "State A" is assigned to "sleep" and "sleep" is turned on in Resources > [[Terrains]] > State Change player will be in "Sleep" = "State A".

--''ターン数''
バトルのターン数が設定した数値に達した時に効果が無くなります。
--''Move to Back of the Party while Granted''
If turned on, a cast member who becomes in this state during a battle will automatically move to the end of the party member lineup.
This feature is enabled when Game Definition > [[Rules and Operations]]>"Rearrange by State During Battle" is on.

-''Removal Condition''
Specify the conditions under which this "state" is to be removed.

-''地形状態変化の割り当て''
このデータを、どの地形状態変化に割り当てるかを指定します。
--''When Battle Ends''
When turned on, the ability is lost at the end of the battle.

--''Number of Turns(In Battles)''
When turned on, the ability is removed at the end of the battle.

-''アイコン画像''
ゲーム内で表示する、この状態のアイコン画像を設定します。
--''Probability(%)(In Battles)''
A judgement is made on each turn during battle, and the ability is lost with a specified probability.

-''3Dモデル''
ゲーム内で表示する、この状態の3Dモデルを設定します。
--''Cumulative Damage(In Battles)''
If the HP takes more than the specified amount of cumulative damage from the time it enters this "state," it loses its ability.
Only damage received during battles is affected; damage received on maps does not affect the judgement.
Damage values are added across battles.

--''Time (Sec)(On Map)''
The ability disappears after a specified number of seconds on the map.

**状態のプロパティ・状態変化の影響[#pfac834d]
-''Change in Appearance When Applied''
Specify the appearance to be taken when the target enters this “state”.
If multiple “states” are assigned, the most recently assigned “state” will be applied.

//COLOR(#FF0000):画像入る
--''Display in Translucent (In Battles)''
The target with this “status” will appear translucent during battles.

#ref(状態変化の影響.png)
#br
--''Display Color (In Battles)''
The color of the target graphic with this “state” will be multiplied by the color assigned in this section during battles.

-''異常な行動''
この状態になった場合の行動について設定します。
--''Display in Translucent (On Maps)''
The target with this “state” will appear translucent when it is on maps.

--''行動不能''
YESにすると、この状態の時は行動不能になります。
--''Display Color (On Maps)''
When a target with this “state” is on maps, its graphic color will be multiplied by the color assigned in this section.

--''攻撃''
YESにすると、バトル時に入力コマンドを無視して他キャストに攻撃をします。
-''Message''
Specify the message text to be displayed when the cast changes to this "state" during battle.
The text specified here will be displayed in Layout Tool > [[Battle Messages:https://rpgbakin.com/pukiwiki_en/?Screen+List#b16fe321]].

---''対象''
攻撃する対象を「味方全員」「敵全員」「自分」「自分以外」「敵味方全員」「自分以外の敵味方全員」から選択します。
---''When Activated on Ally''
Enter a message when an ally becomes in this state.

--''自動ダメージ''
YESにすると、一定の間、自動でダメージが発生します。
---''When Activated on Opponent''
Enter a message when the opponent becomes in this state.

---''発生周期(バトルターン)''
バトル時にダメージが発生する周期を、バトルターン数で設定します。
---''When State Continues''
Enter a message when this state continues.

---''ダメージタイプ(バトル)''
バトル時に発生するダメージのタイプを指定します。「直値)」「HP割合」「最大HP割合」から選択します。
---''When State Ends''
Enter a message when this state ends.

---''ダメージパラメータ(バトル)''
どのくらいのダメージが発生するかを設定します。
ダメージタイプが「直値」のときは発生1回分のダメージ値を、「HP割合」のときは現在のHPに対するパーセンテージを、「最大HP割合」のときは最大HPに対するパーセンテージをそれそれ入力します。
***State Abilities [#u3468c2a]
Specify the ability when the cast enters this "state".
The Add button opens the "Ability Selector Dialog".
Selecting an ability closes a dialog that allows you to specify the parameters of the ability (e.g., the amount of damage for automatic damage).

---''発生周期(マップ秒数)''
マップ上でダメージが発生する周期を、キャストの移動歩数で設定します。
-''Ability Selector''
Switch to "Category" and select the "Ability" that you wish to specify.
If you specify an "ability" that can only be set to one "state", it will not appear in this dialog.
#ref(./Database_StateDefinition_AbilitySelector.png,60%)
#br

---''ダメージタイプ(マップ)''
マップ上で発生するダメージのタイプを指定します。「直値)」「HP割合」「最大HP割合」から選択します。
-''Abnormal Action''
//Specify what to do in the event of this state.

---''ダメージパラメータ(マップ)''
どのくらいのダメージが発生するかを設定します。
ダメージタイプが「直値」のときは発生1回分のダメージ値を、「HP割合」のときは現在のHPに対するパーセンテージを、「最大HP割合」のときは最大HPに対するパーセンテージをそれそれ入力します。
--''Unable to Act (In Battles)''
It is the ability to become incapable of action during battle.

--''HP一定以下で強制付与''
「YES」にすると、キャストのHPが一定以下になると強制的にこの状態になります。
--''Auto Attack (In Battles)''
The ability to ignore input commands during battle and attack the assigned cast.
If selected YES, it will ignore input commands and attack other cast members during battle.

--''強制付与するHPの割合(%)''
上記項目で「YES」にした場合、強制付与されるHPの割合を設定します。
--''Auto Damage (In Battles:(HP))''
It is an ability that automatically causes damage to be incurred for each Consumption Status consumed in each assigned turn during battle.
The status name in parentheses () indicates the consumption value for which the ability is targeted.
//The damage value can be set as "direct value", "rate of consumption value to the current value" or "rate of consumption value to the maximum value".
//A negative value in the damage value will result in the ability to automatically recover the consumption value.
The Edit button opens a dialog where you can enter the following parameters.
|Target|You can select the consumption value for which damage is to be inflicted.|
|Damage Parameter (Battle)|Assigns a damage value. Depending on the Damage Type setting, the value specified will either be treated as a “direct value” or as a “rate (%)”.&br;Specifying a negative value will result in the ability to automatically recover the consumption value.|
|Damage Type (Battle)|Specifies how the values set in the damage parameter are treated when affecting the target consumption value.&br;"Direct Value": The specified value is treated as an as-is value.&br;"Rate (Current Value)": The specified value is treated as a rate (%) of the current consumption value.&br;"Rate (Max Value)": The specified number is treated as a rate (%) of the maximum consumption value.&br;|
|Frequency (Battle Turns)|Specify how many turns of damage will occur each turn.|
|Minimum Value|Specifies the lower limit of the consumption value when this ability reduces the consumption value of the target.&br;For example, if “1” is set in the “Lower Limit”, the status will never fall below “1” even if it continues to be affected by effects such as “Poison”. |

-''付与時に解除される状態''
--''解除''
解除される状態をオンに設定します。
--''状態''
一覧には、現在登録されている「状態」が表示されます。

--''Auto Damage (On Maps:(HP))''
It is the ability to automatically cause damage to the Consumption Status consumption value every assigned number of seconds on the map.
The status name in parentheses () indicates the consumption value for which the ability is targeted.
//The damage value can be set as "direct value", "rate of consumption value to the current value" or "rate of consumption value to the maximum value".
//A negative value in the damage value will result in the ability to automatically recover the consumption value.
The Edit button opens a dialog where you can enter the following parameters.
|Target|You can select the consumption value for which damage is to be inflicted.|
|Damage Parameter (Maps)|Assigns a damage value. Depending on the Damage Type setting, the value specified will either be treated as a “direct value” or as a “rate (%)”.&br;Specifying a negative value will result in the ability to automatically recover the consumption value.|
|Damage Type (Map)|When affecting the target consumption values, specify how the values set in the damage parameter are to be treated.&br;"Direct Value": The specified value is treated as an as-is value.&br;"Rate (Current Value)": The specified value is treated as a rate (%) of the current consumption value.&br;"Rate (Max Value)": The specified number is treated as a rate (%) of the maximum consumption value.&br;|
|Occurrence Period (Seconds on Map)|Specify how many seconds the damage will occur.|
|Minimum Value|Specifies the lower limit of the consumption value when this ability reduces the consumption value of the target.&br;For example, if “1” is set in the “Lower Limit”, the status will never fall below “1” even if it continues to be affected by effects such as “Poison”. |

-''能力への影響''
付与時に各能力へ与える影響値を設定します。
各能力ごとに、-9999から9999の間で指定できます。
--''Force Granting Below a Certain Value''
The ability to force a cast to enter this "state" when the consumption value of an assigned consumption status is less than a specified rate of its maximum value.
For an ability, you can specify the consumption value at which the ability is judged to be triggered and the threshold at which it is triggered when the consumption value falls below a certain rate.

--''最大HP''
入力した数値分、最大HPが変化します。
--''Disable Command ''
Assigning a “tag” to a battle command disables the ability to select that command from the battle command menu. 
Assign the default tags such as “Attack” and “Skill” or the tags specified in the “Battle Command Menu” under Database > Casts > [[Battles:https://rpgbakin.com/pukiwiki_en/?Casts#k1ba20ce]]. 
''&color(red){(!)};''This ability is to “disable command selection”. Therefore, it cannot disable a monster's “action by battle action AI”. Note that it is currently not possible to block a monster's skills during battles, for example.

--''最大MP''
入力した数値分、最大MPが変化します。

--''攻撃力''
入力した数値分、攻撃力が変化します。
-''State Disabling''
The cast member receiving this ability will not change to the assigned "state".
For example, if the "State Disabling (Poison)" ability is enabled, the cast will not be "poisoned".

--''魔力''
入力した数値分、魔力が変化します。
-''State Granting''
Assigns an additional “state” to the target. 

--''防御力''
入力した数値分、防御力が変化します。
---If “Not Granted” is assigned, the specified “state” is granted to the target cast when it is not in that state. 
For example, if you assign [State Granting - Not Granted - “Sleep”] as the “poison” ability, then when a cast member who is not poisoned is put into the “poison” state by an event, “Sleep” will also be given to the cast member. 

--''素早さ''
入力した数値分、素早さが変化します。
---If “Granted” is assigned, then the specified “state” will be granted when the target cast member is in the “state”. 
For example, if you assign “State Granting - Granted - ‘Deadly Poison’” as the “Poison” ability, then when the “poisoned” cast is “poisoned” by an event, “Deadly Poison” will also be granted to them. 
''&color(red){(!)};''If the cast is not “poisoned” in the above example, this ability is disabled. 
''&color(red){(!)};''This ability will not work unless the “State” Multiplexing setting is specified as ''other than "Disable"''.        
''&color(red){(!)};''It is recommended to specify the ability to remove the ''poison'' condition together with this ability. 

--''回避率''
入力した数値分、回避率が変化します。
-''State Recovery''
Recover an assigned “state”.
''&color(red){(!)};''Unlike the “state disabling” ability, this ability only removes the “state” once.

--''命中率''
入力した数値分、命中率が変化します。
- ''State Change (When Removed) ''
When this “state” is removed, the assigned “state” is granted to the target. 
However, if the “state” is disabled by a “State Disabling” ability, this ability will not work.
|Always|When this “state” is removed except by “State Disabling”, the assigned “state” is given.|
|At Removal Condition|When this “state” is removed by the “Removal Condition”, the assigned “state” is given.|
|At State Recovery|When this “state” is recovered by a skill, state, etc., or in other words, when this “state” is removed except by a “Removal Condition,” the assigned “state” is given. |


-''装備への影響''
付与時に装備に与える影響を設定します。
-''Change in Status''	
It is the ability to change the value of each status.
The range of change can be specified as a direct value or as a rate.
Values can be specified between -999999 and 999999.
If assigned as a rate, the current ability value will be changed by multiplying the current ability value by the rate (%).
Ex. If the rate is 50, the current ability value will be increased by 50% multiplied by the current ability value.
This ability, like the item, is valid not only in battle, but also on maps.
#br
There is a limit to the final status value that considers the increase or decrease value due to abilities.
Please check the [[Growth Factors:https://rpgbakin.com/pukiwiki_en/?Casts#Database_Cast_GrowthFactors]] section.
Ex. The status of the keyword "mhp" (default name is "Max HP") cannot be less than 1.

--''武器''
「固定化」にすると、現在装備している武器が外せなくなります。
「無効化」にすると、武器を装備することができなくなります。
-''Raise in Resistance:Attributes''
This ability increases the resistance to the “attribute” of the target cast by a value. (Specifying a negative value will decrease the resistance.)

--''腕防具''
「固定化」にすると、現在装備している腕防具が外せなくなります。
「無効化」にすると、腕防具を装備することができなくなります。
-''Raise in Resistance:States''
This ability increases the resistance to the “state” of the target cast by a value. (Specifying a negative value will decrease the resistance.)

--''頭防具''
「固定化」にすると、現在装備している頭防具が外せなくなります。
「無効化」にすると、頭防具を装備することができなくなります。

--''体防具''
「固定化」にすると、現在装備している体防具が外せなくなります。
「無効化」にすると、体防具を装備することができなくなります。
-''Equipment''
It is the ability to influence the removal and attachment of equipment.
You can choose the following abilities for each designated equipment body part.
|No Change|It does not affect anything about the current equipment ability. In other words, if they already have the "Equipment Fixed/Disabled" ability, the "Equipment Fixed/Disabled" will not be removed even if they enter a "state" in which they have this ability.|
|Fixed|Currently equipped equipment cannot be removed.|
|Disabled|They will no longer be able to equip items at the assigned equipment body parts.|

--''装備品1''
「固定化」にすると、現在装備している装備品1が外せなくなります。
「無効化」にすると、装備品1を装備することができなくなります。

--''装備品2''
「固定化」にすると、現在装備している装備品2が外せなくなります。
「無効化」にすると、装備品2を装備することができなくなります。
-''Battle''
It is the ability to influence during battle.
For each parameter, you can specify a value between -9999 and 9999.
''&color(red){(!)};''The values applied to each party member are combined and have the ability to affect the outcome.
However, please keep in mind the following:
---It does not include the ability of reserve members.
---The ability to receive from the same "state" is not duplicated.
For example, the abilities of member 1 and member 2 from the same "state A" are not combined.
On the other hand, the abilities of member 1 and member 2 from "state A" and "state B", respectively, are combined.

-''バトルへの影響''
付与時のバトルでの影響を設定します。
各項目ごとに、-9999から9999の間で指定できます。
--''Add Attack Count''
It is the ability to change the number of attacks by the number entered.

--''攻撃回数追加''
入力した数値分だけ攻撃回数が変化します。
--''Preemptive Attack Rate (%)''
The ability to add or subtract the entered value (%) to or from the Preemptive Attack Rate (%).
For example, "25" would increase the Preemptive Attack Rate by 25%.
The values applied to each party member for this ability are added together to affect the result.

--''先制攻撃率(%)''
入力した数値分だけ先制攻撃率(%)が変化します。
--''Critical Hit Rate (%)''
The ability to add or subtract the entered number (%) to or from the Critical Hit Rate (%).
For example, "25" will increase the Critical Hit Rate by 25%.

--''会心発生率(%)''
入力した数値分だけ会心発生率(%)が変化します。
--''Max Damage/Recovery Amount''
This is the ability to add the specified value to the "Basic Max Damage/Recovery Amount" for this game set in [[Game Definition>[[Rules and Operations]]].

--''報酬率(%)''
入力した数値分だけ報酬率(%)が変化します。
--''Reward Price (%)''
The ability to add or subtract the entered value (%) to or from the rate of Reward Price (%) that can be obtained from defeated enemies after the battle.
For example, "25" would increase the Reward Price by 25%.
The values applied to each party member for this ability are added together to affect the result.

--''経験値率(%)''
入力した数値分だけ経験値率(%)が変化します。
--''EXP Growth Rate(%)''
The ability to add or subtract the entered number (%) to or from the rate (%) of the amount of EXP gained from the defeated enemy after the battle. For example, "25" will increase the EXP gained by 25%.

--''アイテム入手率(%)''
入力した数値分だけアイテム入手率(%)が変化します。
--''Item Drop Rate (%)''
The ability to add or subtract the entered value (%) to the Item Drop Rate (%) that can be obtained from defeated enemies after the battle.
For example, "25" would increase the drop rate by 25%.
The values applied to each party member for this ability are added together to affect the result.


--''Change in Targetability (%)''
//マイナス値にはならない
The ability to add or subtract the entered number (%) to or from the targetability (%).
The higher the value, the more likely it is to be targeted as an attack target.
The actual target of the attack depends on the relative targetability values of each party member and the "Personality" of the enemy, which is specified in Database > Casts > [[Battles:https://rpgbakin.com/pukiwiki_en/?Casts#k1ba20ce]].

-''マップ移動への影響''
付与時の、マップ移動時での影響を設定します。
-''Map Movement''
It is the ability to influence when moving around maps.
''&color(red){(!)};''The values applied to each party member are combined and have the ability to affect the outcome.
However, please keep in mind the following:
---It does not include the ability of reserve members.
---The ability to receive from the same "state" is not duplicated.
For example, the abilities of member 1 and member 2 from the same "state A" are not combined.
On the other hand, the abilities of member 1 and member 2 from "state A" and "state B", respectively, are combined.

--''エンカウント数変化''
敵とのエンカウント数が、入力した数値分変化します。
--''Change in Number of Encounters (%)''
The ability to add or subtract the entered number (%) to or from the rate (%) of encounters with enemies.
The position on the map where the player is affects the number of enemies specified in the Map Editor > Map Settings palette > [[Enemy Distribution:https://rpgbakin.com/pukiwiki_en/?Map+Settings+Palette#ye15ba1e]].

--''エンカウント無効''
「YES」にすると敵がエンカウントしなくなります。
--''Change in Encounter Rate (%)''
The ability to add or subtract the entered number (%) to or from the encounter probability (%) with enemies.
The position on the map where the player is affects the number of enemies specified in the Map Editor > Map Settings palette > [[Enemy Distribution:https://rpgbakin.com/pukiwiki_en/?Map+Settings+Palette#ye15ba1e]].
The values applied to each party member for this ability are added together to affect the result.
As a result of this ability, if the encounter probability is 0%, the enemy will not be encountered.

--''加算する移動速度(%)''
入力した数値%だけ、移動速度が変化します。
--''Increase Movement Speed (%)''
The ability to add or subtract the entered number (%) to or from the rate (%) of the player's movement speed.
For example, "25" will increase the movement speed of by 25%.
The values applied to each party member for this ability are added together to affect the result.
As a result of this ability, if the movement speed (%) is reduced to 0%, it will not be able to move.

--''隊列の後ろへ移動する''
「YES」にすると、この状態のキャストがパーティ隊列の最後尾に移動します。
--''Move to Back of Party Train''
The ability allows the cast member in this "state" to move to the tail end of the Party Train.

--''半透明で表示する''
「YES」にすると、この状態のキャストが半透明で表示されます。
***Effect When Applied [#v8332f0b]
Specify the effect to be displayed on the cast in this state.



**状態のプロパティ・表示演出[#pfac834d]

//COLOR(#FF0000):画像入る

#ref(表示演出.png)
#br

-''状態が変化したときのメッセージ''
--''メッセージ設定''
バトル中にこの状態が付与された時のメッセージを設定します。

---''味方に発動時''
味方がこの状態になった時のメッセージを入力します。

---''相手に発動時''
相手がこの状態になった時のメッセージを入力します。

---''状態継続時''
この状態が継続している時のメッセージを入力します。

---''状態終了時''
この状態が終了した時のメッセージを入力します。



-''利用時のモーション''
この状態の時のモーションを設定します。

-''利用時のエフェクト''
この状態のキャストに表示するエフェクトを設定します。


Front page   New Page list Search Recent changes   Help   RSS of recent changes