Bapeth's Ocean Deck Poisoner by barryroser
Description: This script will auto poison all enemies on your screen until they are all poisoned.
1# Bapeths Ship Deck Poisoner
2#
3# This script will search for enemy crewmembers
4# And will poison them if they are not poisoned
5#
6# Script starts here
7if mana >= 9 and not targetexists
8 for 25
9 hotkey "Next Monster Target"
10 @setvar enemycrew lasttarget
11 if noto "enemycrew" = "hostile"
12 getlabel enemycrew desc
13 if "Ticks" in desc
14 //do nothing
15 elseif "Poison" in desc
16 //do nothing
17 elseif not targetexists and find enemycrew ground -1 -1 12
18 hotkey '> Interrupt'
19 hotkey 'Cancel Current Target'
20 cast "Poison"
21 wft 2000
22 target enemycrew
23 hotkey "Cancel Current Target"
24 pause 250
25 replay
26 endif
27 elseif noto "enemycrew" = "criminal"
28 getlabel enemycrew desc
29 if "Ticks" in desc
30 //do nothing
31 elseif "Poison" in desc
32 //do nothing
33 elseif not targetexists and find enemycrew ground -1 -1 12
34 hotkey '> Interrupt'
35 hotkey 'Cancel Current Target'
36 cast "Poison"
37 wft 2000
38 target enemycrew
39 hotkey "Cancel Current Target"
40 pause 250
41 replay
42 endif
43 elseif noto "enemycrew" = "murderer"
44 getlabel enemycrew desc
45 if "Ticks" in desc
46 //do nothing
47 elseif "Poison" in desc
48 //do nothing
49 elseif not targetexists and find enemycrew ground -1 -1 12
50 hotkey '> Interrupt'
51 hotkey 'Cancel Current Target'
52 cast "Poison"
53 wft 2000
54 target enemycrew
55 hotkey "Cancel Current Target"
56 pause 250
57 replay
58 endif
59 elseif noto "enemycrew" = "enemy"
60 getlabel enemycrew desc
61 if "Ticks" in desc
62 //do nothing
63 elseif "Poison" in desc
64 //do nothing
65 elseif not targetexists and find enemycrew ground -1 -1 12
66 hotkey '> Interrupt'
67 hotkey 'Cancel Current Target'
68 cast "Poison"
69 wft 2000
70 target enemycrew
71 hotkey "Cancel Current Target"
72 pause 250
73 replay
74 endif
75 endif
76 endfor
77else
78 overhead "Not enough mana..." 38
79endif
80script "Master Background"
81stop