Back to "disco" tags

Select a target to all kill and discord by Jaseowns

1# Select a target to herd and discord by Jaseowns
2# UO Outlands
3
4if targetexists 
5    hotkey 'Cancel Current target'
6endif
7
8@setvar! mySingleKillTarget
9
10if noto mySingleKillTarget = "friend"
11    overhead "Retarget" 34
12    @setvar! mySingleKillTarget
13endif
14
15@setvar! isDiscorded 0
16
17
18if not timerexists skillTimer
19    settimer skillTimer 12000    
20endif
21
22if followers > 0
23    say 'all kill'
24    wft 500
25    target mySingleKillTarget
26endif
27
28
29while isDiscorded = 0
30
31    if skill "Discordance" >= 50 
32        if isDiscorded = 0
33            getlabel mySingleKillTarget discordDesc
34            if "discord" in discordDesc
35                @setvar! isDiscorded 1
36            elseif timer skillTimer >= 11000 
37                useskill 'Discordance'
38                wft 500
39                if insysmsg "What instrument"
40                    if findtype "bamboo flute" backpack as inny
41                        target inny
42                    elseif findtype "tambourine" backpack as inny
43                        target inny
44                    elseif findtype "drum" backpack as inny
45                        target inny
46                    elseif findtype "lute" backpack as inny
47                        target inny
48                    elseif findtype "harp" backpack as inny
49                        target inny
50                    elseif findtype "lap harp" backpack as inny
51                        target inny
52                    else
53                        overhead "I do not have an inny" 34
54                        @setvar! isDiscorded 1
55                    endif
56                    wft 500
57                endif
58                if targetexists 
59                    target mySingleKillTarget
60                    overhead "Discorded" 88 mySingleKillTarget
61                endif
62                settimer skillTimer 5000
63            endif
64        endif
65        
66    
67    endif
68    wait 100
69
70endwhile
71
72while not findbuff "song of discordance"
73    if timer skillTimer >= 11000
74        useskill 'Discordance'
75        wft 500
76        if insysmsg "What instrument"
77            if findtype "bamboo flute" backpack as inny
78                target inny
79            elseif findtype "tambourine" backpack as inny
80                target inny
81            elseif findtype "drum" backpack as inny
82                target inny
83            elseif findtype "lute" backpack as inny
84                target inny
85            elseif findtype "harp" backpack as inny
86                target inny
87            elseif findtype "lap harp" backpack as inny
88                target inny
89            else
90                overhead "I do not have an inny" 34
91                @setvar! isDiscorded 1
92            endif
93            wft 500
94        endif
95        target backpack
96    endif
97    wait 100
98endwhile   
99
100target mySingleKillTarget 
101getlabel mySingleKillTarget desc
102overhead desc 88 mySingleKillTarget