Page 1 of 1
looking for afk cleric mac
Posted: Mon Jul 09, 2007 7:47 am
by zxcvb
im looking for an afk cleric mac that doesnt toggle between the mob in camp and the mt . any one got one that stays targeted on tank, but will heal the rest of the group if they get low?
Posted: Mon Jul 09, 2007 9:05 am
by discip1e
pretty sure there is a macro that will suit your needs. . .
in the vip section

Posted: Wed Oct 10, 2007 5:58 pm
by ralliiart
this will get you started... if you can't take it from here, you probably shouldn't be doing it in the first place:
(for this example, make sure your tank is the leader of the group - slot 1)
#define MA_SLOT 1 |(MA slot in group)
#define MA_HEAL_PCT 60 |(pct to heal MA only)
#define HEAL_PCT 80 |(pct to heal other group members)
.......main and stuff starts
/declare mem int
/for mem 0 to ${Group.Members}
/if (${mem}==MA_SLOT) {
/if (${Group.Member[${mem}].PctHPs}<MA_HEAL_PCT) {
/... target and heal the MA here - may want to do other checks - i.e. if they are even alive
}
} else {
/if (${Group.Member[${mem}].PctHPs}<HEAL_PCT) {
/...target and heal group member or yourself here
}
}
/next mem
...this is quick example of how to do this - as with everything, it could be done better with more planning and clever coding
P.S. physically targeting mobs and group members to check if they need healing, etc is a sloppy way of getting the job done
Posted: Wed Oct 10, 2007 8:49 pm
by fearless
Why are you using define in such a fashion?
Posted: Wed Oct 10, 2007 9:02 pm
by dont_know_at_all
fearless wrote:Why are you using define in such a fashion?
Do wipes on LD make you horny, baby?
Posted: Wed Oct 10, 2007 9:12 pm
by jacensolo
And having defines instead of variables or just constants (only used once each) will stop wipes on LD? Maybe you're running something I'm not, but as soon as one of my chars goes LD, he stops doing just about everything. So as far as I can see, theres not much difference.
Posted: Wed Oct 10, 2007 10:42 pm
by dont_know_at_all
If tank is at slot 5 and the beastlord goes LD, who is in slot 5?
Granted there are a lot of assumptions in there...
Posted: Thu Oct 11, 2007 10:50 am
by ralliiart
i always use pragmatic defines/constants in any programming language when possible - especially in scripting - cuts down on memory usage, increases speed, etc.., while still allowing you to make changes across the board quickly and easily for situational changes.
define ftw
P.S. The script snippet I posted above is not set in stone, and is not ready to go. You can use defines, variables, or any method you want to assign the values. You can also check for the MA a different way if you want - check their name if you want instead. I prefer slot 1 for my own reasons. I only posted it as a guideline for how to loop through your group members to check their health and heal accordingly without having to physically target each one and/or the mob.
In my group of 4-5 (depending), my cleric melees the mob, always keeping yaulp going, and constantly running through a loop similar to the one above to check the health of everyone.
Posted: Thu Oct 11, 2007 12:28 pm
by dont_know_at_all
should be
Code: Select all
/if (${Group.Member[${i}].ID}==${Spawn[pc ${MA_NAME}].ID}) {
so that your tank healing algorithm works regardless of which slot the tank is in...
Posted: Thu Oct 11, 2007 4:31 pm
by ralliiart
Yup -- that's why i said, you can reference the tank however you want -- for my own reasons, the way my groups are setup, and not having to worry about lag or distance screwing up my references, I set my tank to slot 1.
The name reference works fine too.
My groups are built around my MA pulling and tanking for days on end... the MA slot never changes for me (ever), although the name sometimes changes. If the tank dies or LDs, the group is on hold until he returns. My macros aren't designed to work in other people's groups or to just help out while I play. The way I reference the tank just happens to work better for me - your way (or any way you choose) will probably work better for you, as long as you aren't physically targeting the tank to check him.
Re: looking for afk cleric mac
Posted: Sun Jan 11, 2026 9:05 pm
by xyilla