Issues with "range" on melee weapons
- 主要語言
- TypeScript
- 星號
- 934
- 分支
- 427
- 平均合併
- 17 小時 25 分鐘
- 30 天內合併 PR
- 22
描述
Melee weapons in equipment currently say `"range": { "normal": 5 }`, which is iffy in some regards:
1. Technically melee weapons don't _have_ range (unless they also have thrown), they are specifically _not ranged_.
2. The numerical data currently doesn't reflect Reach property.
My first thought was to bump this by 5ft on Reach weapons, but after a closer look _range_ isn't accurate at all. For the record there is also a _separate_ `throw_range` property for thrown.
As far as I can see, the default reach is a _rule_, not an aspect of any specific weapon:
> A melee weapon is used to attack a target within 5 feet of you
So rules-wise this is strictly binary (does weapon have Reach property), not numeric (weapon has X feet reach).
貢獻指南
研究方向
Examine the equipment JSON files to understand the current 'range' property structure for melee weapons. Look for the 'Reach' property in weapon definitions. The fix involves updating the data schema and possibly the validation logic to reflect that melee reach is a binary rule (5ft default, or Reach property) rather than a numeric range. Check for any TypeScript types or interfaces that define equipment to ensure consistency. Verify changes by reviewing related rules documentation.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- json, typescript
- 領域
- data, game-dev
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 55/100