From d0e04a55b91988783d0c64112794c0017dbc9c8a Mon Sep 17 00:00:00 2001 From: Alium58 Date: Sat, 14 Oct 2023 20:47:58 -0500 Subject: [PATCH] dumb to_int()s --- RELEASE/scripts/autoscend/auto_util.ash | 2 +- RELEASE/scripts/autoscend/iotms/mr2021.ash | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RELEASE/scripts/autoscend/auto_util.ash b/RELEASE/scripts/autoscend/auto_util.ash index 6b6568a9d2..1a535b7e68 100644 --- a/RELEASE/scripts/autoscend/auto_util.ash +++ b/RELEASE/scripts/autoscend/auto_util.ash @@ -1992,7 +1992,7 @@ boolean LX_summonMonster() } // summon grops to start copy chain. Goal is to copy into delay zones and get war progress at same time. Bonus if we get smoke bombs - if(!summonedMonsterToday($monster[Green Ops Soldier]) && get_property("hippiesDefeated") > 399 && get_property("hippiesDefeated") < 1000 && !in_koe()) + if(!summonedMonsterToday($monster[Green Ops Soldier]) && get_property("hippiesDefeated").to_int() > 399 && get_property("hippiesDefeated").to_int() < 1000 && !in_koe()) { if(summonMonster($monster[Green Ops Soldier])) return true; } diff --git a/RELEASE/scripts/autoscend/iotms/mr2021.ash b/RELEASE/scripts/autoscend/iotms/mr2021.ash index bef43eaa49..a278a9e211 100644 --- a/RELEASE/scripts/autoscend/iotms/mr2021.ash +++ b/RELEASE/scripts/autoscend/iotms/mr2021.ash @@ -355,7 +355,7 @@ boolean auto_backupTarget() return true; break; case $monster[Green Ops Soldier]: - if(get_property("hippiesDefeated") > 399 && get_property("hippiesDefeated") < 1000 && !in_koe()) + if(get_property("hippiesDefeated").to_int() > 399 && get_property("hippiesDefeated").to_int() < 1000 && !in_koe()) return true; break; default: break;