kolton / d2bot-with-kolbot

d2bot game manager by D3STROY3R with kolbot libs by kolton for d2bs
346 stars 333 forks source link

Pickit problem #677

Open Terrified56x opened 6 years ago

Terrified56x commented 6 years ago

I know it says that there is a color based pelt pickit but i cant seem to figure out the code without screwing it up...

[type] == pelt && [quality] == rare

Shouldn't i just add [color] == (Whatever it is)??

or am i doing something wrong?

DarkHorseDre commented 6 years ago

I cant remember which file defines it (if any) but an example in the pickit is: ([name] == antlers || [name] == hunter'sguise || [name] == earthspirit) && [quality] == rare && [color] == white

I think I deleted all the color variants but you just specify the colour in addition to the quality it seems..

Terrified56x commented 6 years ago

It would seem that it only takes the ones it already identified and determined then the color and keeps it despite terrible stats. I'd much rather keep them unid colored. any idea?

DarkHorseDre commented 6 years ago

Pickit only collects what you tell it to look for. if you only tell it to look for a colour, that's what you will get. if you want specific stats, set them in the pickit as normal.

if you want them unid, I thought there was a parameter for that but cant check, so simply don't specify any stats (as my first post), however I think the color can only be known once id'd: if so, you cant do both.

noah- commented 6 years ago

current color parsing is done after identified, for rare items, I think you can probably do this by checking affixes prior to ID

DarkHorseDre commented 6 years ago

@Noah - how do we check affixs before ID? I thought they were only exposed once identified?