Casting.mac - A macro to practice your spell casting

Macro depository for macros written before the user variable changes that broke all of them.

Moderator: MacroQuest Developers

Wendel
a lesser mummy
a lesser mummy
Posts: 58
Joined: Wed Jul 24, 2002 1:48 am

Casting.mac - A macro to practice your spell casting

Post by Wendel » Tue Aug 27, 2002 12:47 am

This macro will cast all of your spells in a cycle. It will check if you are out of mana and med back to full, then get up and cast away again until oom.

Code: Select all

| Casting.mac
|  --Casting Practice Macro --
| Put your 5 smallest spells for each discipline in slots 1-5 in the following order Divination,
| Evocation,Conjuration,Abjuration,Alteration
| Find a nice lonely place where you can just hang out and practice casting your spells
| Don't go AFK while using this macro, you have been warned

#include SpellSub.mac
#Event MedTime "Insufficient Mana to cast this spell"

Sub Main
/target myself
   :Loop
      /call Divination
      /call Evocation
      /call Conjuration
      /call Abjuration
      /call Alteration
      /doevents
   /goto :Loop
/return

Sub Divination
  /call SpellSub 1 4s
/return

Sub Evocation
  /call SpellSub 2 4s
/return

Sub Conjuration
   /call SpellSub 3 4s
/return

Sub Abjuration
   /call SpellSub 4 5s
/return

Sub Alteration
   /call SpellSub 5 4s
/return

Sub Event_MedTime
   /book
   :GetMana
   /if n $char(mana,pct)<95 /goto :GetMana
   /sit off
/return

[quote]

[/quote]

macrolover
a ghoul
a ghoul
Posts: 107
Joined: Sun Jul 14, 2002 9:19 am

Post by macrolover » Wed Aug 28, 2002 4:43 pm

in the med part of your script where do you tell it to sit? i see where your telling it to stand but not sit

eqjim
a lesser mummy
a lesser mummy
Posts: 35
Joined: Tue Aug 27, 2002 3:56 pm

Post by eqjim » Wed Aug 28, 2002 4:46 pm

he uses SpellSub to actually cast the spells.. i believe that .mac has /sit on after its done casting a spell.

no need to manually add it since that .mac does it for ya.

Wendel
a lesser mummy
a lesser mummy
Posts: 58
Joined: Wed Jul 24, 2002 1:48 am

Post by Wendel » Thu Aug 29, 2002 1:13 pm

Code: Select all

Sub Event_MedTime
   /book  | this can be replaced by /sit
   :GetMana
   /if n $char(mana,pct)<95 /goto :GetMana
   /sit off
/return 
I didn't realize that noobs didn't have to look at their books anymore, /book can be replaced with /sit

[/quote]