kolton / d2bot-with-kolbot

d2bot game manager by D3STROY3R with kolbot libs by kolton for d2bs
345 stars 332 forks source link

Spirit runeword pickit script #1818

Open Acaelus-Thorne opened 5 years ago

Acaelus-Thorne commented 5 years ago

What do i write for it to keep rerolling spirit monarch til it makes a 100% perfect one.

boddhisatra commented 5 years ago

Config.Runewords.push([Runeword.Spirit, "Monarch"]); // Make Spirit Monarch Config.KeepRunewords.push("[Type] == Shield || [type] == AuricShields # [FCR] == 35");

Acaelus-Thorne commented 5 years ago

Does that do 112 mana and 8 absorb also?

boddhisatra commented 5 years ago

For mana, you would add mana to the right of # and join it with && like the following: Config.KeepRunewords.push("[Type] == Shield || [type] == AuricShields # [FCR] == 35" && [MaxMana] >= 112 );

I'm not sure what the modifier is for Magic Absorb. Maybe someone else can jump in and finish off the line for you.

changchangd2 commented 5 years ago

NTItemAlias.dbl in the libs folder has all the stats the bot looks for, so you can piece together stuff using info in that file. I think [itemabsorbmagic] == 8 would do what you're looking for. So this might be the completed line, unless I made a mistake: Config.KeepRunewords.push("[type] == shield || [type] == auricshields # [fcr] == 35 && [maxmana] == 112 && [itemabsorbmagic] == 8");

Acaelus-Thorne commented 5 years ago

So i put that line in kolbot pickit folder? Or the character config folder where it has runeword crafting.

changchangd2 commented 5 years ago

You would put it in the character config file in the crafting section and replace the line that only keeps 35 fcr spirit shields, or add the additional stuff to the line. I'm sure you know, but make sure your pickit file is set to keep the base it's in, so monarchs or superior monarchs or both with 4 open sockets.

Acaelus-Thorne commented 5 years ago

Okay thanks. Ya it keeps rerolling the same 15/15 monarch i got in stash.