initiative-sh / initiative.sh

A web-based command line for game masters
https://initiative.sh/
GNU General Public License v3.0
44 stars 4 forks source link

"Death Ward" conflict #219

Open MikkelPaulson opened 3 years ago

MikkelPaulson commented 3 years ago

Input: "Death Ward"

Expected: Spell description Actual: name conflict

MikkelPaulson commented 1 year ago

The root cause of this is that ward is taken as a synonym for district. The fuzzy matching for WorldCommand::Create will proceed if a minimum of 50% of the input words are recognized. It knows "ward" but not "death".

There are a few ways to "fix" the issue, but the various fixes involve different UX tradeoffs.