Skip to content

Commit

Permalink
Don't pull RO gear our class doesn't get a bonus for (#1358)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
Alium58 and Malibu-Stacey authored Sep 13, 2023
1 parent 76a420f commit 204013f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RELEASE/scripts/autoscend/auto_bedtime.ash
Original file line number Diff line number Diff line change
Expand Up @@ -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())
{
Expand Down

0 comments on commit 204013f

Please sign in to comment.