Created: 07/15/2024, 06:35:48 PM Updated: 08/03/2024, 02:52:54 PM View Change History
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
33if not hidden and not mounted
34 dclick myMount_
35elseif hidden and mounted
36 dclick myMount_
37endif
38
39
40while not dead lasttarget and hidden
41 if find myMace_ backpack
42 dclick myMace_
43 endif
44
45
46
47 while notStealthing_ = 1 and hidden
48 if timer "dontWalkOverheadTimer_" > dontWalkOverheadTimerTarget_
49 overhead "DONT WALK" 28
50 settimer "dontWalkOverheadTimer_" 0
51 endif
52 if insysmsg "You feel comfortable enough to begin stealthing."
53 setvar notStealthing_ 0
54 overhead "STEALTH"
55 endif
56 endwhile
57 if stam = maxstam and timer "staminaControlTimer_" > staminaControlTimerTarget_
58 dclick myWizardHat_ backpack
59 dclick myHeadPiece_ backpack
60 settimer "staminaControlTimer_" 0
61 endif
62 if checkSteps_ = 1
63 if insysmsg "You have 4 stealth steps remaining." or insysmsg "You have 3 stealth steps remaining." or insysmsg "You have 2 stealth steps remaining."
64 overhead "WARNING" 43
65 elseif insysmsg "You have 1 stealth steps remaining." or insysmsg "You have 0 stealth steps remaining."
66 overhead "STOP" 28
67 endif
68 endif
69 if insysmsg "You have 0 stealth steps remaining." and checkSteps_ = 0
70 setvar checkSteps_ 1
71 endif
72 if insysmsg "You will automatically stealth when out of steps." and checkSteps_ = 1
73 setvar checkSteps_ 0
74 endif
75 if timer "myTargetOverheadTimer_" > myTargetOverheadTimerTarget_
76 overhead "▼" 38 lasttarget
77 settimer "myTargetOverheadTimer_" 0
78 endif
79
80
81
82
83 if find lasttarget ground -1 -1 3 and not find lasttarget ground -1 -1 1
84 if timer "proximityOverheadTimer_" > proximityOverheadTimerTarget_
85 overhead "NEAR TARGET" 43
86 settimer "proximityOverheadTimer_" 0
87 endif
88 elseif find lasttarget ground -1 -1 1
89 if timer "proximityOverheadTimer_" > proximityOverheadTimerTarget_
90 overhead "ON SPOT" 38
91 settimer "proximityOverheadTimer_" 0
92 endif
93
94 cooldown "Tactics" 10000
95 cooldown "Hiding" 5000
96 attack lasttarget
97
98 endif
99endwhile
100
101if not hidden and not mounted
102 dclick myMount_
103endif
104
105while not hidden and not dead lasttarget
106 if timer "myTargetOverheadTimer_" > myTargetOverheadTimerTarget_
107 overhead "▼" 38 lasttarget
108 settimer "myTargetOverheadTimer_" 0
109 endif
110 if not hidden and cooldown "Tactics"
111 if find myBow_ backpack
112 dclick myBow_
113 endif
114 if not cooldown "Weapon Ability"
115 if weaponAbility_ = 1
116 say "[WeaponAbility1"
117 elseif weaponAbility_ = 2
118 say "[WeaponAbility2"
119 else
120 say "[WeaponAbility3"
121 endif
122 endif
123 if insysmsg "You cannot perform that ability yet."
124 cooldown "Weapon Ability" 2500
125 endif
126 warmode "on"
127 attack lasttarget
128 endif
129 if not find lasttarget ground -1 -1 12 and not cooldown "Hiding"
130 overhead "TRY HIDING"
131 endif
132 if not cooldown "Smoke Bomb" and timer "smokeBombOverheadTimer_" > smokeBombOverheadTimerTarget_ and not cooldown "Hiding"
133 overhead "CAN USE SMOKE BOMB"
134 settimer "smokeBombOverheadTimer_" 0
135 endif
136 if timer "tacticsOverheadTimer_" > tacticsOverheadTimerTarget_ and not cooldown "Tactics"
137 overhead "DONT ENGAGE" 32
138 settimer "tacticsOverheadTimer_" 0
139 endif
140 if timer "rangeOverheadTimer_" > rangeOverheadTimerTarget_ and cooldown "Tactics" and find lasttarget ground -1 -1 archeryRange_
141 overhead "IN RANGE"
142 settimer "rangeOverheadTimer_" 0
143 endif
144endwhile