Chain stun macro (enchanter)

A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.

Moderator: MacroQuest Developers

kryologik
orc pawn
orc pawn
Posts: 11
Joined: Mon Feb 17, 2003 1:40 pm
Contact:

Chain stun macro (enchanter)

Post by kryologik » Sat Jan 10, 2004 12:35 pm

I'm tired of pulling a mob, lowering it to nearly dead, memory blurring, then finishing off with my paladin. Thought it would be a good idea to go to lower guk with my paladin and train the shit out of it. Hehe. The timing on the stuns needs a little bit of tweaking, I forgot which one it was I casted where it fizzled and there wasn't enough time to recover. I don't understand the delay command though, is that in ms? hehe. Any way, enjoy!

Code: Select all

| Chain stun macro.
| - kryologik
#include Spellcast.inc 
#turbo 

Sub Main 

   | Variable declarations
   /declare stun1 local
   /declare stun2 local
   /declare stun3 local

   | Variable assignment  
   /varset stun1 "Color flux" |stun 1 (4seconds)
   /varset stun2 "Color Skew" |stun 2 (8 seconds)
   /varset stun3 "Color Shift" |stun 3 (6 seconds)

   /if $defined(Param0)==TRUE /varset stun1 @Param0 
   /if $defined(Param1)==TRUE /varset stun2 @Param1 
   /if $defined(Param2)==TRUE /varset stun3 @Param2 


   | Window output
   /echo Chain stun activated! 

   :stun 
      /doevents 
      /stand 
      /call Cast "@stun1" 
      /delay 20
      /call Cast "@stun2"
      /delay 50
      /call Cast "@stun3"
      /delay 40  
      /goto :stun 
/return
Fuck you, I have enough friends.

bob_the_builder
a hill giant
a hill giant
Posts: 275
Joined: Tue Jul 22, 2003 1:22 pm

Post by bob_the_builder » Sat Jan 10, 2004 1:40 pm


User avatar
Bad Karma
a snow griffon
a snow griffon
Posts: 346
Joined: Sat Nov 22, 2003 9:34 pm
Contact:

Post by Bad Karma » Sat Jan 10, 2004 6:57 pm

If you're using one of the more current spellcast.inc's out there, it should handle fizzles and recovery automatically.

From the looks of this, it will just stun until you /endmacro....
You could add a /if "$target()"!="TRUE" {stop casting and call in the cavalry or cast memblur and stop or whatever}
or set it to stop nuking when HP hits a certain %...
[b]- Bad Karma
________________________________________[/b]

In our own quest for excellence, we should strive to take the time to help those who help themselves.

All others should [b]RTFM[/b]!!!!!!!!!