Skip to content

Commit f66c269

Browse files
committed
Clarify the weakness field of enemies TextAsset data
1 parent b6ade47 commit f66c269

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/TextAsset Data/Enemies data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The asset contains one line per [enemy](../Enums%20and%20IDs/Enemies.md) whose i
3737
|20|battleentity.height|float|The `height` of the entity, If the [position](../Battle%20system/Actors%20states/BattlePosition.md) is `Flying` and the value is below 2.0, it is overriden to 2.0|
3838
|21|battleentity.bobspeed|float|The `bobspeed` of the entity|
3939
|22|battleentity.bobrange|float|The `bobrange` of the entity|
40-
|23|[weakness](../Battle%20system/Actors%20states/Enemy%20features.md#weakness)|`{` separated list of AttackProperty (int or string)|The list of [AttackProperty](../Battle%20system/Damage%20pipeline/AttackProperty.md) that applies to this enemy|
40+
|23|[weakness](../Battle%20system/Actors%20states/Enemy%20features.md#weakness)|`{` separated list where the first element is the length (in int) and the rest represents a list of AttackProperty (int or string)|The list of [AttackProperty](../Battle%20system/Damage%20pipeline/AttackProperty.md) that applies to this enemy. NOTE: The length portion of the field is redundant, but its value is required and it needs to be above 0 if the list isn't empty as otherwise, the list will be ignored when reading. Additionally, every element whose value is an empty string are skipped.|
4141
|24|[weight](../Battle%20system/Actors%20states/Enemy%20features.md#weight)|float|A visual modifier that controls if and how much the enemy can get launched if attacked, should be between 0.0 (furthest launch) and 100.0 (no launch)|
4242
|25|Base [Enemy](../Enums%20and%20IDs/Enemies.md) id (loaded as animid)|int|The [Enemy](../Enums%20and%20IDs/Enemies.md) id that this is a variant of (see the section below about enemy variant for details), can be omitted if it's a negative number|
4343
|26|[eventondeath](../Battle%20system/Actors%20states/Enemy%20features.md#eventondeath)|int|The [EventDialogue](../Battle%20system/Battle%20flow/EventDialogue.md) to trigger when the enemy dies as detected by [CheckDead](../Battle%20system/Battle%20flow/Action%20coroutines/CheckDead.md), can be ommited if it's -1|

0 commit comments

Comments
 (0)