#author("2022-09-27T03:34:27+00:00","default:admin","admin")
[[RPG Developer Bakin Wiki]]
#author("2024-04-24T15:50:07+09:00","default:admin","admin")
*What are Attributes [#o3ec9dd2]

test
Attributes determine the degree of effect or influence when using skills or attacking. Here, you can give casts and skills individuality by specifying affinities between attributes, such as the "fire" attribute being weak against the "ice" attribute but strong against the "wind" attribute.

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

#ref(./Database_AttributeDefinition.png,50%)
#br
#contents
**Function Description [#pfac834d]

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

#ref(./Attribute Add.png,80%)
#br

- ''Add''
Add an attribute.

- ''Add Folder''
Create a folder.

- ''Copy''
Copy the data of the selected attribute.

- ''Paste''
Paste the copied attribute data into the last column.

- ''Delete''
Delete attribute 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.


**Attribute Definition Properties [#pfac834d]

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

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

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

-''Icon Image''
Specify an icon image for this attribute.

//-''3D Model''
//この属性の3Dモデルを設定します。


**Attribute Definition Properties: Basic [#pfac834d]

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

#ref(./Attribute Basic.png,80%)
#br

-''Compatibility Between Attributes''
You can set the compatibility of this attribute with other attributes between -9999% and 9999%.
The amount of damage received from "attacks with the specified compatibility attribute" is changed by the specified rate.
If 50%, the damage is halved; if 150%, it heals for 50% of the damage.
If -50% is specified, the damage is increased by 1.5 times.
#br
The list displays the attributes registered in "Attribute Definition".  "None" indicates no attribute.

**How to Set Attributes [#ned9ef8f]
Attribute compatibility can be set in the "Attribute Definition" section of the Database.
It is the resistance of the attribute being selected that is specified.
#ref(./Attribute Definition001.png,80%)

Enter a numerical value for the multiplier for the currently selected attribute for "when receiving attacks."
At "0", it takes an equal amount of damage.
At "-100", the damage is doubled.
At "50," the damage is reduced by half.
''When attacking with bare hands, the "cast" attribute has no effect on damage. If you want to use the attributes of the "cast" when "attacking", please use an item or skill.''


***Specify Compatibility of Attributes in Attribute Definition [#kf73c167]
In this case, we will specify that fire, ice, and wind will do double the damage, and half the damage in the opposite case.
"None" indicates no attribute.
--First, open the Database > Attribute Definition.
--Specify an attribute to be set from the list.
--Enter a value in the "Compatibility Between Attributes (%)" field.
--Enter "50" to halve the damage from ice.
--Enter "-100" to double the damage from wind.

- Example 1: Set the attribute to be attacked
2x damage from fire and wind, equal from fire, 0.5x from ice
|None|0|
|Fire (Same Attribute)|0|
|Ice|50|
|Wind|-100|
#ref(Attribute Definition002.png)

We will specify two more in the same way.
2x damage from ice and fire, equal from ice, 0.5x from wind
|None|0|
|Fire|-100|
|Ice (Same Attribute)|0|
|Wind|50|

2x damage from wind and ice, equal from wind, 0.5x from fire
|None|0|
|Fire|50|
|Ice|-100|
|Wind (Same Attribute)|0|

***Specify Attributes for a Cast [#d922fe09]
-Specify the attributes specified in [[Specify Compatibility of Attributes in Attribute Definition:https://rpgbakin.com/pukiwiki_en/?Attribute+Definition#ned9ef8f]] for a cast.
--Open the Database > Casts.
--Select a cast from the list for which you want to specify attributes.
--Click on Attributes at the bottom center.
--From the Simple Asset Picker, select the attribute you specified earlier.
#ref(Attribute Definition003.png)


**Specify Attributes for Items and Skills [#d1cbbddd]
The above settings alone have no effect on the damage, since the attributes of the attacker are not specified.
The attacker's attributes are reflected by specifying the item's "Attribute Attack Power" or the skill's "Attack Attribute".
For this reason, we specify attributes for equipped weapon items or skills.

***Items [#n43e19ff]
--First, turn on "Weapon" in "Basic Settings".
#ref(Attribute Definition004.png)
#br
--Then "Attack Attribute" and "Damage Formula (HP)" are automatically added to "Item Abilities".
#br

--Click on the "None" field to the right of "Attack Attribute" and select the attribute specified in [[Specify Compatibility of Attributes in Attribute Definition:https://rpgbakin.com/pukiwiki_en/?Attribute+Definition#ned9ef8f]] from the Simple Asset Picker.
#ref(Attribute Definition005.png)
#ref(Attribute Definition006.png)
#br

--Enter the "Attribute Attack Power" further to the right. In this case, enter "100".
#ref(Attribute Definition007.png)
#br
--Then edit the "Damage formula (HP)". Click on the "Edit" field.
#ref(Attribute Definition008.png)
#br
--You can enter the damage formula in the formula setting. This time, enter '' ((a.atk - b.def ) + a.eatk * b.edef) '' in the field.
#ref(Attribute Definition009.png)

#br
Example 2: Specify Attack Attribute: Item

|Basic Settings||h
|Weapon|ON|

|Item Abilities|||h
|Attack Attribute|Fire|100|
|Damage Formula|((a.atk - b.def ) + a.eatk * b.edef)||
''We use a formula that excludes random elements from the default formula.''
#ref(Attribute Definition010.png)
#br

-Equip the weapon specified in Example 2 and attack
Attacks the cast of attributes specified in [[Specify Compatibility of Attributes in Attribute Definition:https://rpgbakin.com/pukiwiki_en/?Attribute+Definition#ned9ef8f]] above.
From left to right: Damage from attacks on fire, ice, and wind casts.
(Damage depends on status and damage formula.)
#ref(属性画像_アイテム_JP.png)
#br

***Damage formula: Additions [#v356cbad]
Here is the damage formula used for this project.
''((a.atk - b.def ) + a.eatk * b.edef)''

The equation can be reworded as follows.
''( (User Status: Attack Power - Target Status: Defense) + User Status: Attribute Attack Power Fire * (Target Status: Attribute Resistance: Fire))''

For clarity, let's look at the actual parameter values. ''This is the value when attacking an enemy cast with the ice attribute.''
|User (Attacker) Status||h
|Attack Power|40|
|Attribute Attack Power: Fire|100|

|Target (Defender) Status||h
|Defense Power|10|
|Defender Cast Attribute|Ice|
|Attribute Resistance: Fire|-100|

The "Attribute Resistance: Fire" of the target (defender) status is -100, indicating that the Attribute Attack Power has been increased or decreased.
''&color(red){((Attack Power ''40'' - Defense Power ''10'') + Attribute Attack Power: Fire ''100'' * (Defender Cast Attribute: Ice=2x Fire Damage) = 30 + 100 * 2 = 230};''

#br
Equipping armor items can increase the resistance of an ally's attributes, reducing the damage they receive, or reduce the resistance of an enemy's attributes with a skill's resistance reduction, inflicting heavy damage.
#br


***Specify Attributes for Skills [#mdc71fa4]
--First, turn on "Available in Battles" in "Basic Settings".
#ref(Attribute Definition011.png)
#br

--Next, under "Skill Abilities", switch to the "Effect on Enemies" tab.
#ref(Attribute Definition012.png)
#br

--Select "Single Enemy" from the pull-down menu.
#ref(Attribute Definition013.png)
#br

--Then add "Attribute" and "Damage to HP" from "Add".
#ref(Attribute Definition014.png)
#ref(Attribute Definition015.png)
#br

--Click on the "None" field to the right of "Attribute" and select the attribute specified in [[Specify Compatibility of Attributes in Attribute Definition:https://rpgbakin.com/pukiwiki_en/?Attribute+Definition#ned9ef8f]] from the Simple Asset Picker.
#ref(Attribute Definition016.png)
#ref(Attribute Definition017.png)
#br

-- Enter "30" for "Damage to HP" this time.
#ref(Attribute Definition018.png)
#br

Example 3: Specify Attack Attribute: Skill
|Basic Settings||h
|Available in Battles|ON|

|Skill Abilities||h
|Attack Attribute|Fire|
|Damage to HP|30|
#ref(./Attribute Definition019.png,70%)
#br

- Attack with the Skill specified in Example 3
Attacking the cast of the attributes specified in [[Specify Compatibility of Attributes in Attribute Definition:https://rpgbakin.com/pukiwiki_en/?Attribute+Definition#ned9ef8f]] above.
From left to right: Damage from attacks on fire, ice, and wind casts.
#ref(属性画像_スキル_JP.png)
#br


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