assist and fight

Got a cool macro idea? Wanna request a macro? Here is the place for you!

Moderator: MacroQuest Developers

kizna(notloggedin)

assist and fight

Post by kizna(notloggedin) » Sun Nov 09, 2003 10:51 am

I was wondering if anyone could help me, I have a couple of fighting macros, but what I am really looking for is some help on adding this to the script.

line in script for person to assist
get current coords
assist then keep watching until their target is within a fairly short range
attack
when target is gone return to coords
repeat

Code: Select all

#Event Loading "You have been slain by a" 
#Event See "You can't see your target" 
#Event Darkness "Your Festering Darkness spell has worn off" 
#event Fizzle "Your spell fizzles!" 
#event Interrupt "Your casting has been interrupted!" 
#event Interrupt "Your spell is interrupted." 
|#event Recover "You haven't recovered yet..." 
|#event Recover "Spell recovery time not yet met." 
#event Resisted "You target resisted the " 
#event OutOfMana "Insufficient Mana to cast this spell!" 
#event OutOfRange "Your target is out of range, get closer!" 
#event Stunned "You cannot cast while stunned" 
#event Standing "You must be standing to cast a spell" 
#event Collapse "Your gate is too unstable, and collapses." 
#event target "you must first select a target  for this spell" 
#turbo 

Sub Main 
/declare mytimer timer 
/varset mytimer 3s 
/if "$target()"=="TRUE" /if n $target(distance)>=20 /attack on 
   :Loop 
      /if n $target(distance)>=20 /sendkey down up 
      /if n $target(distance)>=18 /sendkey down up 
      /if n $target(distance)<=10 /sendkey up up 
      /if n $target(distance)<=8 /sendkey up up 
      /if "$target()"=="TRUE" /if n $target(distance)>=20 /attack on 
      /face fast 
      /doevents
      /attack on
      /if $char(ability,"Disarm")>0 /if n $target(distance)<=15 /doability "Disarm" 
      /if $char(ability,"Bash")>0 /if n $target(distance)<=15 /if n $v30==0 /doability "Bash" 
|      /if $char(ability,"taunt")>0 /if n $target(distance)<=15 /if n $v30==0 /doability "taunt" 
      /if "$target()"=="TRUE" /goto :Loop 
      /face look 
       /attack off 
      /endmacro keep keys 



Sub Event_Enraged 
  /varset v30 1 
  /attack off 
  /echo Atk off 
  /sendkey down up 
  /sendkey up up 
  /face 
  /return 


Sub Event_See 
/press down 
/face fast 
/press down 
/return 

Sub Event_Offrage 
   /attack on 
   /return 

Sub Event_Gain 
   /attack off 
   /endmacro keep keys 

Sub Event_Loading 
   /endmacro keep keys 
That's what I'm currently using as my assist macro, it's from the Lazy Shadow Knight raid assist macro.

I am a shadow knight but mainly just want this script so I can use it to work my skills on others pulls if they let me.

Thanks

kizna
decaying skeleton
decaying skeleton
Posts: 4
Joined: Tue Nov 04, 2003 6:15 pm

Post by kizna » Sun Nov 09, 2003 10:52 am

that was me ^