Skip to content

Commit 3770553

Browse files
committed
Update BuyScrolls.cs
1 parent 70d0a73 commit 3770553

1 file changed

Lines changed: 11 additions & 17 deletions

File tree

Farm/BuyScrolls.cs

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -72,26 +72,20 @@ public void BuyScroll(Scrolls scroll, int quant = -1, bool useMysticParchment =
7272
{
7373
if (!Core.CheckInventory("Arcane Quill"))
7474
{
75-
if (!Core.CheckInventory("Gold Voucher 500k"))
76-
Farm.Gold(500000);
77-
Core.BuyItem("spellcraft", 693, "Gold Voucher 500k", 2);
75+
if (!Core.CheckInventory("Gold Voucher 500k", 2))
76+
{
77+
Farm.Gold(1_000_000);
78+
Core.BuyItem("spellcraft", 693, "Gold Voucher 500k", 2);
79+
}
7880
Core.BuyItem("spellcraft", 693, "Arcane Quill", 10, shopItemID: 8847);
81+
Core.BuyItem("spellcraft", 622, ink, 5);
7982
}
80-
Core.BuyItem("spellcraft", 622, ink, 5);
8183
}
82-
: () =>
83-
{
84-
Core.KillMonster(
85-
"tercessuinotlim",
86-
"m2",
87-
"Left",
88-
"*",
89-
"Mystic Parchment",
90-
quant / 10,
91-
isTemp: false
92-
);
93-
Core.BuyItem("spellcraft", 549, ink, 5);
94-
};
84+
: () =>
85+
{
86+
Core.KillMonster("tercessuinotlim", "m2", "Left", "*", "Mystic Parchment", quant / 10, isTemp: false);
87+
Core.BuyItem("spellcraft", 549, ink, 5);
88+
};
9589

9690
while (!Bot.ShouldExit && !Core.CheckInventory(scrollName, quant))
9791
{

0 commit comments

Comments
 (0)