5e-bits / 5e-bits/5e-database

Issues with "range" on melee weapons

Aberta
#508 20 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
TypeScript
Estrelas
934
Forks
427
Merge médio
17h 25min
PRs com merge (30d)
22

Descrição

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).

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
json, typescript
Domínio
data, game-dev
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Claramente especificada
Facilidade para iniciantes
55/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.