Prevalia Zoo Training - Peace/Disco/Provo by alohasnackbar6051
Description: Updated to reset when the Bard cooldown reset goes off for faster gains.
1# "Borrowed" from Jaseowns bard training scripts
2# UO Outlands
3# Version: 1.0.0
4# Description: Be at the Prevalia Zoo with instruments
5
6# Can set these to 0 and it will not train the skill
7@setvar! trainPeacemaking 120
8@setvar! trainDiscordance 120
9@setvar! trainProvocation 120
10
11@setvar! loopDelay 2000
12
13if targetexists
14 hotkey 'Cancel Current Target'
15endif
16
17if skill "Peacemaking" < trainPeacemaking
18 useskill 'Peacemaking'
19elseif skill "Discordance" < trainDiscordance
20 useskill 'Discordance'
21elseif skill "Provocation" < trainProvocation
22 useskill 'Provocation'
23else
24 overhead "You beat the game" 88
25 overhead "Adjust skill check" 34
26 stop
27endif
28wft 500
29
30if insysmsg "What instrument"
31 if findtype "bamboo flute" backpack as inny
32 target inny
33 elseif findtype "tambourine" backpack as inny
34 target inny
35 elseif findtype "drum" backpack as inny
36 target inny
37 elseif findtype "lute" backpack as inny
38 target inny
39 elseif findtype "lap harp" backpack as inny
40 target inny
41 else
42 overhead "I don't have an inny" 34
43 wait 2000
44 replay
45 endif
46 wft 500
47endif
48
49if findtype "an anaconda" ground -1 -1 10 as mob
50 if noto mob = hostile
51 target mob
52 else
53 ignore mob
54 replay
55 endif
56elseif findtype "a rock guar" ground -1 -1 10 as mob
57 if noto mob = hostile
58 target mob
59 else
60 ignore mob
61 replay
62 endif
63elseif findtype "a sand crawler" ground -1 -1 10 as mob
64 if noto mob = hostile
65 target mob
66 else
67 ignore mob
68 replay
69 endif
70elseif findtype "a wolfhound" ground -1 -1 10 as mob
71 if noto mob = hostile
72 target mob
73 else
74 ignore mob
75 replay
76 endif
77else
78 overhead "No mob found" 34
79 wait 2000
80 replay
81endif
82
83wft 500
84
85if insysmsg "Whom do you wish them to attack?"
86 target self
87endif
88clearsysmsg
89
90if insysmsg "Your barding skill cooldowns reset."
91 replay
92endif
93
94for 1
95 #overhead "Waiting..." 88
96 wait loopDelay
97endfor
98
99loop