HM-CODE / Haunted-Memories

A repository for Haunted Memories code.
http://www.haunted-memories.net/
BSD 3-Clause "New" or "Revised" License
4 stars 5 forks source link

Modifiers to opponent's roll sometimes cause dice to subtract Birthdate #18

Open Bradamante opened 13 years ago

Bradamante commented 13 years ago

Modifier's to an opponent's roll sometimes cause +dice to attempt to subtract the opponent's Birthdate rather than the modifier. This can be avoided by not placing spaces between the opponent's roll and the modifier, but should eventually be fixed.

Example:

+dice strength + brawl.Stand Up Fighting vs Jaeyden:defense - 1

<+dice> Phelan rolled Strength + Brawl(Stand Up Fighting) vs Jaeyden's Defense - Birthdate for 2 successes.

The command currently works correctly with +dice strength + brawl.Stand Up Fighting vs Jaeyden:defense-1

nivthefox commented 13 years ago

This is really a problem with findstat(), I think.