kolton / d2bot-with-kolbot

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

Singer barb attack issues #2169

Open LAeRacing opened 4 years ago

LAeRacing commented 4 years ago

I have a singer barb which should use leap as preattack and then infinite war cry (stun).

if(me.name == Barbarian)
    { 
    Skill.setSkill(Config.AttackSkill[1]); 
    for (i = 0; i < 5; i += 1)  
        { 
        Skill.cast(Config.AttackSkill[0], 1); 
        delay(250); 
        } 
    }

Barb Config: [132 = Leap // 154 = War Cry (Stun)]

    Config.AttackSkill[0] = 132; // Preattack skill. 
    Config.AttackSkill[1] = 154; // Primary skill for bosses. 
    Config.AttackSkill[2] = 154; // Backup/Immune skill for bosses.
    Config.AttackSkill[3] = 154; // Primary skill for others.
    Config.AttackSkill[4] = 154; // Backup/Immune skill for others.

The problem: Actually the barb uses infinite leap and not war cry. When i switch AttackSkill[1] to [0] the barb gets kicked out from game (C/I). Maybe its cause of Leap = leftclick skill and war cry = rightclick skill? Please help me to figure this out. Thanks

InterestingIndeed commented 4 years ago

Did you change anything in the java code? I recommend not doing that until you know what you do, because that will most likely lead to errors (as you already experienced ;) ).

From my understanding, preattack is casted before monsters are found (e.g. in the throne room, my lf sorc casts a couple of bolts before monsters appear). If you didnt change the Java code, your barb should leap 5 times and then war cry to kill.

I am unsure if the precast is able to be used with a spell that changes your position.

twinkieforu commented 4 years ago

so i'm experiencing the same issue with a ww horker and enigma. wakka and auto work fine but its giving connection interrupted as soon as I switch to diablo helper and baal helper. something to do with tele and ww. any ideas?

runalsh commented 4 years ago

same problem with war cry and Config.AttackSkill[1]