Request: Defense increasing macro

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

Moderator: MacroQuest Developers

Likwid
orc pawn
orc pawn
Posts: 22
Joined: Mon Nov 03, 2003 6:09 pm

Request: Defense increasing macro

Post by Likwid » Mon Nov 03, 2003 6:12 pm

I would like a macro I can sit my character (the one that needs defense) and have my other bots (the one's attacking him) send in their pet's to attack the character needing defense. If anyone can help me I would appreciate it.

xviisualx
orc pawn
orc pawn
Posts: 22
Joined: Mon Nov 18, 2002 3:08 pm
Contact:

asdfasdfasdfasdf

Post by xviisualx » Mon Nov 03, 2003 6:33 pm

Not exactly what your looking for but I used this and it works fine. Should be like level 50+ with a aaego buff if you can The broodmother is in GD in worm caves, is perma rooted so *shrug* have at it

Code: Select all

#turbo

Sub Main

:train
/call EnterAgroRange
/if n $char(hp,pct)<"40" {
  /call LeaveAgroRange
  /call HealUp
  }
/goto :train
/return
 
sub EnterAgroRange 
  /if n $target(distance)<=13 { 
     /face fast look nopredict 
     /goto :Engage
  } 

  :Movementloop 
  /sendkey down up 
  /face fast look nopredict 
  /if n $target(distance)<=13 { 
     /face fast look nopredict 
     /sendkey up up 
     /goto :Engage 
  } 
  /if n $target(distance)>13 /goto :MovementLoop
|  /stopsong
|  /cast 1
  :Engage
  /if $combat==FALSE /at
  /if n $char(ability,"begging")==3 {
    /if $combat==TRUE /at
    /delay 0
    /doability begging
    /if $combat==FALSE /at
    }
|  /if n $char(gem,"Warsong of Zek")!=-2 {
|    /stopsong
|    /cast 2
    }
/return 

Sub LeaveAgroRange
  :moveplz
  /if $combat==TRUE /at
  /if n $distance(-3300,-1260)<2 /goto :done
  /sendkey down up
  /face loc -3300,-1260
  /delay 0
  /goto :moveplz
  :done
  /sendkey up up
/return

Sub HealUp
  /if $combat==TRUE /at
|  /stopsong
|  /cast 3
  /sit
  :regenloop
  /face look nopredict
  /delay 1
  /if $char(hp,pct)!=100 /goto :regenloop
  /sit off
/return
Hoodallali!

Likwid
orc pawn
orc pawn
Posts: 22
Joined: Mon Nov 03, 2003 6:09 pm

Hey

Post by Likwid » Mon Nov 03, 2003 7:33 pm

Thanks for the fast reply,

Though I have some questions first off,


This is for the character working defense right? What if the character can't heal, and what exactly are we looking at though I notice once the character is below 40 health it will back off and heal.

Also if need be I can have a character heal him at %40pct etc but would need an autoheal macro if that is possible.

User avatar
Curious
a ghoul
a ghoul
Posts: 88
Joined: Wed Aug 27, 2003 5:19 am

Re: Request: Defense increasing macro

Post by Curious » Thu Nov 06, 2003 4:47 am

Likwid wrote:...send in their pet's to attack the character needing defense...
Does this work?

LordGiddion
a snow griffon
a snow griffon
Posts: 352
Joined: Sat Sep 13, 2003 6:12 pm
Contact:

Post by LordGiddion » Thu Nov 06, 2003 7:30 am

For the other char to autoheal, just load up the genbot macro and have them grouped.