Template:Falloff damage/doc

{	"params": { "target": { "label": "Target distance", "description": "The distance to calculate damage done" },		"end": { "label": "Falloff Damage End", "description": "The distance where falloff damage stops", "type": "number", "required": true },		"falloff": { "label": "Maximum falloff ratio", "description": "The percentage of base damage done at maximum range", "type": "number", "default": "0.5", "suggested": true },		"base damage": { "label": "Maximum damage", "description": "The damage done at a distance of 0", "example": "85", "type": "number", "required": true },		"start": { "label": "Falloff Start Distance", "description": "The distance where falloff damage starts", "type": "number", "required": true }	},	"description": "Returns damage done by an attack at a specified distance", "paramOrder": [ "base damage", "start", "end", "target", "falloff" ] }