Skip to content

Commit

Permalink
Merge branch 'Skua' of https://github.com/BrenoHenrike/Scripts into Skua
Browse files Browse the repository at this point in the history
  • Loading branch information
wtffidy committed Nov 8, 2024
2 parents 626759f + d11849d commit b8045cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions CoreBots.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4146,9 +4146,7 @@ bool _equipClass(bool usingGeneric, string className, ClassUseMode classMode, bo
if (Bot.Player.InCombat)
Bot.Combat.Exit();

logEquip = false;
Equip(Bot.Inventory.Items.First(x => x.Name.ToLower().Trim() == className && x.Category == ItemCategory.Class).ID);
logEquip = true;
equipedClass = Bot.Player.CurrentClass?.Name.Trim().ToLower();
}

Expand All @@ -4158,7 +4156,6 @@ bool _equipClass(bool usingGeneric, string className, ClassUseMode classMode, bo
return true;
}
}
private bool logEquip = true;

/// <summary>
/// Equips multiple items by their names from the bot's inventory if not already equipped.
Expand Down
2 changes: 1 addition & 1 deletion scripts.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"null"
],
"path": "CoreBots.cs",
"size": 280664,
"size": 280563,
"fileName": "CoreBots.cs",
"downloadUrl": "https://raw.githubusercontent.com/BrenoHenrike/Scripts/Skua/CoreBots.cs"
},
Expand Down

0 comments on commit b8045cb

Please sign in to comment.