-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBonus Iron Front.xml
More file actions
76 lines (62 loc) · 3.1 KB
/
Bonus Iron Front.xml
File metadata and controls
76 lines (62 loc) · 3.1 KB
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
<HBProfile>
<Name>[Q]Bonus Ruins of Ruins of Kra'nak - OppLy</Name>
<MinDurability>0.4</MinDurability>
<MinFreeBagSlots>1</MinFreeBagSlots>
<MinLevel>97</MinLevel>
<MaxLevel>101</MaxLevel>
<MailGrey>false</MailGrey>
<MailWhite>false</MailWhite>
<MailGreen>false</MailGreen>
<MailBlue>false</MailBlue>
<MailPurple>false</MailPurple>
<SellGrey>true</SellGrey>
<SellWhite>false</SellWhite>
<SellGreen>false</SellGreen>
<SellBlue>false</SellBlue>
<SellPurple>false</SellPurple>
<AvoidMobs>
</AvoidMobs>
<Vendors>
</Vendors>
<Mailboxes>
</Mailboxes>
<Blackspots>
</Blackspots>
<QuestOrder>
<!-- if not in combat, and first aid bandages is less or equal 2 and medical supplies within 30 yard range, pick up medical supplies -->
<CustomBehavior File="Hooks\DoWhen" ActivityName="PickUpBandage"
UseWhen="(!Me.Combat) && (GetItemCount(122139) == 0) && (Object(239971, o => o.Distance < 30) != null)" >
<CustomBehavior File="InteractWith" WaitTime="3000" MobId="239971" NumOfTimes="100" CollectionDistance="45" PreInteractMountStrategy="Dismount"
TerminateWhen="GetItemCount(122139) != 0 || Object(239971, o => o.Distance < 45) == null" />
</CustomBehavior>
<!-- if not in combat, and first aid bandages is greater or equal 1 and injured footsoldier or iron horde banner within 30 yard range, pick up medical supplies -->
<CustomBehavior File="Hooks\DoWhen" ActivityName="InteractWithObject"
UseWhen="(!Me.Combat) && (GetItemCount(122139) >= 1) && ((Unit(90443, o => o.Distance < 30 && o.HealthPercent < 50 ) != null) || (Unit(90370, o => o.Distance < 30) != null))" >
<CustomBehavior File="InteractWith" WaitTime="3000" MobIds="90443, 90370" NumOfTimes="100" Range="3" CollectionDistance="45" PreInteractMountStrategy="Dismount"
TerminateWhen="(GetItemCount(122139) <= 0) || ((Unit(90443, o => o.Distance < 45 && o.HealthPercent <= 50 ) == null) && (Unit(90370, o => o.Distance < 45) == null))" />
</CustomBehavior>
<SetGrindArea>
<GrindArea>
<TargetMinLevel>99</TargetMinLevel>
<TargetMaxLevel>101</TargetMaxLevel>
<MaxDistance>50</MaxDistance>
<LootRadius>60</LootRadius>
<TargetElites>false</TargetElites>
<RandomizeHotspots>true</RandomizeHotspots>
<MobIds></MobIds>
<Factions>14</Factions>
<Hotspots>
<Hotspot X="3973.398" Y="1147.4" Z="162.937" />
<Hotspot X="3897.893" Y="1019.773" Z="161.0709" />
<Hotspot X="3945.316" Y="917.3094" Z="152.7068" />
<Hotspot X="3973.105" Y="1025.8" Z="162.672" />
</Hotspots>
</GrindArea>
</SetGrindArea>
<GrindUntil Nav="Fly" Condition="IsQuestCompleted(38051)" />
<CustomBehavior File="Hooks\DoWhen" ActivityName="PickUpBandage" Command="Remove" />
<CustomBehavior File="Hooks\DoWhen" ActivityName="InteractWithObject" Command="Remove" />
<CustomBehavior File="NoCombatMoveTo" X="4076.012" Y="1181.747" Z="160.929" />
<CustomBehavior File="RunCode" Code="Styx.CommonBot.TreeRoot.Stop("Profile complete...")" />
</QuestOrder>
</HBProfile>