Borega / pd2bs-scripts

Scripts for pd2bs
12 stars 17 forks source link

Slam function #8

Open HakunamaTITS opened 3 years ago

HakunamaTITS commented 3 years ago

This would be a cubing.js edit in conunction with pickit. Flow is as follow:

  1. Checks if char config file has slam enabled (similar to enabling cubing)
  2. Bot checks if WSS is available
  3. Bot checks if item is on the slam list (similar to crafting/upgrading recipes) 2.1) If yes, bot slams. Is it worth keeping? 2.1.1) Yes - stash 2.1.2) No - chuck 2.2) If no, is it in pickit? 2.2.1) Yes - stash 2.2.2) No - chuck

Logic behind all this:

yayza commented 3 years ago

Working on this soon. Thanks to some help from another member, the plan is to check item stats to see if it's corrupted vs clean, then, the first two steps you mentioned are ideal, and pickit will take care of choosing what to keep. For example:

[Name] == lightgauntlets && [Quality] == unique && [flag] != ethereal # [corrupted] == 0 || ([corrupted] == 1 && [FCR] == 30) // Magefist

Dvldogg05 commented 3 years ago

Is there any update on the slamming of items?

yayza commented 3 years ago

Just need to create a pickit for the slam script. Anyone wanna take this up?

Example pickit line: [name] == hydrabow && quality == unique # ([corrupted] == 0 || [corrupted] == 1 && [sockets] == 6) // Windforce Hydra Bow

This means it'll keep Windforce if it's CLEAN ([corrupted] == 0 OR || It's Corrupted and has 6 sockets [corrupted] == 1 && [sockets] == 6)

So the idea is the item will get picked up. The script sees the item in inventory, slams it, pickit checks it again and now it's corrupted. If the new stat isn't in the pickit, then it'll toss it.

HakunamaTITS commented 3 years ago

sry been burried at work. will try to complete it by end of week.

yayza commented 3 years ago

sry been burried at work. will try to complete it by end of week.

No worries, if I end up starting on it too I'll add it to the repo so you'll know what's still missing.