From 204013fc3b2c49aa665c5b38f4757a2b397648d6 Mon Sep 17 00:00:00 2001 From: Alium58 Date: Wed, 13 Sep 2023 18:23:38 -0500 Subject: [PATCH] Don't pull RO gear our class doesn't get a bonus for (#1358) * don't pull gear our class doesn't get a bonus for * remove extra tab * Update RELEASE/scripts/autoscend/auto_bedtime.ash Co-authored-by: Malibu Stacey <50261170+Malibu-Stacey@users.noreply.github.com> --------- Co-authored-by: Malibu Stacey <50261170+Malibu-Stacey@users.noreply.github.com> --- RELEASE/scripts/autoscend/auto_bedtime.ash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RELEASE/scripts/autoscend/auto_bedtime.ash b/RELEASE/scripts/autoscend/auto_bedtime.ash index 55992696e..66ea62993 100644 --- a/RELEASE/scripts/autoscend/auto_bedtime.ash +++ b/RELEASE/scripts/autoscend/auto_bedtime.ash @@ -315,6 +315,8 @@ void bedtime_pulls_rollover_equip(float desirability) if(!($slots[hat, weapon, off-hand, back, shirt, pants, acc1, familiar] contains sl)) continue; //exotic slot or not equip if(!possessEquipment(it) && !canPull(it,true)) continue; //do not have it and can not pull it. if(!auto_can_equip(it)) continue; //we can not equip it + string bonusOnlyForClass = string_modifier(it,"Class"); + if(bonusOnlyForClass != "" && bonusOnlyForClass != my_class().to_string()) continue; //can't get benefit of it if($slot[familiar] == sl && !pathHasFamiliar()) {