kolton / d2bot-with-kolbot

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

What is the code for perfect cta in cs/flail/dimensional blade and hoto in flail #2787

Open cezars opened 4 years ago

cezars commented 4 years ago

Hi what is the code for perfect cta in cs/flail/dimensional blade

This is not woking, its keep reroling

Config.Runewords.push([Runeword.CallToArms, 29]); // Call to Arms Config.KeepRunewords.push("[type] == weapon # [ias] == 40 && [SkillBattleOrders] + [SkillBattleCommand] >= 12"); // Call to Arms Crystal Sword

I also try this

Config.Runewords.push([Runeword.CallToArms, 29]); // Call to Arms Config.KeepRunewords.push("[type] == weapon # [ias] == 40 && [SkillBattleOrders] + [SkillBattleCommand] >= 2"); // Call to Arms Crystal Sword

and this

Config.Runewords.push([Runeword.CallToArms, 29]); // Call to Arms Config.KeepRunewords.push("[type] == weapon # [ias] == 40 # [SkillBattleOrders] == 6"); // i stoped just in time, he try to reroll a perf cta

also try this

Config.Runewords.push([Runeword.CallToArms, 29]); // Call to Arms Config.KeepRunewords.push("[type] == weapon # [ias] == 40 # [SkillBattleOrders] >= 1"); keep rerolling

Thanks

DarkHorseDre commented 4 years ago

Linking to duplicate issue so it can be closed by author or deleted by admin: https://github.com/kolton/d2bot-with-kolbot/issues/2778

groggy148 commented 4 years ago

Add in Pickit file : [name] == crystalsword && [quality] <= superior && [flag] != ethereal # [sockets] == 5 [name] == dimensionalblade && [quality] <= superior && [flag] != ethereal # [sockets] == 5 [name] == flail && [quality] <= superior && [flag] != ethereal # [sockets] == 5 [type] == scepter && [quality] <= superior && [flag] != ethereal # [sockets] == 5 && [skillfistoftheheavens]+[skillconviction] == 6

Add in ./kolbot/libs/config/character.name.js file: Config.Runewords.push([Runeword.CallToArms, 29, Roll.NonEth]); //crystal sword Config.Runewords.push([Runeword.CallToArms, 21, Roll.NonEth]); //flail Config.Runewords.push([Runeword.CallToArms, 122, Roll.NonEth]); //dimensionalblade Config.Runewords.push([Runeword.CallToArms, 17, Roll.NonEth]); //warscepter Config.Runewords.push([Runeword.CallToArms, 110, Roll.NonEth]); //divinescepter Config.Runewords.push([Runeword.CallToArms, 213, Roll.NonEth]); //caduceus

//Config.KeepRunewords.push("[type] == sword || [type] == scepter || [type] == mace # [skillbattleorders]==6 && [skillbattlecommand]==6 && [skillbattlecry]==3 && [enhanceddamage] == 290"); //Full perf CTA //Config.KeepRunewords.push("[type] == sword || [type] == scepter || [type] == mace # [skillbattleorders]==6"); //CTA 6 Batlle Orders Config.KeepRunewords.push("[type] == sword || [type] == scepter || [type] == mace # [skillbattleorders]>=2 && [enhanceddamage] == 270"); //CTA >=2 Batlle Orders & %dmg>=270

I did not try it but it should work. Btw I think "[type] == weapon" is not working.

ARkaine2 commented 4 years ago

There should be NOT [skillbattleorders] but [plusskillbattleorders] From here (https://github.com/kolton/d2bot-with-kolbot/issues/1326)

...

And type NOT [type] == weapon but [type] == sword || [type] == scepter || [type] == mace or even seperately for each recipe [type] == sword [type] == scepter [type] == mace

So, code should look like something like this: Config.KeepRunewords.push("[type] == sword # [plusskillbattleorders] >= 1")

I didn't try it with double warcry skills, but you probably should check: Config.KeepRunewords.push("[type] == sword || [type] == scepter || [type] == mace # [plusskillbattlecommand] == 6 && [plusskillbattleorders] == 6")

cezars commented 4 years ago

Thanks all for the help

This is not working, i test it he reroll 4.2.x cta Config.KeepRunewords.push("[type] == sword || [type] == scepter || [type] == mace # [skillbattleorders]>=2 && [enhanceddamage] >= 250"); //CTA >=2 Batlle Orders & %dmg>=270

Now i will try this with 1 to bo to be sure if it`s keeping or not >=1

Config.KeepRunewords.push("[type] == sword # [plusskillbattleorders] >= 1")

EDIT :

This is working : Config.KeepRunewords.push("[type] == sword # [plusskillbattleorders] >= 1")

cezars commented 4 years ago

Tested this and working Config.KeepRunewords.push("[type] == sword || [type] == scepter || [type] == mace # [plusskillbattlecommand] == 6 && [plusskillbattleorders] == 6")

Thank you all for help

Now a new challenge i need help with grief in pb

This is not working, keep rerolling even if the lowest value is set 340 //Config.Runewords.push([Runeword.Grief, "Phase Blade"]); // Make Grief Phase Blade //Config.Runewords.push([Runeword.Grief, "Berserker Axe"]); // Make Grief Berserker Axe //Config.KeepRunewords.push("([type] == sword || [type] == axe) # [plusmaxdamage] >= 340"); // Grief

Samael36 commented 3 years ago

I think it is not working because you need to remove: ( before [type] and: ) after axe Not Correct: //Config.KeepRunewords.push("([type] == sword || [type] == axe) # [plusmaxdamage] >= 340"); // Grief Correct: //Config.KeepRunewords.push("[type] == sword || [type] == axe # [plusmaxdamage] >= 340"); // Grief

In the pickit.nip file, items need to be surrounded by ( and ) when separated by || But not after Config.KeepRunewords.push("...