lynnfaraday / MUSH

MUSH Softcode and Utilities
8 stars 1 forks source link

Hyphenated Skill Names Are Not Handled Properly #41

Closed lynnfaraday closed 10 years ago

lynnfaraday commented 11 years ago

The +roll syntax chokes if you have a hyphenated skill name, because it thinks the part after the hyphen is a negative skill modifier. For instance:

+roll My-Skill

is interpreted as:

+roll My - (Skill) (resulting in a warning because "Skill" can't be parsed into a number)

Possible solutions: