Skip to content

Commit

Permalink
Merge pull request #1375 from elanthia-online/master
Browse files Browse the repository at this point in the history
Merge master into branch
  • Loading branch information
mrhoribu authored Dec 16, 2023
2 parents 4dcce35 + c822e30 commit f8b878c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rspec_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: sudo apt-get install libxml2-utils
- name: Install ruby gem dependencies with bundler
run: |
gem install bundler
gem install bundler -v 2.4.22
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Run type data migrations to create gameobj-data.xml
Expand Down
8 changes: 7 additions & 1 deletion scripts/eherbs.lic
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
game: Gemstone
tags: healing, herbs
requires: Lich >= 4.6.0
version: 2.0.1
version: 2.0.2
2.0.2 (2023-12-15)
- send injury command to refresh XML before attempting to heal self incase missing injury from XML
2.0.1 (2023-11-10)
- bugfix to use id instead of name for distiller
- added setting output for debugging ;eherbs settings
Expand Down Expand Up @@ -3232,6 +3234,10 @@ module EHerbs
end
end

# refresh XML display of wounds/scars incase missing an injury
Game.puts '_injury 2'
sleep(0.5)

unless [Wounds.head, Wounds.neck, Wounds.torso, Wounds.limbs, Wounds.nerves, Scars.head, Scars.neck, Scars.torso, Scars.limbs, Scars.nerves].max > 0 || ((checkhealth + 7) < maxhealth)
Utility.distill if EHerbs.data[:distiller]
respond
Expand Down

0 comments on commit f8b878c

Please sign in to comment.