Skip to content

Commit

Permalink
Merge pull request #588 from UFTimmy/patch-3
Browse files Browse the repository at this point in the history
Added regexs for Fallen Barb
  • Loading branch information
rcuhljr authored Aug 9, 2016
2 parents bcee9d2 + 8df1e5f commit 2713f29
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spellmonitor.lic
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ spell_action = proc do |server_string|
elsif server_string =~ %r{pushStream id="percWindow"/>(.+)<popStream/><pushStream id="percWindow"/> \(Fading\)}
DRSpells.active_spells[Regexp.last_match(1)] = 0
DRSpells.refresh_data[Regexp.last_match(1)] = true
elsif server_string =~ %r{<pushStream id="percWindow"/> (.*) \((\d+) roisaen\)}
DRSpells.active_spells[Regexp.last_match(1)] = Regexp.last_match(2)
DRSpells.refresh_data[Regexp.last_match(1)] = true
elsif server_string =~ %r{<popStream/><pushStream id="percWindow"/> (.+) \((\d+) roisaen\)}
DRSpells.active_spells[Regexp.last_match(1)] = Regexp.last_match(2)
DRSpells.refresh_data[Regexp.last_match(1)] = true
end

server_string
Expand Down

0 comments on commit 2713f29

Please sign in to comment.