kolton / d2bot-with-kolbot

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

Low mana skill setup #2121

Open joshj29 opened 4 years ago

joshj29 commented 4 years ago

So i am currently working on setting up a low level script to just clear areas and level up but have been unable to figure out how to make it normal attack an enemy once out of mana. I have tried a few things but have been unable to figure it out. Is this possible or is it an issue?

aochalkov commented 4 years ago

Hi. Did yiu try here? /* Attack config

joshj29 commented 4 years ago

I have tried that. Not sure if it cant read that part of the script or if there is another i have to edit

On Mon., Jan. 6, 2020, 3:09 a.m. aochalkov, notifications@github.com wrote:

Hi. Did yiu try here? /* Attack config

  • To disable an attack, set it to -1
  • Skills MUST be POSITIVE numbers. For reference see http://pastebin.com/baShRwWM */ Config.AttackSkill[0] = -1; // Preattack skill. Config.AttackSkill[1] = 49; // Primary skill to bosses. Config.AttackSkill[2] = -1; // Primary untimed skill to bosses. Keep at -1 if Config.AttackSkill[1] is untimed skill. Config.AttackSkill[3] = 53; // Primary skill to others. Config.AttackSkill[4] = -1; // Primary untimed skill to others. Keep at -1 if Config.AttackSkill[3] is untimed skill. Config.AttackSkill[5] = -1; // Secondary skill if monster is immune to primary. Config.AttackSkill[6] = -1; // Secondary untimed skill if monster is immune to primary untimed.

// Low mana skills - these will be used if main skills can't be cast. Config.LowManaSkill[0] = -1; // Timed low mana skill. Config.LowManaSkill[1] = -1; // Untimed low mana skill.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kolton/d2bot-with-kolbot/issues/2121?email_source=notifications&email_token=AKCMG7IQ4UXFARGZSYHQFP3Q4LRMJA5CNFSM4KC6S7N2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIEXMOQ#issuecomment-571045434, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKCMG7PEFKJIB7MTU464VATQ4LRMJANCNFSM4KC6S7NQ .

aochalkov commented 4 years ago

try to set autoattack. skill = 1