diff --git a/grave-pile.lic b/grave-pile.lic index 0d71407711..e3f11beb1c 100644 --- a/grave-pile.lic +++ b/grave-pile.lic @@ -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 diff --git a/healer.lic b/healer.lic index 05bb20fd08..9a2336e2ff 100644 --- a/healer.lic +++ b/healer.lic @@ -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 diff --git a/smash-pumpkins.lic b/smash-pumpkins.lic index 83169f9adf..02230da2cf 100644 --- a/smash-pumpkins.lic +++ b/smash-pumpkins.lic @@ -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 diff --git a/smash-shells.lic b/smash-shells.lic index 3167afe3a1..56b4fa727a 100644 --- a/smash-shells.lic +++ b/smash-shells.lic @@ -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