Skip to content

Commit

Permalink
[dr][dr\drinfomon\drdefs.rb] Add fix for Shadow Servants
Browse files Browse the repository at this point in the history
  • Loading branch information
MahtraDR committed Dec 12, 2024
1 parent 20e0241 commit 8ad6480
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/dragonrealms/drinfomon/drdefs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,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 8ad6480

Please sign in to comment.