diff --git a/lang/en.json b/lang/en.json index 7758606d40..74a6b7614b 100644 --- a/lang/en.json +++ b/lang/en.json @@ -4886,6 +4886,15 @@ "otherSized": "{number} {sizes} Radii" } }, + "Ring": { + "Label": "Ring", + "Counted": { + "one": "{number} ring", + "other": "{number} rings", + "oneSized": "{sizes} Ring", + "otherSized": "{number} {sizes} Rings" + } + }, "Self": { "Label": "Self" }, diff --git a/module/canvas/template-placement.mjs b/module/canvas/template-placement.mjs index c8f5ac39ed..5546e14744 100644 --- a/module/canvas/template-placement.mjs +++ b/module/canvas/template-placement.mjs @@ -62,7 +62,7 @@ export default class TemplatePlacement extends BasePlacement { case "line": return { ...data, length: size, width, type: "line" }; case "rect": case "rectangle": return { ...data, width: size, height: size, type: "rectangle" }; - case "ring": return { ...data, radius: size, outerWidth: width }; + case "ring": return { ...data, radius: size, outerWidth: width, innerWidth: 0 }; } } diff --git a/module/config.mjs b/module/config.mjs index 8d8cd80cff..f85ee124b5 100644 --- a/module/config.mjs +++ b/module/config.mjs @@ -2841,6 +2841,12 @@ DND5E.areaTargetTypes = { template: "circle", standard: true }, + ring: { + label: "DND5E.TARGET.Type.Ring.Label", + counted: "DND5E.TARGET.Type.Ring.Counted", + template: "ring", + sizes: ["radius", "thickness", "height"] + }, sphere: { label: "DND5E.TARGET.Type.Sphere.Label", counted: "DND5E.TARGET.Type.Sphere.Counted",