healme.mac useful for beastlords

A forum for macro code snippets to be used in writing other macros. Post routines or .inc files here only, completed macros go to the Macro Depot. MQ2Data format only!

Moderator: MacroQuest Developers

lan
orc pawn
orc pawn
Posts: 21
Joined: Sat Jul 03, 2004 5:23 pm
Location: Tinker AFB

healme.mac useful for beastlords

Post by lan » Wed Aug 25, 2004 2:34 am

this is my first script/macro I've ever writen
its very useful for the lazy beastlord who doesn't like to heal 3 or 4k 100hps per cast


Code: Select all

|This macro is my first attempt at making one
|What it does is just target and heal you upto full
|useage is /macro healme 
|its easier to add /healme=/macro healme to your Aliases
|so here is Healme  by lan
----------------------------------

|What spell do you use to heal yourself
#define healspell healing



#turbo
#Include spellcast.inc

Sub Main

:loop
/if (${Me.PctHPs}<100) {
/goto :healme
} else {
/popup We are done healing
/goto :end 
}


:healme
/target Myself
/call Cast "healspell"
/goto :loop

:end
/echo ending
/endmacro
please let me know if this is totally f'edup or at all useful

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Wed Aug 25, 2004 9:41 am

I would not call it useless, if it works and you learned from making it.

I'd change it a bit so that it watched for hp% to hit a certain point and then to cast heal until 100%hp or mana gone. Just to make it more useful.

There are a few macros that have healing routines in them. Check them out. Heck go through and find macros that are fairly short and learn from them. That's a large part of what I am doing.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

lan
orc pawn
orc pawn
Posts: 21
Joined: Sat Jul 03, 2004 5:23 pm
Location: Tinker AFB

Post by lan » Wed Aug 25, 2004 2:54 pm

Yeah thats what I've been doing
and during normal combat I heal myself I just use it when i'm taking a break so I dont have to come back to 50% hps and 100 mana