Skip to content

Commit

Permalink
[scripts][multiples] Moving from checkhealth to DRStats.health
Browse files Browse the repository at this point in the history
Removing this native and using the DRinfomon version as the native is going GS-specific.
  • Loading branch information
MahtraDR committed Jan 9, 2024
1 parent 981a9b2 commit 13e4955
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion grave-pile.lic
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ junk_list = get_settings.grave_junk.map { |x| /\b#{x}/i }
DRCT.walk_to(10_291)
loop do
break if checkbleeding
break if checkhealth < 50
break if DRStats.health < 50

until checkright || checkleft
DRC.fix_standing
Expand Down
2 changes: 1 addition & 1 deletion healer.lic
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Healer
@last_heal_check = Time.now
return false if health['diseased']
return false if health['poisoned']
return false if checkhealth < 70
return false if DRStats.health < 70
return false unless health['wounds'].empty?

true
Expand Down
2 changes: 1 addition & 1 deletion smash-pumpkins.lic
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ junk_list = get_settings.pumpkin_junk.map { |x| /\b#{x}/i }
DRCT.walk_to(10_570)
loop do
break if checkbleeding
break if checkhealth < 50
break if DRStats.health < 50

until checkright || checkleft
DRC.fix_standing
Expand Down
2 changes: 1 addition & 1 deletion smash-shells.lic
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ DRC.message("*** Heading to grab a shell ***")

loop do
break if checkbleeding
break if checkhealth < 50
break if DRStats.health < 50

DRCT.walk_to(16_236)
until checkright || checkleft
Expand Down

0 comments on commit 13e4955

Please sign in to comment.