Borys212
New member
- Joined
- Sep 12, 2004
- RedCents
- 0¢
I copied this code from another macro. This subroutine is supposed to cycle through the group, check their class, and if they're a melee cast Spritit of the Puma on them. The code is entering the loop when called, but its not doing anything else. It just returns to the sub that called it.
Any thoughts on why this isn't working?
Thanks so much.
Any thoughts on why this isn't working?
Thanks so much.
Rich (BB code):
/declare MyMob int local
/varset MyMob ${Target.ID}
/declare x int local
/for x 1 to {Group.Members}
/if (${Group.Member[${i}].ID}) {
/if (${Select[${Group.Member[${i}].Class.ShortName},WAR,MNK,ROG,RNG,BST,SHD,PAL,BER,BRD]}) {
/squelch /target id ${Spawn[${Group.Member[${i}]}].ID}
/delay 5 ${Target.ID}==${Spawn[${Group.Member[${i}]}].ID}
/call cast "${Me.Gem[4]}"
}
}
/next x
/target id ${MyMob}
/return

