phrack / ShootOFF-legacy

An open source framework to enhance laser dry fire training.
BSD 4-Clause "Original" or "Old" License
30 stars 17 forks source link

Add random malfunctions. #76

Closed phrack closed 10 years ago

phrack commented 10 years ago

This should be configurable via the preferences window:

-Checked is on, unchecked is off -When off, spinner to the right of the checkbox is disabled -When on, spinbox value ranges from .1 to 99.9. This value is set to specify the probablity of a malfunction (the higher the more common malfunctions are). Step is 0.1. See: http://stackoverflow.com/questions/19078656/python-tkinter-spinbox-with-float -When on, every time a shot is detected ShootOFF will decide if a malfunction occured. Malfunctions are as likely as what the user sets in the previous bullet. If a malfunction occurs the shot that was detected is ignored and the user is used the command "Malfunction!".

This needs to be documented on the Wiki and removed from the FAQ.