Raid Healer v1.3 - Heal your raid (Updated: 11-8-04)

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

Neolesh
a hill giant
a hill giant
Posts: 231
Joined: Mon Aug 23, 2004 11:15 am

Post by Neolesh » Sun Nov 07, 2004 7:32 pm

This is what I'll be testing tonight.. let me know if something looks wrong

Code: Select all

/for r ${Raid.Members} downto 0
  /if (${Raid.Member[${r}].Spawn.ID} != NULL && ${Raid.Member[${r}].Spawn.Type.NotEqual[Corpse]}) {
     /target pc ${Raid.Member[${r}]}
     /call ClassCheck
  }
  
/next r

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Sun Nov 07, 2004 8:29 pm

target by id, there's still a chance of you getting Joe instead of Joebob

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Sun Nov 07, 2004 9:00 pm

Cr4zyb4rd wrote:target by id, there's still a chance of you getting Joe instead of Joebob
Basically, instead of:

Code: Select all

     /target pc ${Raid.Member[${r}]} 
use:

Code: Select all

     /target id ${Raid.Member[${r}]} 
It's rare when you run into that issue, but it does happen. Using ID eliminates that variable from the equation completely
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Sun Nov 07, 2004 9:35 pm

Yes, except that the code you posted doesn't return an ID :P

Neolesh
a hill giant
a hill giant
Posts: 231
Joined: Mon Aug 23, 2004 11:15 am

Post by Neolesh » Sun Nov 07, 2004 11:09 pm

What I'm testing tonight is ...

Code: Select all

/for r ${Raid.Members} downto 0 
  /if (${Raid.Member[${r}].Spawn.ID} != NULL && ${Raid.Member[${r}].Spawn.Type.NotEqual[Corpse]}) { 
     /target ID ${Raid.Member[${r}].ID} 
     /call ClassCheck 
  } 
  
/next r
Thanks for the sugestions on this.

Edit: Tested for several hours and didn't have any targeting problems. going to add this to page 1