Jump to content

Join our Discord

Talk to other users and have a great time
Discord Server

Welcome to our Community

Click here to get your Exiled Bot license
Donation Store
Exiled Bot Classic Archive
This is the archived Exiled Bot Classic forum. Content is preserved for reference and may be outdated.
Sign in to follow this  
Dimps

[PickIt] unpredictable behaviour picking items

Recommended Posts

[Type] == "Gladius" && [Rarity] == "Rare" # [local_physical_damage_+%] >= "100" && ( [local_attack_speed_+%] >= "15" || [attack_speed_+%] >= "15" ) # [stashItem] == "true"

 

This line makes EB pick up and stash following item (when this exact line is commented, EB selling it):

Rarity: Rare
Fate Saw
Gladius
--------
One Handed Sword
Physical Damage: 41-58
Critical Strike Chance: 5.00%
Attacks per Second: 1.55 (augmented)
--------
Requirements:
Level: 60
Str: 113
Dex: 113
--------
Sockets: R G 
--------
Itemlevel: 64
--------
18% increased Accuracy Rating
--------
+2 to Level of Socketed Melee Gems
12% increased Elemental Damage with Weapons
19% increased Attack Speed
12% reduced Enemy Stun Threshold
+4 Mana Gained on Kill

 

[dump] -> Item Imprint
[dump] -> Short name : Gladius
[dump] -> Type : Metadata/Items/Weapons/OneHandWeapons/OneHandSwords/OneHandSword18
[dump] -> Category : 2
[dump] -> Item Level : 64
[dump] -> Local Armor : 0
[dump] -> Computed Armor : 0.000000
[dump] -> Local Evasion : 0
[dump] -> Computed Evasion : 0.000000
[dump] -> Local Energy Shield : 0
[dump] -> Computed Energy Shield : 0.000000
[dump] -> Rarity : 2
[dump] -> Quality : 0
[dump] -> Stack : 1
[dump] -> Sockets : R G 
[dump] -> Max linked sockets : 1
 
[dump] -> Item identified
[dump] -> MODS
[dump] -> Mod index : 72, Value : 19
[dump] -> Mod index : 108, Value : 4
[dump] -> Mod index : 109, Value : 12
[dump] -> Mod index : 338, Value : 12
[dump] -> Mod index : 528, Value : 2
[dump] -> Mod index : 674, Value : 18
[dump] -> 
Elemental Resistance Score : 0
[dump] -> DPS : 76.625389
[dump] -> Physical DPS : 76.625389
[dump] -> Elemental DPS : 0.000000
[dump] -> 

 

I'll try to keep this item in stash as long as needed to debug and fix. Thanks.

Share this post


Link to post
Share on other sites

It is a new day today, and I clearly see original rule is wrong: it uses # twice.

It will probably work as intended if there is no bad syntax. Although IPD editor report bad syntax in

[Rarity] == "Magic" && [Category] == "Amulet" # [base_item_found_rarity_+%] >= "6" # [StashItem] = "true"

, it does not report any syntax problems in

[Type] == "Gladius" && [Rarity] == "Rare" # [local_physical_damage_+%] >= "100" && ( [local_attack_speed_+%] >= "15" || [attack_speed_+%] >= "15" ) # [StashItem] == "true"

What should be fixed probably is syntax checker (matcher regex), not the compare logic. I hope this will help.

I blame the forum noobs I copy pasted this line from.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×
×
  • Create New...