• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->

Bard heal mac addition (1 Viewer)

letmein

New member
Joined
Aug 10, 2005
RedCents
Was wondering if anyone had any idea how to code the following.

I currently Include Wind of Marr in my /twist when I play to counter act the maulings I get. Problem is, when I'm at 100% health, I'm losing valuable DPS because I keep recasting Marr.

What would I have to include in my macro to only cast Marr when Below 90% health?

And would it mess up my /twist? Or just include it as part of the twist or what?

Thanks again!
 
(add this at the end of your delcares in the macro)
Rich (BB code):
/declare turnedon outer FALSE
(add this somewhere in the main loop)
Rich (BB code):
/call CheckHPs
(add this to the end)
Rich (BB code):
Sub CheckHPs
  /if (${Me.PctHPs}<90 && !${turnedon}) {
    /twist <gem> <gem> <gem> <gem> <gem>
    /varset turnedon TRUE
  } else {
    /if (${turnedon}) {
      /twist <gem> <gem> <gem> <gem>
      /varset turnedon FALSE
    }
  }
/return

Put each peice where it says in the macro. Replace <gem> with the corresponding #'s of your song gems you are using. The extra variable is there to check and see if /twist has switched so it doesn't constantly reset your twist when the sub is called. This isn't tested and I'm well known for leaving out brackets and ( all the time :D It should work though.

**EDIT**
Already had to fix a bug :mad:
Also make sure there isn't already a Sub named CheckHPs if there is rename the one here to something else and make sure to change the /call CheckHPs to whatever you renamed Sub CheckHPs to.
 
Last edited:
Yes.



#turbo
#Event Zoned "#*#You have entered#*#"


Sub Main
/declare turnedon FALSE


:loopstart
/doevents
/call GMcheck
/call CheckHPs
/if (${Target.Level}>67) /tar npc next
/if (${Target.Distance}>220) /keypress esc
/if (${Target.ID}==FALSE) /tar NPC radius 220
/delay 10
/goto :loopstart
/return

Sub GMcheck
/if (${Spawn[gm].ID}) {
/echo Gm detected
/beep
/beep
/beep
/keypress 9
/endmac
/unload
/q
}
/return

Sub CheckHPs
/if (${Me.PctHPs}<90 && !${turnedon}) {
/twist 1 2 3 4 5
/varset turnedon TRUE
} else {
/if (${turnedon}) {
/twist 1 2 3 4 5 6
/varset turnedon FALSE
}
}
/return

Sub event_camp
/sit
/camp desk
/return

sub event_zoned
/delay 5s
/sit
/camp desk
/endmac
/return
 
This fixed it to some extent.

No errors anymore. However when I am below 90% health all it does it tries to twist 1 2 3 4 5 6, (the twist with regen like it is supposed to) and the twist 1 2 3 4 5 back and forth back and forth over and over in a loop. It is not even casting Selo's once, it is switching back between the two over and over and over again.

It needs to just play 6 <regen> as /twist 1 2 3 4 5 6 until I am above 90% health again then switch back to doing just DPS /twist 1 2 3 4 5

Almost there...
 
Rich (BB code):
Sub CheckHPs
  /if (${Me.PctHPs}<90 && !${turnedon}) {
    /twist <gem> <gem> <gem> <gem> <gem>
    /varset turnedon TRUE
  } else {
    /if (${turnedon} && ${Me.PctHPs}>90) {
      /twist <gem> <gem> <gem> <gem>
      /varset turnedon FALSE
    }
  }
/return

Give this a try. Added a HP check to the else so it shouldn't switch it back unless the twist has change AND you are over 90%
 
Bard heal mac addition

Users who are viewing this thread

Back
Top