Skip to content

Commit

Permalink
check spells with 1 or more justice_message
Browse files Browse the repository at this point in the history
Co-authored-by: Mahtra <[email protected]>
  • Loading branch information
desertkaz and MahtraDR authored Jul 14, 2024
1 parent c8bc440 commit 1fb19e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion afk.lic
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ loop do
justice_message_count += 1 if line =~ /^"Burn .+! Burn .+!" .* giving you a wide berth/
justice_message_count += 1 if line =~ /authorities will try to bring you in for endangering the public/

if justice_message_count == 1
if justice_message_count >= 1
justice_message_count = 0 if DRSpells.active_spells.each { |x, _y| fput("release #{get_data("spells")["spell_data"][x]["abbrev"]} spell") if get_data("spells")["spell_data"][x]["triggers_justice"] }
end
if justice_message_count > justice_threshold
Expand Down

0 comments on commit 1fb19e9

Please sign in to comment.