// Paladin config file
/* Brief instructions:
* Notepad++ is HIGHLY recommended to use for editing these files. Visit

* To comment out something, put // in front of that line
* !!!Never comment out something you're not sure about, set it to false or disable as noted in description if you don't want to use it.
* true and false are case sensitive. Good: Config.SomeVar = true; Bad: Config.SomeVar = True;
*/
function LoadConfig() {
/* Sequence config
* Set to true if you want to run it, set to false if not.
* If you want to change the order of the scripts, just change the order of their lines by using cut and paste.
*/
// Boss/area scripts
Scripts.OrgTorch = true;
Config.OrgTorch.WaitForKeys = true; // Enable Torch System to get keys from other profiles. See libs/TorchSystem.js for more info
Config.OrgTorch.WaitTimeout = 5; // Time in minutes to wait for keys before moving on
Config.OrgTorch.UseSalvation = true; // Use Salvation aura on Mephisto (if possible)
// *** act 1 ***
Scripts.Countess = true;
Config.Countess.KillGhosts = false;
// *** act 2 ***
Scripts.Summoner = true;
Config.Summoner.FireEye = false; // Kill Fire Eye
// *** act 5 ***
Scripts.Pindleskin = true;
Config.Pindleskin.KillNihlathak = true;
Config.Pindleskin.ViperQuit = false; // End script if Tomb Vipers are found.
Config.QuitList = []; // List of character names to quit with. Example: Config.QuitList = ["MySorc", "MyDin"];
// Town settings
Config.HealHP = 100; // Go to a healer if under designated percent of life.
Config.HealMP = 0; // Go to a healer if under designated percent of mana.
Config.UseMerc = true; // Use merc. This is ignored and always false in d2classic.
Config.MercWatch = false; // Instant merc revive during battle.
// Potion settings
Config.UseHP = 75; // Drink a healing potion if life is under designated percent.
Config.UseRejuvHP = 40; // Drink a rejuvenation potion if life is under designated percent.
Config.UseMP = 30; // Drink a mana potion if mana is under designated percent.
Config.UseRejuvMP = 0; // Drink a rejuvenation potion if mana is under designated percent.
Config.UseMercHP = 75; // Give a healing potion to your merc if his/her life is under designated percent.
Config.UseMercRejuv = 40; // Give a rejuvenation potion to your merc if his/her life is under designated percent.
Config.RejuvBuffer = 0; // Number of rejuvenation potions to keep in inventory.
// Chicken settings
Config.LifeChicken = 10; // Exit game if life is less or equal to designated percent.
Config.ManaChicken = 0; // Exit game if mana is less or equal to designated percent.
Config.MercChicken = 0; // Exit game if merc's life is less or equal to designated percent.
Config.TownHP = 0; // Go to town if life is under designated percent.
Config.TownMP = 0; // Go to town if mana is under designated percent.
/* Inventory lock configuration. !!!READ CAREFULLY!!!
* 0 = item is locked and won't be moved. If item occupies more than one slot, ALL of those slots must be set to 0 to lock it in place.
* Put 0s where your torch, annihilus and everything else you want to KEEP is.
* 1 = item is unlocked and will be dropped, stashed or sold.
* If you don't change the default values, the bot won't stash items.
*/
Config.Inventory[0] = [0,0,0,0,0,0,1,1,1,1];
Config.Inventory[1] = [0,0,0,0,0,0,1,1,1,1];
Config.Inventory[2] = [0,0,0,0,0,0,1,1,1,1];
Config.Inventory[3] = [0,0,0,0,0,0,1,1,1,1];
Config.StashGold = 100000; // Minimum amount of gold to stash.
/* Potion types for belt columns from left to right.
* Rejuvenation potions must always be rightmost.
* Supported potions - Healing ("hp"), Mana ("mp") and Rejuvenation ("rv")
*/
Config.BeltColumn[0] = "hp";
Config.BeltColumn[1] = "hp";
Config.BeltColumn[2] = "mp";
Config.BeltColumn[3] = "rv";
/* Minimum amount of potions. If we have less, go to vendor to purchase more.
* Set rejuvenation columns to 0, because they can't be bought.
*/
Config.MinColumn[0] = 3;
Config.MinColumn[1] = 3;
Config.MinColumn[2] = 3;
Config.MinColumn[3] = 0;
// Pickit config
Config.PickitFiles.push("pots.nip"); // Pickit filenames in /pickit/ folder
Config.PickitFiles.push("torch.nip");
Config.PickRange = 40; // Pick radius
Config.FastPick = false; // Check and pick items between attacks
// Item identification settings
Config.CainID.Enable = false; // Identify items at Cain
Config.CainID.MinGold = 2500000; // Minimum gold (stash + character) to have in order to use Cain.
Config.CainID.MinUnids = 3; // Minimum number of unid items in order to use Cain.
Config.FieldID = false; // Identify items in the field instead of going to town.
// Gambling config
Config.Gamble = false;
Config.GambleGoldStart = 1000000;
Config.GambleGoldStop = 500000;
// Check libs/NTItemAlias.dbl file for other item classids
Config.GambleItems.push(520); // Amulet
Config.GambleItems.push(522); // Ring
Config.GambleItems.push(418); // Circlet
Config.GambleItems.push(419); // Coronet
// Cubing config. All recipes are available in Templates/Cubing.txt
Config.Cubing = false; // Set to true to enable cubing.
// All ingredients will be auto-picked, for classids check libs/NTItemAlias.dbl
Config.Recipes.push([Recipe.Rune, 630]); // pul -> um
Config.Recipes.push([Recipe.Rune, 631]); // um -> mal
Config.Recipes.push([Recipe.Rune, 632]); // mal -> ist
Config.Recipes.push([Recipe.Rune, 633]); // ist -> gul
Config.Recipes.push([Recipe.Rune, 634]); // gul -> vex
Config.Recipes.push([Recipe.Caster.Amulet]); // Craft Caster Amulet
Config.Recipes.push([Recipe.Blood.Ring]); // Craft Blood Ring
Config.Recipes.push([Recipe.Blood.Helm, 424]); // Craft Blood Armet
Config.Recipes.push([Recipe.HitPower.Glove, 452]); // Craft Hit Power Vambraces
Config.Recipes.push([Recipe.Reroll.Magic, 421]); // Reroll magic Diadem
Config.Recipes.push([Recipe.Reroll.Rare, 421]); // Reroll rare Diadem
// Base item must be in the pickit, rest is auto-picked
Config.Recipes.push([Recipe.Socket.Weapon, 255]); // Socket Thresher
Config.Recipes.push([Recipe.Socket.Weapon, 256]); // Socket Cryptic Axe
Config.Recipes.push([Recipe.Socket.Armor, 442]); // Socket Sacred Armor
Config.Recipes.push([Recipe.Socket.Armor, 443]); // Socket Archon Plate
/* Runeword config. All recipes are available in Templates/Runewords.txt
* !!!NOTE!!! enhanced damage and enhanced defense on runewords are broken in the core right now
* Keep lines follow pickit format and any given runeword is tested vs ALL lines so you don't need to repeat them
*/
Config.MakeRunewords = false; // Set to true to enable runeword making/rerolling
Config.Runewords.push([Runeword.Insight, 255]); // Thresher
Config.Runewords.push([Runeword.Insight, 256]); // Cryptic Axe
Config.KeepRunewords.push("[type] == polearm # [meditationaura] == 17");
Config.Runewords.push([Runeword.Spirit, 447]); // Monarch
Config.Runewords.push([Runeword.Spirit, 498]); // Sacred Targe
Config.KeepRunewords.push("[type] == shield || [type] == auricshields # [fcr] == 35");
// General config
Config.PublicMode = 0; // 1 = invite, 2 = accept, 0 = disable
Config.LastMessage = ""; // Message to say at the end of the run.
Config.ShitList = false; // Blacklist hostile players so they don't get invited to party.
Config.MinGameTime = 10; // Min game time in seconds. Bot will stay in game if the run is completed before.
Config.MaxGameTime = 0; // Maximum game time in seconds. Quit game when limit is reached.
Config.TeleSwitch = false; // Switch to slot II when teleporting more than 1 node.
Config.OpenChests = false; // Open chests. Controls key buying.
Config.MiniShopBot = false; // Scan items in NPC shops.
Config.TownCheck = false; // Go to town if out of potions
Config.LogExperience = true; // Print experience statistics in the manager.
// Fastmod config
Config.FCR = 0; // 0 - disable, 1 to 255 - set value of faster cast rate
Config.FHR = 100; // 0 - disable, 1 to 255 - set value of faster hit recovery
Config.FBR = 100; // 0 - disable, 1 to 255 - set value of faster block recovery
Config.IAS = 100; // 0 - disable, 1 to 255 - set value of increased attack speed
Config.PacketTeleport = false; // Use packets to teleport - no animation and max speed
// Anti-hostile config
Config.AntiHostile = false; // Enable anti-hostile
Config.HostileAction = 0; // 0 - quit immediately, 1 - quit when hostile player is sighted, 2 - attack hostile
// DClone config
Config.StopOnDClone = true; // Go to town and idle as soon as Diablo walks the Earth
Config.SoJWaitTime = 5; // Time in minutes to wait for another SoJ sale before leaving game. 0 = disabled
// Monster skip config
// Skip immune monsters. Possible options: "fire", "cold", "lightning", "poison", "physical", "magic".
// You can combine multiple resists with "and", for example - "fire and cold", "physical and cold and poison"
Config.SkipImmune = [];
// Skip enchanted monsters. Possible options: "extra strong", "extra fast", "cursed", "magic resistant", "fire enchanted", "lightning enchanted", "cold enchanted", "mana burn", "teleportation", "spectral hit", "stone skin", "multiple shots".
// You can combine multiple enchantments with "and", for example - "cursed and extra fast", "mana burn and extra strong and lightning enchanted"
Config.SkipEnchant = [];
// Skip monsters with auras. Possible options: "fanaticism", "might", "holy fire", "blessed aim", "holy freeze", "holy shock". Conviction is bugged, don't use it.
Config.SkipAura = [];
/* Attack config
* To disable an attack, set it to -1
* Skills MUST be POSITIVE numbers. For reference see

*/
Config.AttackSkill[0] = -1; // Preattack skill. Not implemented yet.
Config.AttackSkill[1] = 97; // Primary skill to bosses.
Config.AttackSkill[2] = 122; // Primary aura to bosses
Config.AttackSkill[3] = 97; // Primary skill to others.
Config.AttackSkill[4] = 122; // Primary aura to others.
Config.AttackSkill[5] = -1; // Secondary skill if monster is immune to primary.
Config.AttackSkill[6] = -1; // Secondary aura.
Config.BossPriority = false; // Set to true to attack Unique/SuperUnique monsters first when clearing
Config.ClearType = 0xF; // Monster spectype to kill in level clear scripts (ie. Mausoleum). 0xF = skip normal, 0x7 = champions/bosses, 0 = all
// Class specific config
Config.AvoidDolls = false; // Try to attack Soul Killers from a greater distance with hammerdins.
Config.Vigor = true; // Swith to Vigor when running
Config.Redemption = [100, 100]; // Switch to Redemption after clearing an area if under designated life or mana. Format: [lifepercent, manapercent]
}