There are some checks that are missing in the map editor related to the Weapon and Stamina gain and amount.
When an invalid text is provided, the returned value is -1, which makes no sense.

There should be a check to put the old value if the parsing returned -1, and avoid negative numbers.