-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path35dur-40dur-2印记.xml
97 lines (88 loc) · 4.27 KB
/
35dur-40dur-2印记.xml
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0" encoding="UTF-8"?>
<Profile>
<Name>35Dur or 40Dur 2x NameAndBrand</Name>
<KillRadius>50</KillRadius>
<GrindAreas>
</GrindAreas>
<BehaviorDirectory>CustomTags</BehaviorDirectory>
<Order>
<While Condition="True">
<Synthesize RecipeId="2656" RequiredSkills="281,285,286,100009,100069" />
<While Condition="CraftingManager.IsCrafting">
<CraftActionByName Name="Comfort Zone" />
<RunCode Name="UseTrick"/>
<CraftActionByName Name="Inner Quiet" />
<RunCode Name="UseTrick"/>
<CraftActionByName Name="Steady Hand II" />
<RunCode Name="UseTrick"/>
<CraftActionByName Name="Waste Not II" />
<RunCode Name="UseBestTouch"/>
<RunCode Name="UseBestTouch"/>
<RunCode Name="UseBestTouch"/>
<RunCode Name="UseBestTouch"/>
<RunCode Name="UseTrick"/>
<CraftActionByName Name="Master's Mend" />
<RunCode Name="UseTrick"/>
<CraftActionByName Name="Steady Hand II" />
<RunCode Name="UseBestTouch"/>
<RunCode Name="UseBestTouch"/>
<RunCode Name="UseBestTouch"/>
<If Condition="CraftingManager.Condition == CraftingCondition.Excellent">
<CraftActionByName Name="Byregot's Blessing" />
<RunCode Name="NameAndBrand"/>
</If>
<CraftActionByName Name="Great Strides" />
<CraftActionByName Name="Ingenuity II" />
<CraftActionByName Name="Steady Hand" />
<CraftActionByName Name="Byregot's Blessing" />
<RunCode Name="NameAndBrand"/>
</While>
</While>
</Order>
<CodeChunks>
<CodeChunk Name="UseBestTouch">
<![CDATA[
SpellData data;
if ((CraftingManager.Condition == CraftingCondition.Good || CraftingManager.Condition == CraftingCondition.Excellent) &&
ActionManager.CurrentActions.TryGetValue("Precise Touch", out data) && Actionmanager.CanCast(data, null)) {
ActionManager.DoAction("Precise Touch", null);
} else {
ActionManager.DoAction("Hasty Touch", null);
}
await Coroutine.Wait(10000, () => CraftingManager.AnimationLocked);
await Coroutine.Wait(Timeout.Infinite, () => !CraftingManager.AnimationLocked);
await Coroutine.Sleep(250);
]]>
</CodeChunk>
</CodeChunks>
<CodeChunks>
<CodeChunk Name="UseTrick">
<![CDATA[
if (CraftingManager.Condition == CraftingCondition.Good || CraftingManager.Condition == CraftingCondition.Excellent) {
ActionManager.DoAction("Tricks of the Trade", null);
}
await Coroutine.Wait(10000, () => CraftingManager.AnimationLocked);
await Coroutine.Wait(Timeout.Infinite, () => !CraftingManager.AnimationLocked);
await Coroutine.Sleep(200);
]]>
</CodeChunk>
</CodeChunks>
<CodeChunks>
<CodeChunk Name="NameAndBrand">
<![CDATA[
ActionManager.DoAction("Name of Earth", null);
await Coroutine.Wait(10000, () => CraftingManager.AnimationLocked);
await Coroutine.Wait(Timeout.Infinite, () => !CraftingManager.AnimationLocked);
await Coroutine.Sleep(200);
ActionManager.DoAction("Brand of Earth", null);
await Coroutine.Wait(10000, () => CraftingManager.AnimationLocked);
await Coroutine.Wait(Timeout.Infinite, () => !CraftingManager.AnimationLocked);
await Coroutine.Sleep(250);
ActionManager.DoAction("Brand of Earth", null);
await Coroutine.Wait(10000, () => CraftingManager.AnimationLocked);
await Coroutine.Wait(Timeout.Infinite, () => !CraftingManager.AnimationLocked);
await Coroutine.Sleep(250);
]]>
</CodeChunk>
</CodeChunks>
</Profile>