diff --git a/src/lang/de.json b/src/lang/de.json index c90f833..e19dbad 100644 --- a/src/lang/de.json +++ b/src/lang/de.json @@ -66,8 +66,8 @@ "DS4.ItemTypeAlphabetPlural": "Schriftzeichen", "DS4.ItemTypeSpecialCreatureAbility": "Besondere Kreaturenfähigkeit", "DS4.ItemTypeSpecialCreatureAbilityPlural": "Besondere Kreaturenfähigkeiten", - "DS4.ItemWeaponCheckFlavor": "{actor} greift mit {item} an.", - "DS4.ItemSpellCheckFlavor": "{actor} wirkt {item}.", + "DS4.ItemWeaponCheckFlavor": "{actor} greift mit {weapon} an.", + "DS4.ItemSpellCheckFlavor": "{actor} wirkt {spell}.", "DS4.ArmorType": "Panzerungstyp", "DS4.ArmorTypeAbbr": "PAT", "DS4.ArmorMaterialType": "Materialtyp", diff --git a/src/lang/en.json b/src/lang/en.json index 5e4922a..a3ae4f7 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -66,8 +66,8 @@ "DS4.ItemTypeAlphabetPlural": "Alphabets", "DS4.ItemTypeSpecialCreatureAbility": "Special Creature Ability", "DS4.ItemTypeSpecialCreatureAbilityPlural": "Special Creature Abilities", - "DS4.ItemWeaponCheckFlavor": "{actor} attacks with {item}.", - "DS4.ItemSpellCheckFlavor": "{actor} casts {item}.", + "DS4.ItemWeaponCheckFlavor": "{actor} attacks with {weapon}.", + "DS4.ItemSpellCheckFlavor": "{actor} casts {spell}.", "DS4.ArmorType": "Armor Type", "DS4.ArmorTypeAbbr": "AT", "DS4.ArmorMaterialType": "Material Type", diff --git a/src/module/item/item.ts b/src/module/item/item.ts index 68f468c..07b5dc4 100644 --- a/src/module/item/item.ts +++ b/src/module/item/item.ts @@ -97,7 +97,7 @@ export class DS4Item extends Item { rollMode: game.settings.get("core", "rollMode"), maximumCoupResult: ownerDataData.rolling.maximumCoupResult, minimumFumbleResult: ownerDataData.rolling.minimumFumbleResult, - flavor: game.i18n.format("DS4.ItemWeaponCheckFlavor", { actor: actor.name, item: this.name }), + flavor: game.i18n.format("DS4.ItemWeaponCheckFlavor", { actor: actor.name, weapon: this.name }), }); } @@ -141,7 +141,7 @@ export class DS4Item extends Item { rollMode: game.settings.get("core", "rollMode"), maximumCoupResult: ownerDataData.rolling.maximumCoupResult, minimumFumbleResult: ownerDataData.rolling.minimumFumbleResult, - flavor: game.i18n.format("DS4.ItemSpellCheckFlavor", { actor: actor.name, item: this.name }), + flavor: game.i18n.format("DS4.ItemSpellCheckFlavor", { actor: actor.name, spell: this.name }), }); }