From 8dfd015505fb671e79fd7b7dff0a867e155cfcdb Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sun, 1 Apr 2018 14:25:13 -0700 Subject: [PATCH] Spinach: Remove limit for category reroll --- PBot/Plugins/Spinach.pm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/PBot/Plugins/Spinach.pm b/PBot/Plugins/Spinach.pm index 74bdde1f..ac818702 100644 --- a/PBot/Plugins/Spinach.pm +++ b/PBot/Plugins/Spinach.pm @@ -634,12 +634,8 @@ sub spinach_cmd { $self->{state_data}->{current_category} = $self->{state_data}->{category_options}->[$arguments]; return "/msg $self->{channel} $nick has chosen RANDOM CATEGORY! Randomly choosing category: $self->{state_data}->{current_category}!"; } elsif ($arguments == @{$self->{state_data}->{category_options}} - 1) { - if (++$self->{state_data}->{category_rerolls} >= 3) { - return "/msg $self->{channel} $nick has chosen REROLL CATEGORIES! But they have exceeded the number of times they may reroll this turn."; - } else { - $self->{state_data}->{reroll_category} = 1; - return "/msg $self->{channel} $nick has chosen REROLL CATEGORIES! Rerolling categories..."; - } + $self->{state_data}->{reroll_category} = 1; + return "/msg $self->{channel} $nick has chosen REROLL CATEGORIES! Rerolling categories..."; } else { $self->{state_data}->{current_category} = $self->{state_data}->{category_options}->[$arguments]; return "/msg $self->{channel} $nick has chosen $self->{state_data}->{current_category}!";