set default success rate of 20%

This commit is contained in:
Gordon Shumway 2019-02-24 21:59:16 -05:00 committed by GitHub
parent 2128f837cc
commit 63eaa55e2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ conf.registerChannelValue(HuntNFish, 'WeightType',
conf.registerChannelValue(HuntNFish, 'enable',
registry.Boolean(True, _("""Turns on and off the hunt and fish commands.""")))
conf.registerChannelValue(HuntNFish, 'successRate',
registry.NonNegativeInteger(0, _("""Percent of chance of success""")))
registry.NonNegativeInteger(20, _("""Percent of chance of success""")))
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: