Review my simple macro, let me know what needs to be done.

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

ubatch
a ghoul
a ghoul
Posts: 93
Joined: Tue Nov 18, 2003 3:57 pm

Review my simple macro, let me know what needs to be done.

Post by ubatch » Fri Dec 05, 2003 4:35 pm

Please tell me what you guys think of it. Let me know how to improve it, i KNOW it'll need it. Just a little something to make my wiz casting easier on me

Also, i dont want anything fansy, just tell me if it'll be functional and that sort of thing :)

Code: Select all

| This is Malkum's casting program.  Simple, yet effective. 
| 
| Let's just hope it works... 
| 
| 
/echo "Malkast macro starting.  Be prepaired for some ownage!" 

#turbo 20 

Sub Main 
/declare mobHP global 
/varset mobHP == $target(hp,pct) 

/if mobHP == 50 { 
   /call mobHP50 
} 
/if mobHP == 15 { 
   /call mobHP15 
} 
/return 

Sub mobHP50 
/if $char(state) == STAND { 
   /cast "Sunstrike" 
   } else { 
   /stand 
   /cast "Sunstrike" 
} 
/sit 
/return 

Sub mobHP15 
/if $char(state) == STAND { 
   /cast "Draught of Ro" 
   } else { 
   /stand 
   /cast "Draught of Ro" 
} 
/sit 
/return