woops, not 50%, need 2% XD

This commit is contained in:
Master Kwoth 2016-07-10 01:05:38 +02:00
parent 7bd8163fea
commit ac26502d57

View File

@ -44,7 +44,7 @@ namespace NadekoBot.Modules.Games.Commands
if (!plantpickCooldowns.TryGetValue(e.Channel.Id, out lastSpawned) || (lastSpawned + new TimeSpan(0, cd, 0)) < now)
{
var rnd = Math.Abs(GetRandomNumber());
if ((rnd % 2) == 0)
if ((rnd % 50) == 0)
{
var msg = await e.Channel.SendFile(GetRandomCurrencyImagePath());
var msg2 = await e.Channel.SendMessage($"❗ A random {NadekoBot.Config.CurrencyName} appeared! Pick it up by typing `>pick`");