-
Notifications
You must be signed in to change notification settings - Fork 0
/
caracal.cmd
51 lines (41 loc) · 1.88 KB
/
caracal.cmd
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
####################################################################################################
# .caracal
# Selesthiel - [email protected]
#
# USAGE
# .caracal
#
####################################################################################################
include libmaster.cmd
action goto caracal.done when ^The leather looks frayed, as if worked too often recently, so you stop your attempt to skin it\.$
action goto caracal.done when ^A small fuzzy caracal with tufted ears and double-stitched seams isn't in need of repair\.$
var loopsRemaining 30
caracal.main:
if ($First_Aid.LearningRate > 32 && $Skinning.LearningRate > 32) then goto caracal.done
gosub almanac.onTimer
if ($char.magic.train.usePray = 1) then gosub pray.onTimer $char.magic.train.prayTarget
if ("$guild" = "Moon Mage" && $Astrology.LearningRate < 31) then gosub observe.onTimer
if ("$guild" = "Moon Mage" && $Astrology.LearningRate < 25) then gosub runScript predict
if ($Attunement.LearningRate < 33) then gosub perc.onTimer
if ($Appraisal.LearningRate < 33) then gosub appraise.onTimer
if ($Arcana.LearningRate < 33 && $concentration = 100) then {
if ($SpellTimer.EyesoftheBlind.active = 1) then gosub release eotb
if ($SpellTimer.RefractiveField.active = 1) then gosub release rf
if ($hidden = 1) then gosub shiver
gosub gaze my sanowret crystal
}
if ("$righthand" != "fuzzy caracal") then {
gosub stow right
gosub stow left
gosub get my caracal
}
gosub skin my caracal
gosub repair my caracal
evalmath loopsRemaining (%loopsRemaining - 1)
if (%loopsRemaining < 1) then goto caracal.done
goto caracal.main
caracal.done:
if ("$righthand" = "fuzzy caracal" || "$lefthand" = "fuzzy caracal") then gosub stow my caracal
pause .2
put #parse CARACAL DONE
exit