#author("2023-05-26T07:13:14+00:00","default:admin","admin")
#author("2023-07-09T10:15:35+00: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(./Database_StateDefinition.png,50%)
#br
#contents

**Function Description [#pfac834d]

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

#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.


**State Definition Properties[#pfac834d]

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

#ref(./Database_StateDefinition_Name.png,80%)
#br

-''Name''
Enter a name for the state.
You can also write a description of the state.

- ''Basic Settings''

--''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".

--''Multiplexing''
Specify the behavior when the same state is used repeatedly for the same cast.
Select from "Disable", "Removal Condition: Overwriting" and "Removal Condition: Adding".

--''Assign Terrain State Change''
Specify to which terrain state change this data should be assigned.

--''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 removal condition under which the state will be maintained.

--''When Battle Ends''
When turned on, the effect is removed at the end of the battle.

--''When Receiving Damage''
The effect is removed when the damage is received for the specified value.

--''Time (Seconds on Map)''
The effect disappears after a specified number of seconds on the map.

--''Probability''
The effect will be removed with the specified probability.

--''Number of Turns''
The effect is removed when the number of turns in the battle reaches the specified value.


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


**State Definition: Influence of State Change[#pfac834d]

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

#ref(./Database_StateDefinition_InfluenceofStateChange.png,80%)
#br

-''Abnormal Action''
Specify what to do in the event of this state.

--''Unable to Act''
If selected to YES, the action is disabled when in this state.

--''Attack''
If selected YES, it will ignore input commands and attack other cast members during battle.

---''Target''
Select the target to attack from "All Allies", "All Enemies", "Oneself", "Except Oneself", "All Enemies and Allies" and "All Except Oneself".

--''Auto Damage''
If selected to YES, damage will occur automatically for a certain period of time.

---''Frequency (Battle Turns)''
Specify the cycle in which damage occurs during battle, in terms of the number of battle turns.

---''Damage Type (Battles)''
Specify the type of damage that occurs during battle. Select from "Direct Value", "HP Rate", or "Maximum HP Rate".

---''Damage Parameter (Battles)''
Specify how much damage will occur.
If the damage type is "direct value," enter the damage value for one occurrence; if it is "HP rate," enter a percentage of the current HP; if it is "maximum HP rate," enter a percentage of the maximum HP.

---''Appearing Cycle (Map Steps)''
Specify the cycle in which damage occurs on the map in terms of the number of steps taken by the cast to move.

---''Damage Type (Map)''
Specify the type of damage that occurs on the map. Select from "Direct Value", "HP Rate", or "Maximum HP Rate".

---''Damage Parameter (Maps)''
Specify how much damage will occur.
If the damage type is "direct value," enter the damage value for one occurrence; if it is "HP rate," enter a percentage of the current HP; if it is "maximum HP rate," enter a percentage of the maximum HP.

--''Forced Grant at HP=0''
If selected to "YES", the cast is forced to enter this state if its HP falls below a certain value

--''Force Granting HP Rate (%)''
If "YES" is selected in the above section, specify the percentage of HP that will be forced to be granted.

-''States Removed Upon Granting''
--''Remove''
Specify the state to be removed on.

--''States''
The list displays the currently registered "status".


-''Influence on Abilities''
Specify the influence value to be given to each ability at the time of grant.
For each ability, you can specify between -9999 and 9999.
#br
The range of change can be specified as a direct value or as a rate.
If specified 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 increase by 50% multiplied by the current ability value.
Note that if you specify with "rate", the effect is limited to during battles at this time.

--''Max HP''
The maximum HP changes by the entered value.

--''Max MP''
The maximum MP changes by the entered value.。

--''Attack Power''
The attack power changes by the entered value.

--''Magical Power''
The magical power changes by the entered value.

--''Defense Power''
The defense power changes by the entered value.

--''Agility''
The agility changes by the entered value.

--''Evasion Rate''
The evasion rate changes by the entered value.
Values beyond the range of 0% to 100% are ignored when this value is taken into account.

--''Accuracy''
The accuracy rate changes by the entered value.
Values beyond the range of 0% to 100% are ignored when this value is taken into account.


-''Influence on Equipment''
Specify the influence on the equipment at the time of grant.

--''Weapon''
When selected as "Fixed", the currently equipped weapon cannot be removed.
When "Disabled" is selected, weapons cannot be equipped.

--''Arm Armor''
When selected as "Fixed," the currently equipped arm armor cannot be removed.
When "Disabled" is selected, arm armor can no longer be equipped.

--''Headgear''
When selected as "Fixed," the currently equipped headgear cannot be removed.
When "Disabled" is selected, the head armor cannot be equipped.

--''Body Armor''
When selected as "Fixed," the currently equipped body armor cannot be removed.
When "Disabled" is selected, body armor can no longer be equipped.

--''Accessory 1''
When selected as "Fixed", the currently equipped accessory1 cannot be removed.
When "Disabled" is selected, accessory1 can no longer be equipped.

--''Accessory 2''
When selected as "Fixed", the currently equipped accessory2 cannot be removed.
When "Disabled" is selected, accessory2 can no longer be equipped.

-''Influence on Battles''
Specify the influence in battle at the time of grant.
For each field, you can specify a value between -9999 and 9999.

--''Add Attack Count''
The number of attacks changes by the value entered.

--''Preemptive Attack Rate (%)''
The first strike rate (%) changes by the value entered.

--''Critical Hit Rate (%)''
The critical hit rate (%) changes by the value entered.

--''Max Damage/Recovery Amount''
This value is added to the "Basic Max Damage/Recovery Amount" for this game specified in the Game Definition.

--''Reward Rate (%)''
The reward rate (%) changes by the value entered.

--''EXP Growth Rate (%)''
The experience rate (%) changes by the value entered.

--''Item Obtaining Rate (%)''
The item availability rate (%) will change by the value entered.

--''Change in Targetability (%)''
The entered value will change the targetability (%). If a negative number is entered, the target will be less likely to be targeted.
At 100, the chance doubles, and at -100, it is not targeted at all.
If they are all not targeted at all, the lottery chances will be the same as usual.

-''Influence on Map Movement''
Specify the influence on the map when moving around the map.

--''Change in Number of Encounters''
The number of encounters with enemies changes by the value entered.

--''Disable Encounters''
If selected to "YES", enemies will no longer be encountered.

--''Increase Movement Speed (%)''
The movement speed changes by the entered value %.

--''Move to Back of Party Train''
If selected to "YES," the cast in this state moves to the tail of the party train.

--''Display in Translucent''
If selected to "YES", the cast in this state is displayed semi-transparently.



**State Definition Properties: Effects[#pfac834d]
//COLOR(#FF0000):画像入る
#ref(./Database_StateDefinition_Effects.png,80%)
#br

-''Message Upon Change of State''
--''Message Setting''
Specify a message when this state is granted during a battle.

---''When Activated on Ally''
Enter a message when an ally becomes in this state.

---''When Activated on Opponent''
Enter a message when the opponent becomes in this state.

---''When State Continues''
Enter a message when this state continues.

---''When State Ends''
Enter a message when this state ends.

-''Motion When Used''
Specify the motion for this state.

-''Effect When Used''
Specify the effect to be displayed on the cast in this state.

Front page   Edit Diff History Attach Copy Rename Reload   New Page list Search Recent changes   Help   RSS of recent changes