diff --git a/Chaos/DrakathsArmor.cs b/Chaos/DrakathsArmor.cs index 7ce8c10742..6d02cbd349 100644 --- a/Chaos/DrakathsArmor.cs +++ b/Chaos/DrakathsArmor.cs @@ -66,17 +66,11 @@ public void ScriptMain(IScriptInterface bot) public void GetBoth() { - LOC.Complete13LOC(); - DrakathArmorQuest(); - if (!Core.CheckInventory("Dage's Scroll Fragment", 13)) - { - Core.Logger( - "Cannot continue with \"Drakath Armor\" not enough \"Dage's Scroll Fragment\"" - ); + DrakathOriginalArmor(); + if (!Core.CheckInventory("Original Drakath Armor")) return; - } - Core.BuyItem(Bot.Map.Name, 994, "Original Drakath Armor"); - Core.BuyItem(Bot.Map.Name, 994, "Drakath Armor"); + + DrakathArmor(); } public void DrakathArmor() @@ -86,7 +80,25 @@ public void DrakathArmor() LOC.Complete13LOC(); DrakathArmorQuest(); - Core.BuyItem(Bot.Map.Name, 994, "Drakath Armor"); + if (!Core.CheckInventory(60796)) + return; + + Core.Join("confrontation"); + if (Bot.ShouldExit) + return; + + Bot.Shops.Load(994); + if (!Bot.Shops.IsLoaded || Bot.Shops.ID != 994) + { + Core.Logger("Could not load Drakath Armor shop 994. The quest reward token is already owned."); + return; + } + + // The reward token confirms the turn-in even when the quest history is stale. + Bot.Shops.BuyItem("Drakath Armor", 1); + Bot.Wait.ForTrue(() => Bot.Inventory.Contains("Drakath Armor"), 20); + if (!Core.CheckInventory("Drakath Armor")) + Core.Logger("Drakath Armor purchase failed with reward token 60796 present. Check the shop unlock and inventory space."); } public void DrakathOriginalArmor() @@ -96,7 +108,25 @@ public void DrakathOriginalArmor() LOC.Complete13LOC(); DrakathArmorQuest(); - Core.BuyItem(Bot.Map.Name, 994, "Original Drakath Armor"); + if (!Core.CheckInventory(60796)) + return; + + Core.Join("confrontation"); + if (Bot.ShouldExit) + return; + + Bot.Shops.Load(994); + if (!Bot.Shops.IsLoaded || Bot.Shops.ID != 994) + { + Core.Logger("Could not load Drakath Armor shop 994. The quest reward token is already owned."); + return; + } + + // The reward token confirms the turn-in even when the quest history is stale. + Bot.Shops.BuyItem("Original Drakath Armor", 1); + Bot.Wait.ForTrue(() => Bot.Inventory.Contains("Original Drakath Armor"), 20); + if (!Core.CheckInventory("Original Drakath Armor")) + Core.Logger("Original Drakath Armor purchase failed with reward token 60796 present. Check the shop unlock and inventory space."); } public void DrakathArmorQuest() @@ -140,10 +170,7 @@ public void DrakathArmorQuest() Daily.DagesScrollFragment(); if (!Core.CheckInventory("Dage's Scroll Fragment", 13)) { - Core.Logger( - "Important", - "You do not own \"Dage's Scroll Fragment\". We'll Farm the materials, but you still need to run this again to get Dage's Scroll Fragment -- tomorrow." - ); + Core.Logger("Build Drakath Armor needs 13 Dage scroll fragments before turn-in. The daily did not provide enough. Run again when more are available."); return; } } @@ -152,7 +179,18 @@ public void DrakathArmorQuest() Core.CheckInventory("Dage's Scroll Fragment", 13) && Core.CheckInventory("Blinding Light of Destiny") ) - Core.EnsureComplete(3882); // Complete Quest: Get Your Original Drakath's Armor - Bot.Wait.ForPickup("Get Your Original Drakath's Armor"); + { + Core.EnsureAccept(3882); + if (!Bot.Quests.IsInProgress(3882)) + { + Core.Logger("Build Drakath Armor quest 3882 could not be accepted. The armor purchase was skipped."); + return; + } + + Core.EnsureComplete(3882); + Bot.Wait.ForPickup(60796); + if (!Core.CheckInventory(60796)) + Core.Logger($"Build Drakath Armor turn-in did not yield reward token 60796. Current Dage scroll fragments: {Bot.Inventory.GetQuantity("Dage's Scroll Fragment")}. Check the quest turn-in and reward pickup before farming more fragments."); + } } } diff --git a/Chaos/EternalDrakathSet.cs b/Chaos/EternalDrakathSet.cs index 8596a995aa..c490591d4b 100644 --- a/Chaos/EternalDrakathSet.cs +++ b/Chaos/EternalDrakathSet.cs @@ -80,7 +80,7 @@ public void getSet(bool singleitem = false, string? item = null) if (!Core.CheckInventory("Drakath Armor")) //"Drakath the Eternal" { Core.Logger( - "Cannot continue with \"Drakath Armor\" not enough \"Dage's Scroll Fragment\", cannot complete \"Drakath the Eternal\"." + "Drakath Armor is missing, so Drakath the Eternal cannot be obtained. Check the earlier quest reward and armor purchase messages." ); return; } diff --git a/CoreBots.cs b/CoreBots.cs index 104f73e47a..13fa6b4616 100644 --- a/CoreBots.cs +++ b/CoreBots.cs @@ -371,7 +371,8 @@ Artix ServerTest Bot.Lite.DisableSoundFx = true; // Drop Options - Bot.Drops.RejectElse = changeTo; + // temporary change, remove after new client update with higher number than 1.4.5.0 + Bot.Drops.RejectElse = false; Bot.Drops.StopAsync(); Bot.Drops.Clear(); Bot.Drops.Start(); diff --git a/CoreFarms.cs b/CoreFarms.cs index f9ea5a79f0..787aad4719 100644 --- a/CoreFarms.cs +++ b/CoreFarms.cs @@ -1390,6 +1390,7 @@ public void GetAllRanks(bool doDeathPit) YewMountainsREP(); YokaiREP(); CarcossaCourtRep(); + SkyeREP(); if (doDeathPit) { DeathPitBrawlREP(); @@ -4241,7 +4242,7 @@ public void YewMountainsREP(int rank = 10) if (!Bot.Quests.IsDailyComplete(10342)) { Core.EnsureAccept(10342); - Core.KillMonster("thelimacity", "r6", "Left", "*", "Thelima Soldiers Trained", 100); + Core.KillMonster("thelimacity", "r6", "Left", "*", "Thelima Soldiers Trained", 100, isTemp: false); Core.EnsureComplete(10342); } diff --git a/Enhancement/ItemEnhancementManager.cs b/Enhancement/ItemEnhancementManager.cs new file mode 100644 index 0000000000..4283b3197f --- /dev/null +++ b/Enhancement/ItemEnhancementManager.cs @@ -0,0 +1,281 @@ +/* +name: Item Enhancement Manager +description: Unbanks and enhances selected weapons, helms, and capes, leaving them in inventory. Bypasses Disable AutoEnhance. +tags: enhancement, unbank, weapon, helm, cape, inventory +*/ +//cs_include Scripts/CoreBots.cs +//cs_include Scripts/CoreAdvanced.cs +using System; +using System.Collections.Generic; +using System.Linq; +using Skua.Core.Interfaces; +using Skua.Core.Models.Items; +using Skua.Core.Options; + +#nullable enable + +public class ItemEnhancementManager +{ + private IScriptInterface Bot => IScriptInterface.Instance; + private CoreBots Core => CoreBots.Instance; + private CoreAdvanced Adv => CoreAdvanced.Instance; + + // Retain the prototype storage key so existing item selections are preserved. + public string OptionsStorage = "ItemEnhancementPrototype"; + public bool DontPreconfigure = true; + public string[] MultiOptions = { "Weapon", "Helm", "Cape", "Skip_Options" }; + + public List Skip_Options = new() + { + CoreBots.Instance.SkipOptions, + }; + + public List Weapon = new() + { + new Option("WeaponItem1", "Item 1", "Weapon name. Leave blank to skip.", string.Empty), + new Option("WeaponEnhancement1", "Enhancement 1", "Enhancement for Item 1.", WeaponEnhancement.None), + new Option("WeaponItem2", "Item 2", "Weapon name. Leave blank to skip.", string.Empty), + new Option("WeaponEnhancement2", "Enhancement 2", "Enhancement for Item 2.", WeaponEnhancement.None), + new Option("WeaponItem3", "Item 3", "Weapon name. Leave blank to skip.", string.Empty), + new Option("WeaponEnhancement3", "Enhancement 3", "Enhancement for Item 3.", WeaponEnhancement.None), + new Option("WeaponItem4", "Item 4", "Weapon name. Leave blank to skip.", string.Empty), + new Option("WeaponEnhancement4", "Enhancement 4", "Enhancement for Item 4.", WeaponEnhancement.None), + new Option("WeaponItem5", "Item 5", "Weapon name. Leave blank to skip.", string.Empty), + new Option("WeaponEnhancement5", "Enhancement 5", "Enhancement for Item 5.", WeaponEnhancement.None), + }; + + public List Helm = new() + { + new Option("HelmItem1", "Item 1", "Helm name. Leave blank to skip.", string.Empty), + new Option("HelmEnhancement1", "Enhancement 1", "Enhancement for Item 1.", HelmEnhancement.None), + new Option("HelmItem2", "Item 2", "Helm name. Leave blank to skip.", string.Empty), + new Option("HelmEnhancement2", "Enhancement 2", "Enhancement for Item 2.", HelmEnhancement.None), + new Option("HelmItem3", "Item 3", "Helm name. Leave blank to skip.", string.Empty), + new Option("HelmEnhancement3", "Enhancement 3", "Enhancement for Item 3.", HelmEnhancement.None), + new Option("HelmItem4", "Item 4", "Helm name. Leave blank to skip.", string.Empty), + new Option("HelmEnhancement4", "Enhancement 4", "Enhancement for Item 4.", HelmEnhancement.None), + new Option("HelmItem5", "Item 5", "Helm name. Leave blank to skip.", string.Empty), + new Option("HelmEnhancement5", "Enhancement 5", "Enhancement for Item 5.", HelmEnhancement.None), + }; + + public List Cape = new() + { + new Option("CapeItem1", "Item 1", "Cape name. Leave blank to skip.", string.Empty), + new Option("CapeEnhancement1", "Enhancement 1", "Enhancement for Item 1.", CapeEnhancement.None), + new Option("CapeItem2", "Item 2", "Cape name. Leave blank to skip.", string.Empty), + new Option("CapeEnhancement2", "Enhancement 2", "Enhancement for Item 2.", CapeEnhancement.None), + new Option("CapeItem3", "Item 3", "Cape name. Leave blank to skip.", string.Empty), + new Option("CapeEnhancement3", "Enhancement 3", "Enhancement for Item 3.", CapeEnhancement.None), + new Option("CapeItem4", "Item 4", "Cape name. Leave blank to skip.", string.Empty), + new Option("CapeEnhancement4", "Enhancement 4", "Enhancement for Item 4.", CapeEnhancement.None), + new Option("CapeItem5", "Item 5", "Cape name. Leave blank to skip.", string.Empty), + new Option("CapeEnhancement5", "Enhancement 5", "Enhancement for Item 5.", CapeEnhancement.None), + }; + + public void ScriptMain(IScriptInterface bot) + { + if (!bot.Config!.Get(Core.SkipOptions)) + bot.Config.Configure(); + if (Bot.ShouldExit) + return; + + List itemNames = Weapon.Concat(Helm).Concat(Cape) + .Where(option => option.Type == typeof(string)) + .Select(option => (Bot.Config.Get(option) ?? string.Empty).Trim()) + .Where(name => name.Length > 0) + .ToList(); + Core.BankingBlackList.AddRange(itemNames); + Core.BankingBlackList.AddRange(Bot.Inventory.Items + .Where(item => itemNames.Any(name => string.Equals(item.Name?.Trim(), name, StringComparison.OrdinalIgnoreCase))) + .Select(item => item.Name)); + + Core.SetOptions(disableClassSwap: true); + try + { + Run(); + } + finally + { + Core.SetOptions(false); + } + } + + private void Run() + { + foreach (string category in MultiOptions) + { + if (category == "Skip_Options") + continue; + + for (int index = 1; index <= 5; index++) + { + if (Bot.ShouldExit) + return; + + string itemName = (Bot.Config!.Get(category, category + "Item" + index) ?? string.Empty).Trim(); + if (itemName.Length == 0) + continue; + + string selection; + if (category == "Weapon") + selection = Bot.Config.Get(category, category + "Enhancement" + index).ToString(); + else if (category == "Helm") + selection = Bot.Config.Get(category, category + "Enhancement" + index).ToString(); + else + selection = Bot.Config.Get(category, category + "Enhancement" + index).ToString(); + + if (selection == "None") + continue; + + InventoryItem? item = Bot.Inventory.Items.Concat(Bot.Bank.Items).FirstOrDefault(candidate => + candidate != null && string.Equals(candidate.Name?.Trim(), itemName, StringComparison.OrdinalIgnoreCase)); + string logName = new string((item?.Name ?? itemName) + .Where(character => character >= ' ' && character <= '~' && "%<>&\"'".IndexOf(character) < 0) + .ToArray()); + if (item == null) + { + Core.Logger($"{category} item {index} - {logName} was not found in inventory or bank. Check the configured name."); + continue; + } + + if ((category == "Weapon" && item.ItemGroup != "Weapon") + || (category == "Helm" && item.Category != ItemCategory.Helm) + || (category == "Cape" && item.Category != ItemCategory.Cape)) + { + Core.Logger($"{category} item {index} - {logName} [ID {item.ID}] is in the wrong equipment section. Skipping."); + continue; + } + + bool regular = Enum.TryParse(selection, out EnhancementType type) + && Enum.IsDefined(typeof(EnhancementType), type); + WeaponSpecial weapon = WeaponSpecial.None; + HelmSpecial helm = HelmSpecial.None; + CapeSpecial cape = CapeSpecial.None; + if (!regular) + { + type = EnhancementType.Lucky; + if (category == "Weapon") + { + if (!Enum.TryParse(selection, out weapon)) + continue; + if (weapon == WeaponSpecial.Forge) + { + Core.Logger($"Weapon item {index} - {logName} [ID {item.ID}]: Forge is not supported by the current Core enhancement route. Skipping."); + continue; + } + if ((int)weapon >= 2 && (int)weapon <= 6 && !Adv.uAwe()) + { + Core.Logger($"Weapon item {index} - {logName} [ID {item.ID}] requires unlocked Awe enhancements. Skipping."); + continue; + } + if (Enum.IsDefined(typeof(EnhancementType), item.EnhancementPatternID)) + type = (EnhancementType)item.EnhancementPatternID; + } + else if (category == "Helm") + { + if (!Enum.TryParse(selection, out helm)) + continue; + } + else if (!Enum.TryParse(selection, out cape)) + continue; + } + + Core.BankingBlackList.Add(item.Name); + int itemID = item.ID; + Core.Unbank(itemID); + item = Bot.Inventory.Items.FirstOrDefault(candidate => candidate.ID == itemID); + if (item == null) + { + Core.Logger($"{category} item {index} - {logName} [ID {itemID}] could not be moved into inventory. Skipping."); + continue; + } + + Core.Logger($"Applying {selection.Replace('_', ' ')} to {category} item {index} - {logName} [ID {itemID}]."); + Adv.EnhanceItem(item.Name, type, cape, helm, weapon, logging: true, bypassDisableAutoEnhance: true); + bool applied = Bot.Wait.ForTrue(() => + { + InventoryItem? updated = Bot.Inventory.Items.FirstOrDefault(candidate => candidate.ID == itemID); + if (updated == null || updated.EnhancementLevel <= 0) + return false; + if (weapon != WeaponSpecial.None) + return Core.GetItemProperty(updated, "ProcID") == (int)weapon; + if (helm != HelmSpecial.None) + return updated.EnhancementPatternID == (int)helm; + if (cape != CapeSpecial.None) + return updated.EnhancementPatternID == (int)cape; + return updated.EnhancementPatternID == (int)type; + }, 10); + + if (applied) + Core.Logger($"Verified {category} item {index} - {logName} [ID {itemID}]. The item remains in inventory."); + else + Core.Logger($"Could not verify the selected enhancement for {category} item {index} - {logName} [ID {itemID}]. Check the Core enhancement logs."); + } + } + + Core.Logger("Item enhancement pass finished."); + } + + public enum WeaponEnhancement + { + None, + Forge, + Lacerate, + Smite, + Valiance, + Arcanas_Concerto, + Acheron, + Elysium, + Praxis, + Dauntless, + Ravenous, + Spiral_Carve, + Awe_Blast, + Health_Vamp, + Mana_Vamp, + Powerword_Die, + Fighter, + Thief, + Hybrid, + Wizard, + Healer, + SpellBreaker, + Lucky, + } + + public enum HelmEnhancement + { + None, + Forge, + Vim, + Examen, + Anima, + Pneuma, + Hearty, + Fighter, + Thief, + Hybrid, + Wizard, + Healer, + SpellBreaker, + Lucky, + } + + public enum CapeEnhancement + { + None, + Forge, + Absolution, + Avarice, + Vainglory, + Penitence, + Lament, + Fighter, + Thief, + Hybrid, + Wizard, + Healer, + SpellBreaker, + Lucky, + } +} diff --git a/Enhancement/UnlockForgeEnhancements.cs b/Enhancement/UnlockForgeEnhancements.cs index a58d113bfb..a08c3b60f4 100644 --- a/Enhancement/UnlockForgeEnhancements.cs +++ b/Enhancement/UnlockForgeEnhancements.cs @@ -736,7 +736,7 @@ public void HerosValiance() if (!Core.CheckInventory("Drakath the Eternal")) { Core.Logger( - "Cannot \"Finish\" `Heros Valiance quest. We'll continue farming it though...\n" + "Hero Valiance cannot finish without Drakath the Eternal. Continuing with the remaining materials. Check the earlier Drakath prerequisite messages.\n" + $"\"Drakath Armor\": x{Bot.Inventory.GetQuantity("Drakath Armor")}\n" + $"\"Dage's Scroll Fragment\" x{Bot.Inventory.GetQuantity("Dage's Scroll Fragment")}\n" + $"\"Drakath the Eternal\" x{Bot.Inventory.GetQuantity("Drakath the Eternal")}" @@ -778,7 +778,7 @@ public void HerosValiance() } else Core.Logger( - "Could not complete \"Hero's Valiance\", Try again tomarrow after then \"Dage's Scroll Fragment\" Daily." + "Hero Valiance was not completed because Drakath the Eternal is missing. Check the earlier Drakath prerequisite messages before farming more daily fragments." ); } diff --git a/Evil/SDKA/CoreSDKA.cs b/Evil/SDKA/CoreSDKA.cs index 5c99cf6a73..f5d8bd3446 100644 --- a/Evil/SDKA/CoreSDKA.cs +++ b/Evil/SDKA/CoreSDKA.cs @@ -1011,15 +1011,33 @@ public void UpgradeMetal(HardCoreMetalsEnum metal) FarmDSO(6); Core.HuntMonster("arcangrove", "Seed Spitter", "Deadly Knightshade", 16); Core.HuntMonster("bludrut4", "Shadow Serpent", "Dark Energy", 26, isTemp: false); + Core.EnsureComplete(upgradeMetalQuest); + Bot.Wait.ForPickup(upgradeMetalName); + if (!Core.CheckInventory(upgradeMetalName)) + { + Core.Logger($"Failed to obtain {upgradeMetalName}. Cannot continue the metal upgrade.", stopBot: true); + return; + } } // Getting the fully upgraded metal // IF the gooquest isnt unlocked do the very slow method first. if (!Bot.Quests.IsUnlocked(2165)) { - FarmDSO(5500); - DoomMerge("Corrupt Spirit Orb", 5); - DoomMerge("Ominous Aura", 2); + int missingAuras = 0; + if (!Core.CheckInventory("Ominous Aura", 2)) + missingAuras = 2 - Bot.Inventory.GetQuantity("Ominous Aura"); + + // Reserve five orbs for the metal and fifty for each missing aura. + int requiredOrbs = 5 + (missingAuras * 50); + if (!Core.CheckInventory("Corrupt Spirit Orb", requiredOrbs)) + { + int missingOrbs = requiredOrbs - Bot.Inventory.GetQuantity("Corrupt Spirit Orb"); + FarmDSO(missingOrbs * 100); + DoomMerge("Corrupt Spirit Orb", missingOrbs); + } + if (missingAuras > 0) + DoomMerge("Ominous Aura", missingAuras); } else { @@ -1029,6 +1047,12 @@ public void UpgradeMetal(HardCoreMetalsEnum metal) Core.BuyItem("dwarfhold", 434, fullMetalName); } + if (!Core.CheckInventory(fullMetalName)) + { + Core.Logger($"Failed to obtain {fullMetalName}. Cannot continue to the Forge Key quest.", stopBot: true); + return; + } + if (!Story.QuestProgression(forgeKeyQuest)) { // Unlocking "DoomSquire Weapon Kit" [Quest ID 2144] Core.AddDrop(fullMetalName); diff --git a/Hollowborn/HollowbornNation/0RunAll.cs b/Hollowborn/HollowbornNation/0RunAll.cs new file mode 100644 index 0000000000..e48503d588 --- /dev/null +++ b/Hollowborn/HollowbornNation/0RunAll.cs @@ -0,0 +1,166 @@ +/* +name: Hollowborn Archfiend - Run All +description: does all of Hollowborn Archfiend +tags: hollowborn, hollowborn archfiend, hollowbornarchfiend, hollowborn nation, do all, run all +*/ +//cs_include Scripts/CoreBots.cs +//cs_include Scripts/CoreFarms.cs +//cs_include Scripts/CoreAdvanced.cs +//cs_include Scripts/CoreDailies.cs +//cs_include Scripts/CoreStory.cs +//cs_include Scripts/Nation/CoreNation.cs +//cs_include Scripts/Nation/Various/JuggernautItems.cs +//cs_include Scripts/Hollowborn/CoreHollowborn.cs +//cs_include Scripts/Hollowborn/Materials/HollowSoul.cs +//cs_include Scripts/Hollowborn/HollowbornOblivionBlade.cs +//cs_include Scripts/Nation/Various/ShadowLegacyofNulgath.cs +//cs_include Scripts/Nation/AFDL/WillpowerExtraction.cs +//cs_include Scripts/Nation/Various/GoldenHanzoVoid.cs +//cs_include Scripts/Nation/AFDL/NulgathDemandsWork.cs +//cs_include Scripts/Nation/VHL/CoreVHL.cs +//cs_include Scripts/Good/BLOD/CoreBLOD.cs +//cs_include Scripts/Story/BattleUnder.cs +//cs_include Scripts/Nation/Various/EnchantedNulgathNationHouse.cs +//cs_include Scripts/Hollowborn/HollowbornNation/1InTheFiendsShadow.cs +//cs_include Scripts/Hollowborn/HollowbornNation/2FiendsPurgatory.cs +//cs_include Scripts/Hollowborn/HollowbornNation/3MuddledPast.cs +//cs_include Scripts/Hollowborn/HollowbornNation/4TugandPull.cs +//cs_include Scripts/Hollowborn/HollowbornNation/5RolesUnreversed.cs +using Skua.Core.Interfaces; +using Skua.Core.Options; + +public class HBA0 +{ + private IScriptInterface Bot => IScriptInterface.Instance; + private CoreBots Core => CoreBots.Instance; + private static InTheFiendsShadow ITFS + { + get => _ITFS ??= new InTheFiendsShadow(); + set => _ITFS = value; + } + private static InTheFiendsShadow _ITFS; + private static FiendsPurgatory FP + { + get => _FP ??= new FiendsPurgatory(); + set => _FP = value; + } + private static FiendsPurgatory _FP; + private static MuddledPast MP + { + get => _MP ??= new MuddledPast(); + set => _MP = value; + } + private static MuddledPast _MP; + private static TugandPull TaP + { + get => _TaP ??= new TugandPull(); + set => _TaP = value; + } + private static TugandPull _TaP; + private static RolesUnreversed RU + { + get => _RU ??= new RolesUnreversed(); + set => _RU = value; + } + private static RolesUnreversed _RU; + + public string OptionsStorage = "HollowbornArchfiend"; + public bool DontPreconfigure = true; + public List Options = new() + { + new Option( + "getAll", + "Get all items", + "If true, each quest with selectable rewards will be completed until all rewards are collected. " + + "If false, use the reward selection for each quest.", + true + ), + CoreBots.Instance.SkipOptions, + new Option( + "In The Fiend's Shadow", + "In The Fiend's Shadow Reward", + "Reward selection for In The Fiend's Shadow", + InTheFiendsShadow.Rewards.All + ), + new Option( + "Fiend's Purgatory", + "Fiend's Purgatory Reward", + "Reward selection for Fiend's Purgatory", + FiendsPurgatory.Rewards.All + ), + new Option( + "Roles Unreversed", + "Roles Unreversed Reward", + "Reward selection for Roles Unreversed", + RolesUnreversed.Rewards.All + ), + }; + + public void ScriptMain(IScriptInterface bot) + { + Core.SetOptions(); + + GetAll(); + + Core.SetOptions(false); + } + + public void GetAll() + { + bool getAllDrops = Bot.Config!.Get("getAll"); + var fiendsShadowReward = getAllDrops + ? InTheFiendsShadow.Rewards.All + : Bot.Config.Get("In The Fiend's Shadow"); + var fiendsPurgatoryReward = getAllDrops + ? FiendsPurgatory.Rewards.All + : Bot.Config.Get("Fiend's Purgatory"); + var rolesUnreversedReward = getAllDrops + ? RolesUnreversed.Rewards.All + : Bot.Config.Get("Roles Unreversed"); + + if (fiendsShadowReward != InTheFiendsShadow.Rewards.None) + GetFiendsShadowRewards(fiendsShadowReward); + if (!Bot.ShouldExit && fiendsPurgatoryReward != FiendsPurgatory.Rewards.None) + FP.Purgatory(fiendsPurgatoryReward); + if (!Bot.ShouldExit) + MP.DoMuddledPast(); + if (!Bot.ShouldExit) + TaP.DoTugandPull(); + if (!Bot.ShouldExit && rolesUnreversedReward != RolesUnreversed.Rewards.None) + GetRolesUnreversedRewards(rolesUnreversedReward); + } + + private void GetFiendsShadowRewards(InTheFiendsShadow.Rewards reward) + { + if (reward == InTheFiendsShadow.Rewards.All) + { + foreach (InTheFiendsShadow.Rewards selectedReward in Enum.GetValues()) + { + if (Bot.ShouldExit) + return; + if (selectedReward != InTheFiendsShadow.Rewards.All && selectedReward != InTheFiendsShadow.Rewards.None) + ITFS.FiendsShadow(selectedReward); + } + return; + } + + ITFS.FiendsShadow(reward); + } + + private void GetRolesUnreversedRewards(RolesUnreversed.Rewards reward) + { + if (reward == RolesUnreversed.Rewards.All) + { + foreach (RolesUnreversed.Rewards selectedReward in Enum.GetValues()) + { + if (Bot.ShouldExit) + return; + if (selectedReward != RolesUnreversed.Rewards.All && selectedReward != RolesUnreversed.Rewards.None) + RU.DoRolesUnreversed(selectedReward); + } + return; + } + + RU.DoRolesUnreversed(reward); + } +} diff --git a/Hollowborn/HollowbornNation/5RolesUnreversed.cs b/Hollowborn/HollowbornNation/5RolesUnreversed.cs index aefaa94c7b..5a75f3b258 100644 --- a/Hollowborn/HollowbornNation/5RolesUnreversed.cs +++ b/Hollowborn/HollowbornNation/5RolesUnreversed.cs @@ -120,12 +120,12 @@ public void DoRolesUnreversed(Rewards reward = Rewards.All, bool QuestOnly = fal { Rewards[] allRewards = [.. Enum.GetValues().Where(r => r != Rewards.All && r != Rewards.None)]; - chosenRewardNames = [.. allRewards.Select(r => r.ToString().Replace('_', ' '))]; + chosenRewardNames = [.. allRewards.Select(GetRewardName)]; chosenRewardIds = [.. allRewards.Select(r => (int)r)]; } else { - chosenRewardNames = [reward.ToString().Replace('_', ' ')]; + chosenRewardNames = [GetRewardName(reward)]; chosenRewardIds = [(int)reward]; } } @@ -206,4 +206,9 @@ public enum Rewards "Hollowborn Void Orb", "Hollowborn Shadow Morph of the Oversoul", }; + + private static string GetRewardName(Rewards reward) => + reward == Rewards.Hollowborn_Mini_Nulgath_Battle_Pet + ? "Hollowborn Mini-Nulgath Battle Pet" + : reward.ToString().Replace('_', ' '); } diff --git a/Other/AgeOfRuinDrops.cs b/Other/AgeOfRuinDrops.cs index df7b520fb2..290a3d5705 100644 --- a/Other/AgeOfRuinDrops.cs +++ b/Other/AgeOfRuinDrops.cs @@ -1,198 +1,203 @@ -/* -name: Age Of Ruin Drops -description: farms all acs drops from Age Of Ruin saga maps. -tags: age, ruin, drops -*/ -//cs_include Scripts/CoreBots.cs -//cs_include Scripts/CoreFarms.cs -//cs_include Scripts/CoreStory.cs -//cs_include Scripts/CoreAdvanced.cs -//cs_include Scripts/Story/AgeOfRuin/CoreAOR.cs -//cs_include Scripts/Story/ShadowsOfWar/CoreSoW.cs -using Skua.Core.Interfaces; -using Skua.Core.Models.Items; - -public class AgeOfRuinDrops -{ - private IScriptInterface Bot => IScriptInterface.Instance; - private CoreBots Core => CoreBots.Instance; - private static CoreAOR AOR - { - get => _AOR ??= new CoreAOR(); - set => _AOR = value; - } - private static CoreAOR _AOR; - - public void ScriptMain(IScriptInterface Bot) - { - Core.SetOptions(); - - GetDrops(); - - Core.SetOptions(false); - } - - public void GetDrops() - { - AOR.DoAll(); - - #region Ashray - string[] KitefinSharkBait = { "Midnight Eroder Blade" }; - - Core.EquipClass(ClassType.Farm); - runEngine(KitefinSharkBait, "ashray", "Enter", "Left"); - - string[] SeafoamElemental = - { - "Crossed Midnight Cutlasses", - "Dual Nightmare Hunter Pistol", - "Holstered Midnight Eroder Pistols", - "Midnight Back Cutlasses", - }; - - Core.EquipClass(ClassType.Solo); - runEngine(SeafoamElemental, "ashray", "r9", "Left"); - - string[] StagnantWater = { "Nightmare Hunter Pistol" }; - - Core.EquipClass(ClassType.Farm); - runEngine(StagnantWater, "ashray", "r7", "Left"); - #endregion - - #region Midnight Zone - string[] Sparagmos = - { - "ERAD Arrows", - "Princess Brittany Portrait", - "Royal Dress Display", - "Sleeping Monitor", - "Sparagmos A.I. Tank", - "Sparagmos Wires", - "Undine Coffee Table", - "Undine Visitor Badge", - "Water Temple Pedestal", - }; - - Core.EquipClass(ClassType.Solo); - runEngine(Sparagmos, "midnightzone", "r9", "Left"); - - string[] UndeadPrisoner = - { - "Experimentation Chair", - "Scattered Bones", - "Undine Observation Lights", - }; - - Core.EquipClass(ClassType.Farm); - runEngine(UndeadPrisoner, "midnightzone", "r4", "Left"); - #endregion - - #region Abyssal Zone - string[] BlightedWater = - { - "Avatar of Water Mural", - "Drowning Machine Mural", - "Waves of Tumult", - }; - - Core.EquipClass(ClassType.Farm); - runEngine(BlightedWater, "abyssalzone", "r4", "Left"); - - string[] FoamScavenger = { "Ancient Fissure", "Devouring Sea Mural" }; - - Core.EquipClass(ClassType.Farm); - runEngine(FoamScavenger, "abyssalzone", "r7", "Left"); - - string[] ShadowViscera = { "Champion Undine Mural", "Colossus Mural" }; - - Core.EquipClass(ClassType.Farm); - runEngine(ShadowViscera, "abyssalzone", "r5", "Left"); - - string[] TheAshray = - { - "Ascending Kathool Tentacle", - "Ashray Plaque", - "Descending Kathool Tentacle", - }; - - Core.EquipClass(ClassType.Solo); - runEngine(TheAshray, "abyssalzone", "r13", "Right"); - #endregion - - #region Trench Observatory - string[] LadyNoelle = - { - "Ashray Trench Pedestal", - "Kathoolian Arms", - "Kathoolian Pinnacle", - "Kathoolian Tentacles", - "Monstrous Fa", - "Monstrous Fa Morph", - }; - - Core.EquipClass(ClassType.Solo); - runEngine(LadyNoelle, "trenchobserve", "r9", "Left"); - - string[] NecroAdipocere = { "Brackish Coral" }; - - Core.EquipClass(ClassType.Farm); - runEngine(NecroAdipocere, "trenchobserve", "r8", "Left"); - - string[] SeaSpirit = { "Ashray Leyline", "Corruptive Tentacle" }; - - Core.EquipClass(ClassType.Farm); - runEngine(SeaSpirit, "trenchobserve", "r6", "Left"); - - string[] SeabaseTurret = { "Portable Sparagmos Table" }; - - Core.EquipClass(ClassType.Farm); - runEngine(SeabaseTurret, "trenchobserve", "r4", "Left"); - - string[] VeneratedWraith = { "Broken Undine Window", "Colossal Ocean View" }; - - Core.EquipClass(ClassType.Farm); - runEngine(VeneratedWraith, "trenchobserve", "r2", "Left"); - #endregion - - #region Sea Voice - string[] VoiceintheSea = - { - "Calamity Atlanticus Trident", - "Glaucus Companion", - "Glaucus Hair", - "Glaucus Locks", - "Glaucus Mystic", - }; - - Core.EquipClass(ClassType.Solo); - runEngine(VoiceintheSea, "seavoice", "r2", "Left"); - #endregion - } - - private void runEngine(string[] rewards, string map, string cell, string pad) - { - foreach (string drop in rewards) - Core.AddDrop(drop); - - for (int i = 0; i < rewards.Length; i++) - { - string drop = rewards[i]; - if (Core.CheckInventory(drop, toInv: false)) - { - Core.RemoveDrop(drop); - continue; - } - - Core.Logger($"{drop}: ({i + 1}/{rewards.Length})"); - - while (!Bot.ShouldExit && !Core.CheckInventory(drop)) - Core.KillMonster(map, cell, pad, "*", log: false); - } - - foreach (string drop in rewards) - { - Core.Jump(); - Core.ToBank(drop); - } - } -} +/* +name: Age Of Ruin Drops +description: farms all acs drops from Age Of Ruin saga maps. +tags: age, ruin, drops +*/ +//cs_include Scripts/CoreBots.cs +//cs_include Scripts/CoreFarms.cs +//cs_include Scripts/CoreStory.cs +//cs_include Scripts/CoreAdvanced.cs +//cs_include Scripts/Story/AgeOfRuin/CoreAOR.cs +//cs_include Scripts/Story/ShadowsOfWar/CoreSoW.cs +using Skua.Core.Interfaces; +using Skua.Core.Models.Items; + +public class AgeOfRuinDrops +{ + private IScriptInterface Bot => IScriptInterface.Instance; + private CoreBots Core => CoreBots.Instance; + private static CoreAOR AOR + { + get => _AOR ??= new CoreAOR(); + set => _AOR = value; + } + private static CoreAOR _AOR; + + public void ScriptMain(IScriptInterface Bot) + { + Core.SetOptions(); + + GetDrops(); + + Core.SetOptions(false); + } + + public void GetDrops() + { + AOR.DoAll(); + + #region Ashray + string[] KitefinSharkBait = { "Midnight Eroder Blade" }; + + Core.EquipClass(ClassType.Farm); + runEngine(KitefinSharkBait, "ashray", "Enter", "Left"); + + string[] SeafoamElemental = + { + "Crossed Midnight Cutlasses", + "Dual Nightmare Hunter Pistol", + "Holstered Midnight Eroder Pistols", + "Midnight Back Cutlasses", + }; + + Core.EquipClass(ClassType.Solo); + runEngine(SeafoamElemental, "ashray", "r9", "Left"); + + string[] StagnantWater = { "Nightmare Hunter Pistol" }; + + Core.EquipClass(ClassType.Farm); + runEngine(StagnantWater, "ashray", "r7", "Left"); + #endregion + + #region Midnight Zone + string[] Sparagmos = + { + "ERAD Arrows", + "Princess Brittany Portrait", + "Royal Dress Display", + "Sleeping Monitor", + "Sparagmos A.I. Tank", + "Sparagmos Wires", + "Undine Coffee Table", + "Undine Visitor Badge", + "Water Temple Pedestal", + }; + + Core.EquipClass(ClassType.Solo); + runEngine(Sparagmos, "midnightzone", "r9", "Left"); + + string[] UndeadPrisoner = + { + "Experimentation Chair", + "Scattered Bones", + "Undine Observation Lights", + }; + + Core.EquipClass(ClassType.Farm); + runEngine(UndeadPrisoner, "midnightzone", "r4", "Left"); + #endregion + + #region Abyssal Zone + string[] BlightedWater = + { + "Avatar of Water Mural", + "Drowning Machine Mural", + "Waves of Tumult", + }; + + Core.EquipClass(ClassType.Farm); + runEngine(BlightedWater, "abyssalzone", "r4", "Left"); + + string[] FoamScavenger = { "Ancient Fissure", "Devouring Sea Mural" }; + + Core.EquipClass(ClassType.Farm); + runEngine(FoamScavenger, "abyssalzone", "r7", "Left"); + + string[] ShadowViscera = { "Champion Undine Mural", "Colossus Mural" }; + + Core.EquipClass(ClassType.Farm); + runEngine(ShadowViscera, "abyssalzone", "r5", "Left"); + + string[] TheAshray = + { + "Ascending Kathool Tentacle", + "Ashray Plaque", + "Descending Kathool Tentacle", + }; + + Core.EquipClass(ClassType.Solo); + runEngine(TheAshray, "abyssalzone", "r13", "Right"); + #endregion + + #region Trench Observatory + string[] LadyNoelle = + { + "Ashray Trench Pedestal", + "Kathoolian Arms", + "Kathoolian Pinnacle", + "Kathoolian Tentacles", + "Monstrous Fa", + "Monstrous Fa Morph", + }; + + Core.EquipClass(ClassType.Solo); + runEngine(LadyNoelle, "trenchobserve", "r9", "Left"); + + string[] NecroAdipocere = { "Brackish Coral" }; + + Core.EquipClass(ClassType.Farm); + runEngine(NecroAdipocere, "trenchobserve", "r8", "Left"); + + string[] SeaSpirit = { "Ashray Leyline", "Corruptive Tentacle" }; + + Core.EquipClass(ClassType.Farm); + runEngine(SeaSpirit, "trenchobserve", "r6", "Left"); + + string[] SeabaseTurret = { "Portable Sparagmos Table" }; + + Core.EquipClass(ClassType.Farm); + runEngine(SeabaseTurret, "trenchobserve", "r4", "Left"); + + string[] VeneratedWraith = { "Broken Undine Window", "Colossal Ocean View" }; + + Core.EquipClass(ClassType.Farm); + runEngine(VeneratedWraith, "trenchobserve", "r2", "Left"); + #endregion + + #region Sea Voice + string[] VoiceintheSea = + { + "Calamity Atlanticus Trident", + "Glaucus Companion", + "Glaucus Hair", + "Glaucus Locks", + "Glaucus Mystic", + }; + + Core.EquipClass(ClassType.Solo); + runEngine(VoiceintheSea, "seavoice", "r2", "Left"); + #endregion + } + + private void runEngine(string[] rewards, string map, string cell, string pad) + { + foreach (string drop in rewards) + Core.AddDrop(drop); + + for (int i = 0; i < rewards.Length; i++) + { + string drop = rewards[i]; + if (Core.CheckInventory(drop, toInv: false)) + { + Core.RemoveDrop(drop); + continue; + } + + Core.Logger($"{drop}: ({i + 1}/{rewards.Length})"); + + if (map == "seavoice") + AOR.FightVoiceInTheSea(drop); + else + { + while (!Bot.ShouldExit && !Core.CheckInventory(drop)) + Core.KillMonster(map, cell, pad, "*", log: false); + } + } + + foreach (string drop in rewards) + { + Core.Jump(); + Core.ToBank(drop); + } + } +} diff --git a/Other/Classes/VerusDoomKnight.cs b/Other/Classes/VerusDoomKnight.cs index d5ba394122..b8e1f90d34 100644 --- a/Other/Classes/VerusDoomKnight.cs +++ b/Other/Classes/VerusDoomKnight.cs @@ -8,6 +8,7 @@ //cs_include Scripts/CoreStory.cs //cs_include Scripts/CoreAdvanced.cs //cs_include Scripts/CoreDailies.cs +//cs_include Scripts/Story/AgeOfRuin/CoreAOR.cs //cs_include Scripts/Story/LordsofChaos/Core13LoC.cs //cs_include Scripts/Story/Doomwood/CoreDoomwood.cs @@ -43,6 +44,7 @@ public class VerusDoomKnightClass { private IScriptInterface Bot => IScriptInterface.Instance; private CoreBots Core => CoreBots.Instance; + private readonly CoreAOR AOR = new(); private static CoreFarms Farm { get => _Farm ??= new CoreFarms(); @@ -205,7 +207,7 @@ public void GetClass(bool rankup = true) Core.KillDoomKitten("Doomkitten's Molar", 20, false); Adv.GearStore(true, true); Infernal.FarmDeadlyDuo("Deadly Duo's Decayed Denture", 10); - KillThing(map: "seavoice", mobMapID: 1, itemUsed: 78994, item: "Maw of the Sea", quant: 10, isTemp: false); + AOR.FightVoiceInTheSea("Maw of the Sea", 10); int energyNeeded = 0; // Calculate energy based on missing items @@ -271,51 +273,4 @@ public void GetClass(bool rankup = true) } - public void KillThing(string map, int mobMapID, int itemUsed, string item, int quant = 1, bool isTemp = false) - { - if (isTemp ? Bot.Inventory.Contains(item, quant) : Core.CheckInventory(item, quant)) - return; - - Core.Join(map); - Bot.Wait.ForMapLoad(map); - Adv.BuyItem("seavoice", 2320, "Vigil", 1000, 12023); - Core.Equip(itemUsed); - Core.Logger($"{itemUsed} [Vigil] Equiped? {Bot.Inventory?.IsEquipped("Vigil")}"); - // Move to mob cell and set respawn - if (Bot.Player.Cell != "r2") - Core.Jump("r2", "Left"); - Bot.Player.SetSpawnPoint(); - - while ( - !Bot.ShouldExit - && (isTemp ? !Bot.TempInv.Contains(item, quant) : !Core.CheckInventory(item, quant)) - ) - { - if (!Bot.Player.Alive) - { - Bot.Wait.ForTrue(() => Bot.Player.Alive, 20); - continue; - } - - if (Bot.Player.Cell != "r2") - Core.Jump("r2", "Left"); - - // === Handle Oxidize aura (use Vigil to cleanse) === - while (!Bot.ShouldExit && Bot.Self.Auras.Any(a => a.Name == "Oxidize") && !Bot.Self.Auras.Any(a => a.Name == "Vigil")) - { - if (Bot.Skills.CanUseSkill(5)) - Bot.Skills.UseSkill(5); - Core.Sleep(500); - if (Bot.Self.Auras.Any(a => a.Name == "Vigil")) - break; - } - - // === Attack phase === - Bot.Combat.Attack("*"); - Core.Sleep(500); - } - - Core.Logger($"KillThing completed for {item} ({quant})."); - } - } diff --git a/Other/MergeShops/AbyssalZoneMerge.cs b/Other/MergeShops/AbyssalZoneMerge.cs index cd9c1fe6a4..14116b867c 100644 --- a/Other/MergeShops/AbyssalZoneMerge.cs +++ b/Other/MergeShops/AbyssalZoneMerge.cs @@ -98,7 +98,7 @@ void findIngredients() case "Undine Base Scrip": Core.FarmingLogger(req.Name, quant); - Core.EquipClass(ClassType.Farm); + Core.EquipClass(ClassType.Solo); Core.HuntMonster("abyssalzone", "Kitefin Shark Bait", req.Name, quant, false, false); break; @@ -109,9 +109,8 @@ void findIngredients() { Core.EquipClass(ClassType.Solo); Core.HuntMonster("abyssalzone", "The Ashray", "Ashray Artifacts", log: false); - Core.EquipClass(ClassType.Farm); Core.HuntMonster("abyssalzone", "Necro Adipocere", "Adipocere Antler", 3, log: false); - Core.HuntMonster("abyssalzone", "Foam Scavenger"); + Core.HuntMonster("abyssalzone", "Foam Scavenger", "Scavenger Foam", 6, log: false); Bot.Wait.ForPickup(req.Name); } Core.CancelRegisteredQuests(); diff --git a/Other/MergeShops/ArgyronsWaresMerge.cs b/Other/MergeShops/ArgyronsWaresMerge.cs index 951a02d029..b06bcf118a 100644 --- a/Other/MergeShops/ArgyronsWaresMerge.cs +++ b/Other/MergeShops/ArgyronsWaresMerge.cs @@ -146,8 +146,7 @@ void PreFarm() if (Core.isCompletedBefore(10427)) return; - Story.KillQuest(10426, "abaddoncave", "Cursed Dreadspider"); - Story.KillQuest(10427, "abaddoncave", "Spineback Abaddon"); + Story.KillQuest(10427, "abaddoncave", "Cursed Dreadspider"); } public List Select = diff --git a/Other/MergeShops/MidnightZoneMerge.cs b/Other/MergeShops/MidnightZoneMerge.cs index 5b586bce1e..f84c198d2f 100644 --- a/Other/MergeShops/MidnightZoneMerge.cs +++ b/Other/MergeShops/MidnightZoneMerge.cs @@ -102,12 +102,11 @@ void findIngredients() case "Water Elf Pearl": Core.FarmingLogger(req.Name, quant); + Core.EquipClass(ClassType.Solo); Core.RegisterQuests(9302); while (!Bot.ShouldExit && !Core.CheckInventory(req.Name, quant)) { - Core.EquipClass(ClassType.Solo); Core.HuntMonster("midnightzone", "Sparagmos", "Memory Card", log: false); - Core.EquipClass(ClassType.Farm); Core.HuntMonster("midnightzone", "Shadow Viscera", "Fleshy Shadows", 8, log: false); Core.HuntMonster("midnightzone", "Venerated Wraith", log: false); Bot.Wait.ForPickup(req.Name); diff --git a/Other/MergeShops/SeaVoiceMerge.cs b/Other/MergeShops/SeaVoiceMerge.cs index 96754d27e2..667ecb090c 100644 --- a/Other/MergeShops/SeaVoiceMerge.cs +++ b/Other/MergeShops/SeaVoiceMerge.cs @@ -6,6 +6,7 @@ //cs_include Scripts/CoreBots.cs //cs_include Scripts/CoreFarms.cs //cs_include Scripts/CoreAdvanced.cs +//cs_include Scripts/Story/AgeOfRuin/CoreAOR.cs using System.Dynamic; using Newtonsoft.Json; using Skua.Core.Interfaces; @@ -19,6 +20,7 @@ public class SeaVoiceMerge { private IScriptInterface Bot => IScriptInterface.Instance; private CoreBots Core => CoreBots.Instance; + private readonly CoreAOR AOR = new(); private static CoreFarms Farm { get => _Farm ??= new CoreFarms(); @@ -106,7 +108,7 @@ void findIngredients() case "Glaucus Mystic": case "Glaucus Companion": Core.FarmingLogger(req.Name, req.Quantity); - AttackVoiceInTheSea(req.Name, req.Quantity); + AttackVoiceInTheSea(req.Name, quant); break; case "Dark Elf Pearl": @@ -116,7 +118,6 @@ void findIngredients() { Core.EquipClass(ClassType.Solo); Core.HuntMonster("trenchobserve", "Lady Noelle", "Noelle's Brooch", log: false); - Core.EquipClass(ClassType.Farm); Core.HuntMonster("trenchobserve", "Sea Spirit", "Green Sea Jelly", 2, log: false); Core.HuntMonster("trenchobserve", "Necro Adipocere", log: false); Bot.Wait.ForPickup(req.Name); @@ -129,10 +130,9 @@ void findIngredients() Core.RegisterQuests(9302); while (!Bot.ShouldExit && !Core.CheckInventory(req.Name, quant)) { - Core.EquipClass(ClassType.Farm); + Core.EquipClass(ClassType.Solo); Core.HuntMonster("midnightzone", "Shadow Viscera", "Fleshy Shadows", 8, log: false); Core.HuntMonster("midnightzone", "Venerated Wraith", "Wraith Memento", 8, log: false); - Core.EquipClass(ClassType.Solo); Core.HuntMonster("midnightzone", "Sparagmos", "Memory Card", log: false); Bot.Wait.ForPickup(req.Name); } @@ -146,9 +146,8 @@ void findIngredients() { Core.EquipClass(ClassType.Solo); Core.HuntMonster("abyssalzone", "The Ashray", "Ashray Artifacts", log: false); - Core.EquipClass(ClassType.Farm); Core.HuntMonster("abyssalzone", "Necro Adipocere", "Adipocere Antler", 3, log: false); - Core.HuntMonster("abyssalzone", "Foam Scavenger"); + Core.HuntMonster("abyssalzone", "Foam Scavenger", "Scavenger Foam", 6, log: false); Bot.Wait.ForPickup(req.Name); } Core.CancelRegisteredQuests(); @@ -173,147 +172,39 @@ void findIngredients() public void AttackVoiceInTheSea(string itemName, int quant) { - - // Define the possible solo classes string[] PossibleSoloClasses = new[] { - "Chrono ShadowHunter", - "Chrono ShadowSlayer", - "Chaos Avenger", - "Verus DoomKnight", - "Hollowborn Vindicator", - "Lich", "ArchPaladin", - "Lord of Order", - "StoneCrusher", - "Dragon of Time", - "Unundead Goat", }; if (!Core.CheckInventory(PossibleSoloClasses, any: true)) - Core.Logger( - "No soloing classes found in inventory; stopping (go get AP at least and rerun)", - stopBot: true - ); + Core.Logger("ArchPaladin not owned. Continuing with configured Solo class."); Core.RegisterQuests(9349); Core.EquipClass(ClassType.Solo); - Core.AddDrop("Algal Bloom"); - Core.Unbank("Algal Bloom"); + Core.AddDrop("Algal Bloom", itemName); + Core.Unbank("Algal Bloom", itemName); Adv.GearStore(EnhAfter: true); - while (!Bot.ShouldExit && !Core.CheckInventory(itemName, quant)) + string? selectedClass = + PossibleSoloClasses.FirstOrDefault(className => + Bot.Inventory.Items.Any(item => item.Name == className) + || Bot.Bank.Items.Any(item => item.Name == className) + ) ?? Bot.Player.CurrentClass?.Name; + if (string.IsNullOrWhiteSpace(selectedClass)) { - // First available class in inventory/bank, fallback to equipped - string? selectedClass = - PossibleSoloClasses.FirstOrDefault(className => - Bot.Inventory.Items.Any(item => item.Name == className) - || Bot.Bank.Items.Any(item => item.Name == className) - ) ?? Bot.Player.CurrentClass?.Name; - - if (string.IsNullOrWhiteSpace(selectedClass)) - { - Core.Logger("No soloing class found and nothing equipped; aborting SeaVoice."); - return; - } - - Core.Logger($"Soloing \"Voice of the Sea\" with {selectedClass}"); - - Adv.GearStore(EnhAfter: true); - Adv.SmartEnhance(selectedClass); - - KillThing( - map: "seavoice", - mobMapID: 1, - itemUsed: 78994, - Class: selectedClass, - item: itemName, - quant: quant - ); + Core.Logger("No soloing class found and nothing equipped; aborting SeaVoice."); + return; } + Core.Logger($"Fighting Voice in the Sea with {selectedClass}"); + Adv.SmartEnhance(selectedClass); + Core.Equip(selectedClass); + AOR.FightVoiceInTheSea(itemName, quant); Adv.GearStore(true, EnhAfter: true); Core.CancelRegisteredQuests(); } - - public void KillThing( - string map, - int mobMapID, - int itemUsed, - string Class, - string item, - int quant = 1, - bool isTemp = false - ) - { - string? classFromPlayer = Bot.Player.CurrentClass?.Name; - - var itemToEnhance = Bot - .Inventory?.Items?.FirstOrDefault(x => - x?.Equipped == true && Adv.WeaponCatagories.Contains(x.Category) - ) - ?.Name; - - // if (itemToEnhance != null) - // Adv.EnhanceItem( - // itemToEnhance, - // EnhancementType.Lucky, - // wSpecial: WeaponSpecial.Awe_Blast - // ); - - string? classNameToUse = Class ?? classFromPlayer; - if (string.IsNullOrWhiteSpace(classNameToUse)) - { - Core.Logger("KillThing aborted: no class specified and player has no current class."); - return; - } - - // FIX: actually equip the class you selected - Core.Equip(classNameToUse); - - Core.Join(map); - Bot.Wait.ForMapLoad(map); - Adv.BuyItem("seavoice", 2320, "Vigil", 1000, 12023); - Core.Equip(itemUsed); - Core.Logger($"{itemUsed} [Vigil] Equiped? {Bot.Inventory?.IsEquipped("Vigil")}"); - // Move to mob cell and set respawn - if (Bot.Player.Cell != "r2") - Core.Jump("r2", "Left"); - Bot.Player.SetSpawnPoint(); - - while ( - !Bot.ShouldExit - && (isTemp ? !Bot.TempInv.Contains(item, quant) : !Core.CheckInventory(item, quant)) - ) - { - if (!Bot.Player.Alive) - { - Bot.Wait.ForTrue(() => Bot.Player.Alive, 20); - continue; - } - - if (Bot.Player.Cell != "r2") - Core.Jump("r2", "Left"); - - // === Handle Oxidize aura (use Vigil to cleanse) === - while (!Bot.ShouldExit && Bot.Self.Auras.Any(a => a.Name == "Oxidize") && !Bot.Self.Auras.Any(a => a.Name == "Vigil")) - { - if (Bot.Skills.CanUseSkill(5)) - Bot.Skills.UseSkill(5); - Core.Sleep(500); - if (Bot.Self.Auras.Any(a => a.Name == "Vigil")) - break; - } - - // === Attack phase === - Bot.Combat.Attack("*"); - Core.Sleep(500); - } - - Core.Logger($"KillThing completed for {item} ({quant})."); - } - public List Select = new() { new Option( diff --git a/Other/MergeShops/SeaviewSouvenirsMerge.cs b/Other/MergeShops/SeaviewSouvenirsMerge.cs index 737c192588..bbdad85d29 100644 --- a/Other/MergeShops/SeaviewSouvenirsMerge.cs +++ b/Other/MergeShops/SeaviewSouvenirsMerge.cs @@ -102,12 +102,12 @@ void findIngredients() case "Sur-gion Token": Core.FarmingLogger(req.Name, quant); - Core.EquipClass(ClassType.Farm); + Core.EquipClass(ClassType.Solo); Core.RegisterQuests(9235); while (!Bot.ShouldExit && !Core.CheckInventory(req.Name, quant)) { - Core.HuntMonster("ashray", "Kitefin Shark Bait", "Shark Fin", 7, log: false); - Core.HuntMonster("ashray", "Ashray Fisherman", "Ashray Blood Sample", 7, log: false); + Core.KillMonster("ashray", "Enter", "Spawn", "Kitefin Shark Bait", "Shark Fin", 7, log: false); + Core.KillMonster("ashray", "r2", "Left", "Ashray Fisherman", "Ashray Blood Sample", 7, log: false); Core.HuntMonster("ashray", "Seafoam Elemental", "Seafoam Bubbles", log: false); Bot.Wait.ForPickup(req.Name); } diff --git a/Other/MergeShops/TrenchObserveMerge.cs b/Other/MergeShops/TrenchObserveMerge.cs index 0ea0a435b6..272062e311 100644 --- a/Other/MergeShops/TrenchObserveMerge.cs +++ b/Other/MergeShops/TrenchObserveMerge.cs @@ -123,12 +123,11 @@ void findIngredients() case "Dark Elf Pearl": Core.FarmingLogger(req.Name, quant); + Core.EquipClass(ClassType.Solo); Core.RegisterQuests(9339); while (!Bot.ShouldExit && !Core.CheckInventory(req.Name, quant)) { - Core.EquipClass(ClassType.Solo); Core.HuntMonster("trenchobserve", "Lady Noelle", "Noelle's Brooch", log: false); - Core.EquipClass(ClassType.Farm); Core.HuntMonster("trenchobserve", "Sea Spirit", "Green Sea Jelly", 2, log: false); Core.HuntMonster("trenchobserve", "Necro Adipocere", log: false); Bot.Wait.ForPickup(req.Name); diff --git a/Prototypes/KathoolAdept/KathoolAdeptPrerequisite.cs b/Prototypes/KathoolAdept/KathoolAdeptPrerequisite.cs index 526e265a9c..50acf22271 100644 --- a/Prototypes/KathoolAdept/KathoolAdeptPrerequisite.cs +++ b/Prototypes/KathoolAdept/KathoolAdeptPrerequisite.cs @@ -62,9 +62,14 @@ public void FarmPreReqs(bool BuyItems = false) { if (Core.CheckInventory("Adeptus Kathooli")){ Core.Logger("Prerequisites already in inventory (Adeptus Kathooli)"); - return; + return; } - + + if (Core.CheckInventory("Ashray Villager")&&Core.CheckInventory("Undine Defence Director")&&Core.CheckInventory("Evacuation Protocol Suit")&&Core.CheckInventory("Elven Heritage Guardian")&&Core.CheckInventory("Ashray Elf Warden")&&Core.CheckInventory("DeepWater Drow")&&Core.CheckInventory("Midnight Glaucus Sage")&&Core.CheckInventory("Kathool Acolyte")){ + Core.Logger("Prerequisites already in inventory (Method 1)"); + return; + } + Core.Logger("Farming Prerequisites"); SSM.BuyAllMerge("Ashray Villager"); @@ -73,8 +78,14 @@ public void FarmPreReqs(bool BuyItems = false) MZM.BuyAllMerge("Elven Heritage Guardian"); AZM.BuyAllMerge("Ashray Elf Warden"); TOM.BuyAllMerge("DeepWater Drow"); + + Core.AddDrop("Glaucus Mystic"); SVM.BuyAllMerge("Midnight Glaucus Sage"); + if (!Core.CheckInventory("Midnight Glaucus Sage")){ + SVM.BuyAllMerge("Midnight Glaucus Sage"); + } + Core.EquipClass(ClassType.Solo); Core.HuntMonster("deepchaos", "Kathool", "Kathool Acolyte", 1, false, false); } -} +} \ No newline at end of file diff --git a/Story/AgeOfRuin/CoreAOR.cs b/Story/AgeOfRuin/CoreAOR.cs index fa479ddc1c..5313f914e7 100644 --- a/Story/AgeOfRuin/CoreAOR.cs +++ b/Story/AgeOfRuin/CoreAOR.cs @@ -13,6 +13,7 @@ using Skua.Core.Interfaces; using Skua.Core.Models; using Skua.Core.Models.Auras; +using Skua.Core.Models.Items; using Skua.Core.Models.Monsters; using Skua.Core.Models.Skills; @@ -38,6 +39,7 @@ private static CoreSoW SoW set => _SoW = value; } private static CoreSoW _SoW; + private bool _voiceChargeDetected; public void ScriptMain(IScriptInterface bot) { @@ -607,14 +609,7 @@ public void SeaVoice() Story.PreLoad(this); Core.EnsureAccept(9348); - KillThing( - map: "seavoice", - mobMapID: 1, - itemUsed: 78994, - item: "Voice in the Sea Defeated", - quant: 1, - isTemp: true - ); + FightVoiceInTheSea("Voice in the Sea Defeated", isTemp: true); Adv.GearStore(true, EnhAfter: true); Core.EnsureComplete(9348); @@ -1985,80 +1980,109 @@ a.msg is not null } } - public void KillThing(string map, int mobMapID, int itemUsed, string item, int quant = 1, bool isTemp = false) + public void FightVoiceInTheSea(string item, int quant = 1, bool isTemp = false) { - string? classFromPlayer = Bot.Player.CurrentClass?.Name; + if (!isTemp) + Core.Unbank(item); + if (Finished()) + return; + if (!isTemp) + Core.AddDrop(item); - Core.Join(map); - Bot.Wait.ForMapLoad(map); + // Vainglory compounds the healing reduction from Voice in the Sea. + var cape = Bot.Inventory.Items.Find(i => i.Equipped + && i.Category == ItemCategory.Cape + && i.EnhancementPatternID == (int)CapeSpecial.Vainglory); + if (cape != null) + Adv.EnhanceItem( + cape.Name, + EnhancementType.Lucky, + CapeSpecial.None, + HelmSpecial.None, + WeaponSpecial.None, + logging: false, + bypassDisableAutoEnhance: true + ); + Core.Join("seavoice"); Adv.BuyItem("seavoice", 2320, "Vigil", 1000, 12023); - Core.Equip(itemUsed); - - Core.Logger($"{itemUsed} [Vigil] Equipped? {Bot.Inventory?.IsEquipped("Vigil")}"); - - if (Bot.Player.Cell != "r2") + Core.Equip("Vigil"); + if (!Bot.Inventory.IsEquipped("Vigil")) { - Core.Jump("r2", "Left"); - Bot.Wait.ForCellChange("r2"); + Core.Logger("Vigil could not be equipped."); + return; } - Bot.Player.SetSpawnPoint(); - Bot.Skills.Stop(); - - int skillIndex = 0; - int[] skillList = { 1, 2, 3, 4 }; - + _voiceChargeDetected = false; + Bot.Flash.FlashCall += SeaVoiceFlashListener; try { - while ( - !Bot.ShouldExit - && (isTemp ? !Bot.TempInv.Contains(item, quant) : !Core.CheckInventory(item, quant)) - ) + Core.Jump("r2", "Left"); + Bot.Player.SetSpawnPoint(); + while (!Bot.ShouldExit && !Finished()) { if (!Bot.Player.Alive) { - Bot.Wait.ForTrue(() => Bot.Player.Alive, 20); - skillIndex = 0; + _voiceChargeDetected = false; + Bot.Skills.Resume(); + Bot.Sleep(500); continue; } - if (Bot.Player.Cell != "r2") - { Core.Jump("r2", "Left"); - Bot.Wait.ForCellChange("r2"); - } - // Use Vigil to cleanse Oxidize. - if (Bot.Self.HasActiveAura("Oxidize") && !Bot.Self.HasActiveAura("Vigil")) + if (_voiceChargeDetected) { - if (Bot.Skills.CanUseSkill(5)) - Bot.Skills.UseSkill(5); - - Bot.Sleep(500); + while (!Bot.ShouldExit && Bot.Player.Alive && Bot.Player.HasTarget && !Bot.Self.HasActiveAura("Vigil")) + { + if (Bot.Skills.CanUseSkill(5)) + Bot.Skills.UseSkill(5); + Bot.Sleep(50); + } + _voiceChargeDetected = false; + Bot.Skills.Resume(); + if (!Bot.ShouldExit && Bot.Self.HasActiveAura("Vigil")) + Core.Logger("Vigil active. Class skills resumed."); continue; } - if (!Bot.Player.HasTarget) - Bot.Combat.Attack("*"); - - if (Bot.Player.HasTarget && Bot.Player.Target?.HP <= 0) - continue; - - if (Bot.Skills.CanUseSkill(skillList[skillIndex])) - { - if (Bot.Skills.UseSkill(skillList[skillIndex])) - skillIndex = (skillIndex + 1) % skillList.Length; - } - Bot.Sleep(200); + var target = Bot.Player.Target; + if (target == null || target.MapID != 1 || target.HP <= 0) + Bot.Combat.Attack(1); + Bot.Sleep(500); } } finally { + Bot.Flash.FlashCall -= SeaVoiceFlashListener; + _voiceChargeDetected = false; Bot.Skills.Resume(); - Bot.Combat.StopAttacking = false; + Core.JumpWait(); + } + + bool Finished() + { + if (isTemp) + return Bot.TempInv.Contains(item, quant); + return Bot.Inventory.Contains(item, quant); } - Core.Logger($"KillThing completed for {item} ({quant})."); } + private void SeaVoiceFlashListener(string name, object[] args) + { + try + { + if (name != "pext" || args.Length == 0 || _voiceChargeDetected) + return; + string rawPacket = args[0]?.ToString() ?? string.Empty; + if (rawPacket.IndexOf("You will not resist!", StringComparison.OrdinalIgnoreCase) < 0) + return; + Bot.Skills.Pause(); + _voiceChargeDetected = true; + Core.Logger("Charge detected. Class skills paused for Vigil."); + } + catch + { + } + } } diff --git a/Story/Doomwood/CoreDoomwood.cs b/Story/Doomwood/CoreDoomwood.cs index c56435c989..e456a73490 100644 --- a/Story/Doomwood/CoreDoomwood.cs +++ b/Story/Doomwood/CoreDoomwood.cs @@ -352,7 +352,7 @@ public void TempleOfTheLight() { Core.EnsureAccept(1131); Core.GetMapItem(459, 8, "temple"); - Core.HuntMonster("temple", "Ghoul", "Ghouls Gone", 10); + Core.HuntMonster("temple", "Ghoul", "Ghouls Gone", 6); Core.EnsureComplete(1131); } @@ -364,7 +364,7 @@ public void TempleOfTheLight() { Core.EnsureAccept(1133); Core.GetMapItem(460, 10, "temple"); - Core.HuntMonster("temple", "Sanguine Souleater", "Souls Soothed", 10); + Core.HuntMonster("temple", "Sanguine Souleater", "Souls Soothed", 6); Core.EnsureComplete(1133); } @@ -402,8 +402,8 @@ public void TempleOfTheLight() if (!Story.QuestProgression(1141)) { Core.EnsureAccept(1141); - Core.HuntMonster("temple", "Undead Mage", "Tattered Necronomicon", 5); - Core.HuntMonster("temple", "Skeletal Fire Mage", "Scorched Necronomicon", 5); + Core.HuntMonster("temple", "Undead Mage", "Tattered Necronomicon", 4); + Core.HuntMonster("temple", "Skeletal Fire Mage", "Scorched Necronomicon", 2); Core.EnsureComplete(1141); } @@ -412,7 +412,7 @@ public void TempleOfTheLight() { Core.EnsureAccept(1142); Core.GetMapItem(463, 6, "temple"); - Core.HuntMonster("temple", "Shelleton", "Screaming Shell-skull", 10); + Core.HuntMonster("temple", "Shelleton", "Screaming Shell-skull", 2); Core.HuntMonster("temple", "Skeleton", "Grinning Jawbone", 3); Core.EnsureComplete(1142); } diff --git a/Story/LordsofChaos/Core13LoC.cs b/Story/LordsofChaos/Core13LoC.cs index 4cbc559d86..35cfd94361 100644 --- a/Story/LordsofChaos/Core13LoC.cs +++ b/Story/LordsofChaos/Core13LoC.cs @@ -1823,7 +1823,7 @@ public void Iadoa() { Core.EnsureAccept(2478); Core.HuntMonster("dflesson", "Chaotic Horcboar", "Hero Protein", 1); - Core.HuntMonster("dflesson", "Chaotic Chicken", "Spell Rune", 8); + Core.HuntMonster("dflesson", "Chaotic Chicken", "Spell Rune", 5); Core.EnsureComplete(2478); } diff --git a/Tools/ForDevelopers/FetchGameFiles/.last_version b/Tools/ForDevelopers/FetchGameFiles/.last_version index f1b8681656..5ed41ec415 100644 --- a/Tools/ForDevelopers/FetchGameFiles/.last_version +++ b/Tools/ForDevelopers/FetchGameFiles/.last_version @@ -1 +1 @@ -4000r4 \ No newline at end of file +4000r5 \ No newline at end of file diff --git a/scripts.json b/scripts.json index bdf2f55a54..e38d225371 100644 --- a/scripts.json +++ b/scripts.json @@ -30,8 +30,8 @@ "null" ], "path": "CoreFarms.cs", - "size": 164868, - "sha256": "b62c6637a5ead3db601b9cc17647f044de87e8298213d6c41f8abd7be1478fa7", + "size": 164902, + "sha256": "625ed28c3592674705ba900b529b56c81251d9fcc2de713520502f60a1e84e21", "fileName": "CoreFarms.cs", "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/CoreFarms.cs" }, @@ -54,8 +54,8 @@ "null" ], "path": "CoreBots.cs", - "size": 462975, - "sha256": "973931e9d59da8c05f0285ab628003a8e7ca9ec0a9b42f4a61057c08011f3ab9", + "size": 463064, + "sha256": "d3265a977f601c8b5ff9a0b05ab06d07bd44e71dda405c5e7f27a4e8f75f8dee", "fileName": "CoreBots.cs", "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/CoreBots.cs" }, @@ -672,8 +672,8 @@ "drops" ], "path": "Other/AgeOfRuinDrops.cs", - "size": 5782, - "sha256": "4cf120be4560781aeabe8355759b12e37c10da7241e5c07ba60ebc2162340492", + "size": 5718, + "sha256": "4d3e78baaa4c03b9bfbc85ceccd64473736ce96ad200c0aba33eb94bb4c136b2", "fileName": "AgeOfRuinDrops.cs", "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/Other/AgeOfRuinDrops.cs" }, @@ -2000,8 +2000,8 @@ "original drakath armor" ], "path": "Chaos/DrakathsArmor.cs", - "size": 5008, - "sha256": "b599d3730a063821118265df19ce195281a5dfc4c3e28451df731f20d71c2002", + "size": 6638, + "sha256": "3208a1851f2b82a1e29ace693de77162d71fcec216f81dfec016fce643f88f90", "fileName": "DrakathsArmor.cs", "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/Chaos/DrakathsArmor.cs" }, @@ -2072,8 +2072,8 @@ "set" ], "path": "Chaos/EternalDrakathSet.cs", - "size": 4611, - "sha256": "b3f6ffdb6fab3a2984270aa4d045b0db1ec84964315e6810a24f8787f34512b6", + "size": 4621, + "sha256": "fed816dae753c219994886bbf90f008f7c56ee10264d353d7f8f2a339782a9fd", "fileName": "EternalDrakathSet.cs", "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/Chaos/EternalDrakathSet.cs" }, @@ -3770,8 +3770,8 @@ "ravenous" ], "path": "Enhancement/UnlockForgeEnhancements.cs", - "size": 54235, - "sha256": "1e4c85251dec3a32b96f2715ed2f750b8805a74c38b50d3be4d8eec8c0684ecf", + "size": 54358, + "sha256": "d0bd2c022449c26a174d2864873b771c3675f14ebaf2dc54d7b9f7d49389014d", "fileName": "UnlockForgeEnhancements.cs", "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/Enhancement/UnlockForgeEnhancements.cs" }, @@ -11015,8 +11015,8 @@ "void soul" ], "path": "Hollowborn/HollowbornNation/5RolesUnreversed.cs", - "size": 6590, - "sha256": "0c6dd4935cdd4c75be22a91227eacd6baf4f666f118c9ea3be5fac43060d8912", + "size": 6777, + "sha256": "30ed9dd4a5a9babbfc186818817fb28e8e779fcb03416107af780c3012f9b4db", "fileName": "5RolesUnreversed.cs", "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/Hollowborn/HollowbornNation/5RolesUnreversed.cs" }, @@ -11713,8 +11713,8 @@ "null" ], "path": "Evil/SDKA/CoreSDKA.cs", - "size": 39913, - "sha256": "f9db553b7e1421f7cd1b4afd44328d523afc47a3e4e01ec4e55d5d0830052e6e", + "size": 41129, + "sha256": "0063b51516069a90827e3cc286f40c911c99db8d4d2d780e9be8416437f74ed1", "fileName": "CoreSDKA.cs", "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/Evil/SDKA/CoreSDKA.cs" }, @@ -12107,8 +12107,8 @@ "class" ], "path": "Other/Classes/VerusDoomKnight.cs", - "size": 12301, - "sha256": "7f29add0b96b941d30b62fb9f9c97763c6663fbb476da08964139ebeef5cc7b8", + "size": 10677, + "sha256": "fd33110537f3d685b793ed632cc40bc897ce57da7dc38c87ab117644f51a2c06", "fileName": "VerusDoomKnight.cs", "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/Other/Classes/VerusDoomKnight.cs" }, @@ -14462,8 +14462,8 @@ "streams" ], "path": "Other/MergeShops/AbyssalZoneMerge.cs", - "size": 7555, - "sha256": "c6cd90e182ecb9d5362663bb78e5383fa370967bc8da12dfa2cff81aa3f98bf5", + "size": 7531, + "sha256": "7d70d6053d56476d8bd2f987a34383c7ad50ad3c3d63e829a91cf69bbfddd114", "fileName": "AbyssalZoneMerge.cs", "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/Other/MergeShops/AbyssalZoneMerge.cs" }, @@ -15775,8 +15775,8 @@ "hook" ], "path": "Other/MergeShops/SeaviewSouvenirsMerge.cs", - "size": 7222, - "sha256": "0665a09d1e0e0a8617de74daa5e88cfeaf3feb20818c2b3a9eea14bc69942eb0", + "size": 7254, + "sha256": "ab722139572747b7a025ab921091e5d7b5ed1de1d2e8bee9ec0d4468dd120f63", "fileName": "SeaviewSouvenirsMerge.cs", "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/Other/MergeShops/SeaviewSouvenirsMerge.cs" }, @@ -16780,8 +16780,8 @@ "trident" ], "path": "Other/MergeShops/SeaVoiceMerge.cs", - "size": 13755, - "sha256": "600eb7bf2b9dea9ca154d454d83c107d08db574e22f8a30cc10b72c11b195e28", + "size": 10434, + "sha256": "3cf2d20a14346f3ae52bb6f5e333b3da7608ac12117089f60ce1d2a55136877a", "fileName": "SeaVoiceMerge.cs", "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/Other/MergeShops/SeaVoiceMerge.cs" }, @@ -16809,8 +16809,8 @@ "guard" ], "path": "Other/MergeShops/ArgyronsWaresMerge.cs", - "size": 8294, - "sha256": "17677bfce9dfa7e4b11a43a82c07f40a2758ff4336fa264131ce2add6cb5a41b", + "size": 8226, + "sha256": "be17bd53b92c4ed4cdac5597b7266c0dfaa667e74b353cc1670996a4b295bafc", "fileName": "ArgyronsWaresMerge.cs", "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/Other/MergeShops/ArgyronsWaresMerge.cs" }, @@ -16955,8 +16955,8 @@ "bow" ], "path": "Other/MergeShops/MidnightZoneMerge.cs", - "size": 6623, - "sha256": "d3469fc8f523fc3814581611c3a1f40704bfc24e07d88319f0c5389bf68033f9", + "size": 6562, + "sha256": "eefe2815e930caa734b3d7afadb9c252368b155affa567dde5eddd5220918e07", "fileName": "MidnightZoneMerge.cs", "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/Other/MergeShops/MidnightZoneMerge.cs" }, @@ -17188,8 +17188,8 @@ "streams" ], "path": "Other/MergeShops/TrenchObserveMerge.cs", - "size": 7054, - "sha256": "83da9af4a94ca46b8e9cba5286bd60189bb4ae672494a1bca91777e5f425ec71", + "size": 6993, + "sha256": "72ae0b982b0ecc7b8f8e0147a2cc2bc500ac5b35a06b0fe173bd4021b6079c42", "fileName": "TrenchObserveMerge.cs", "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/Other/MergeShops/TrenchObserveMerge.cs" }, @@ -25685,7 +25685,7 @@ ], "path": "Story/LordsofChaos/Core13LoC.cs", "size": 92118, - "sha256": "5694b8fe96096c644801059eee1dae7f24290726448dcbd3f6a7b838b9a853a6", + "sha256": "e777ca2a4a863008d7e0518400b88b58691e5252ac4f3d6d73513787712eddb1", "fileName": "Core13LoC.cs", "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/Story/LordsofChaos/Core13LoC.cs" }, @@ -27210,8 +27210,8 @@ "null" ], "path": "Story/AgeOfRuin/CoreAOR.cs", - "size": 68712, - "sha256": "093f79b982904d54800e350a5315548d9a7f2f4f78cd92595c7d6f6f29b45ebc", + "size": 69836, + "sha256": "fee882ed5cb69103fe75a0bd0ef540ae41cc61a2cc849fdd95b2ad2fad6d6599", "fileName": "CoreAOR.cs", "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/Story/AgeOfRuin/CoreAOR.cs" }, @@ -28097,8 +28097,8 @@ "null" ], "path": "Story/Doomwood/CoreDoomwood.cs", - "size": 37760, - "sha256": "0001c83274a7ccc575c0ed554b472ba7ae561c3e3994084e744dd4ccd45e635c", + "size": 37757, + "sha256": "585abaac231d0642833df07bb9a83bad013f4b14855782fe92c860c72bc08350", "fileName": "CoreDoomwood.cs", "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/Story/Doomwood/CoreDoomwood.cs" }, @@ -30035,8 +30035,8 @@ "somnia" ], "path": "Prototypes/KathoolAdept/KathoolAdeptPrerequisite.cs", - "size": 3540, - "sha256": "96266aa7c000c81482a4612d60ca27908af1648ef84d108b8b85f00f91c5a286", + "size": 4114, + "sha256": "b435807d1f910cf86dd8b484d1f17dea20ea5946fa89d55433e70f771348b61b", "fileName": "KathoolAdeptPrerequisite.cs", "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/Prototypes/KathoolAdept/KathoolAdeptPrerequisite.cs" }, @@ -35300,5 +35300,39 @@ "sha256": "082e0dc7af4a0dcd96d53b080bcc04e5b35417d2d0701d0c7e41ebb02215834f", "fileName": "3BookOfIce.cs", "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/Other/Classes/ArchMage/Books/3BookOfIce.cs" + }, + { + "name": "Item Enhancement Manager", + "description": "Unbanks and enhances selected weapons, helms, and capes, leaving them in inventory. Bypasses Disable AutoEnhance.", + "tags": [ + "enhancement", + "unbank", + "weapon", + "helm", + "cape", + "inventory" + ], + "path": "Enhancement/ItemEnhancementManager.cs", + "size": 12366, + "sha256": "0003db5074765f704dd16a6e4f778d79c7e0ac2a6773b0ecd69118661dae801f", + "fileName": "ItemEnhancementManager.cs", + "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/Enhancement/ItemEnhancementManager.cs" + }, + { + "name": "Hollowborn Archfiend - Run All", + "description": "does all of Hollowborn Archfiend", + "tags": [ + "hollowborn", + "hollowborn archfiend", + "hollowbornarchfiend", + "hollowborn nation", + "do all", + "run all" + ], + "path": "Hollowborn/HollowbornNation/0RunAll.cs", + "size": 5995, + "sha256": "549497c1bd389e6ed642acefea734e735663fee594db006ba08a54ed08c90509", + "fileName": "0RunAll.cs", + "downloadUrl": "https://raw.githubusercontent.com/auqw/Scripts/Skua/Hollowborn/HollowbornNation/0RunAll.cs" } ]