diff --git a/_en/map/objects.md b/_en/map/objects.md index d02cd9c..4bf737d 100644 --- a/_en/map/objects.md +++ b/_en/map/objects.md @@ -268,14 +268,15 @@ these groups can take any name and do not need to be registered. However, it's common to use the same group names as with node digging. How vulnerable an object is to particular types of damage depends on its -`armor_groups` [object property](#object-properties). Despite its misleading -name, `armor_groups` specify the percentage damage taken from particular damage -groups, not the resistance. If a damage group is not listed in an object's armor -groups, that object is completely invulnerable to it. +`armor_groups`. Despite its misleading name, `armor_groups` specify the +percentage damage taken from particular damage groups, not the resistance. If a +damage group is not listed in an object's armor groups, that object is +completely invulnerable to it. ```lua -target:set_properties({ - armor_groups = { fleshy = 90, crumbly = 50 }, +target:set_armor_groups({ + fleshy = 90, + crumbly = 50, }) ``` diff --git a/_it/map/objects.md b/_it/map/objects.md index 3f6f5c0..51e94f7 100644 --- a/_it/map/objects.md +++ b/_it/map/objects.md @@ -238,8 +238,9 @@ Al contrario di quello che potrebbe far intendere il nome, `armor_groups` specif Se un Gruppo Danno non è elencato nei Gruppi Armatura di un oggetto, quest'ultimo ne sarà completamente immune. ```lua -obiettivo:set_properties({ - armor_groups = { fleshy = 90, crumbly = 50 }, +obiettivo:set_armor_groups({ + fleshy = 90, + crumbly = 50, }) ```