diff --git a/lib/junethack/normalize_death.rb b/lib/junethack/normalize_death.rb index 086baa5c3..c1f98a8d3 100644 --- a/lib/junethack/normalize_death.rb +++ b/lib/junethack/normalize_death.rb @@ -75,6 +75,9 @@ def normalize_death monster: false .gsub(/touching an artifact \([^)]+\)/, "touching an artifact") .gsub(/petrifying egg \([^)]+\)/, "petrifying egg") + # Artifact blasting, a very scummable death (smoky potion healers) + death = death.gsub(/touching (The)? [A-Z].+/, "touching an artifact") + if monster death = death.gsub(/[a-z]+ by( a| the)? ([A-Za-z][a-z]+)/, '\2') death = death.gsub(/^catching the eye of /, '')