Skip to content

Commit

Permalink
Merge pull request #7020 from MahtraDR/drinfomon_shadow_servant_fix
Browse files Browse the repository at this point in the history
[scripts][drinfomon] Simplify check for Shadow Servants
  • Loading branch information
MahtraDR authored Dec 12, 2024
2 parents 39cf840 + 70eac3d commit 9739099
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drinfomon.lic
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Documentation: https://elanthipedia.play.net/Lich_script_development#drinfomon
=end

$DRINFOMON_VERSION = '2.0.36'
$DRINFOMON_VERSION = '2.0.37'

no_kill_all
no_pause_all
Expand Down Expand Up @@ -604,6 +604,7 @@ def find_npcs(room_objs)
.map { |obj| obj.sub(/.*alfar warrior.*/, 'alfar warrior') }
.map { |obj| obj.sub(/.*sinewy leopard.*/, 'sinewy leopard') }
.map { |obj| obj.sub(/.*lesser naga.*/, 'lesser naga') }
.map { |obj| obj.sub(/.*Shadow Servant.*/, 'Shadow Servant') }
.map { |obj| obj.sub('<pushBold/>', '').sub(%r{<popBold/>.*}, '') }
.map { |obj| obj.split(/\sand\s/).last.sub(/(?:\sglowing)?\swith\s.*/, '') }
.map { |obj| obj.strip.scan(/[A-z'-]+$/).first }
Expand Down

0 comments on commit 9739099

Please sign in to comment.