forked from BrenoHenrike/Scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLightoviaCave.cs
66 lines (54 loc) · 1.84 KB
/
LightoviaCave.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/*
name: Lightovia Cave Story
description: This will finish the Lightovia Cave Story.
tags: story, quest, lightovia-cave
*/
//cs_include Scripts/CoreBots.cs
//cs_include Scripts/CoreStory.cs
//cs_include Scripts/Story/ShadowVoid.cs
using Skua.Core.Interfaces;
public class LightoviaCave
{
public IScriptInterface Bot => IScriptInterface.Instance;
public CoreBots Core => CoreBots.Instance;
public CoreStory Story = new();
public ShadowVoid ShadowVoid = new();
public void ScriptMain(IScriptInterface bot)
{
Core.SetOptions();
LightoviaCaveQuests();
Core.SetOptions(false);
}
public void LightoviaCaveQuests()
{
if (!Bot.Quests.IsUnlocked(7132))
{
if (Bot.Quests.IsUnlocked(7123))
{
Core.Logger(
"Quests are locked Shadowvoid quests should be completed first. Starting Shadowvoid script");
ShadowVoid.ShadowVoidQuests();
}
else
{
Core.Logger(
"Quests are locked You Should Finish Lords Of Chaos story script first");
return;
}
}
if (Core.isCompletedBefore(7136))
return;
Story.PreLoad(this);
//Defeat the Imbalanced 7132
Story.KillQuest(7132, "LightoviaCave", "Imbalanced Knight|Imbalanced Mage");
//Free the Lycans 7133
Story.MapItemQuest(7133, "LightoviaCave", 6767, 6);
Story.KillQuest(7133, "LightoviaCave", "Imbalanced Mage");
//Cleanse the Land 7134
Story.MapItemQuest(7134, "LightoviaCave", 6768, 6);
//Defeat the Knights 7135
Story.KillQuest(7135, "LightoviaCave", "Imbalanced Knight");
//Defeat ArchMage Brentan 7136
Story.KillQuest(7136, "LightoviaCave", "Evil ArchMage Brentan");
}
}