kolton / d2bot-with-kolbot

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

Bad Attack Config #3091

Open jordankvz opened 3 years ago

jordankvz commented 3 years ago

I did try all the things that are suppose to fix this issue I could find.

Config.AttackSkill[0] = -1; // Preattack skill. Config.AttackSkill[1] = -112; // Primary skill to bosses. Config.AttackSkill[2] = -113; // Primary aura to bosses Config.AttackSkill[3] = -112; // Primary skill to others. Config.AttackSkill[4] = -113; // Primary aura to others. Config.AttackSkill[5] = -112; // Secondary skill if monster is immune to primary. Config.AttackSkill[6] = -113; // Secondary aura.

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

/* Advanced Attack config. Allows custom skills to be used on custom monsters.
 *  Format: "Monster Name": [attack skill id, aura skill id]
 *  Multiple entries are separated by commas

This is my script but I am still getting bad attack configs. On side note I am getting the red ! on the file for d2bs. Everything loads into game correctly, but kicks the bad config once in.

Samael36 commented 3 years ago

Take away the minus when it is a skill. It should look like this:

Config.AttackSkill[1] = 112; // Primary skill to bosses.

I would also recommend using Holy Bolt (skill 101) against immune monsters:

Config.AttackSkill[5] = 101; // Secondary skill if monster is immune to primary.