Back to "eval" tags

Improved Magery Eval Intel Spirit Speak. by .baldmenace

Description: Upgrade to https://outlands.uorazorscripts.com/script/85d7791b-2cfb-431f-8df7-c1fa34322c22

Fixed an issue if you didn't have a hotkey bound to meditation if forces an infinite loop to try and spirit speak.

Added Vars so that you can set the max skill you want to train up to.

Also this fixed an issue where it kept casting earth elementals wasting regents, but not performing the evaluate intelligence skill.

1# What is needed:#
2# Just a lot of mandrake root, spider silk and bloodmoss!#
3# Happy macro-ing! #
4@setvar! MaxMagery 100
5@setvar! MaxEvalInt 100
6@setvar! MaxSprtSpk 80
7
8if mana < 50 and not findbuff "actively meditating"
9    skill 'meditation'
10endif
11if skill "Magery" < MaxMagery and mana >= 100
12    say 'Guards'
13endif
14if followers < 4 and not findbuff "actively meditating"
15    cast 'Earth Elemental'
16    wait 6000
17endif
18if followers = 4
19    say "all release"
20    waitforgump 931181454
21    gumpresponse 1
22    wait 500
23    say 'Guards'
24endif
25if skill "Magery" = MaxMagery and skill "Evaluate Intelligence" < MaxEvalInt
26    if findtype "an earth elemental" true
27        skill 'evaluatingintelligence'
28        waitfortarget
29        targettype 'an earth elemental'
30        wait 3000
31    endif
32    if not findtype "an earth elemental"
33        cast 'Earth Elemental'
34        wait 6000
35    endif
36endif
37if skill "Magery" = MaxMagery and skill "Evaluate Intelligence" = MaxEvalInt and skill "Spirit Speak" < MaxSprtSpk
38    skill 'Spirit Speak'
39    wait 2000
40 endif
41 if skill "Magery" = MaxMagery and skill "Evaluate Intelligence" = MaxEvalInt and skill "Spirit Speak" = MaxSprtSpk
42     overhead 'All done.'
43    stop
44endif
45replay