help with a curing macro

saar

New member
Joined
Jan 23, 2007
Messages
207
Reaction score
0
Points
0
Location
Everett WA
Ok im very new to macros and I tried to make a cure macro for jelven but not sure on the targeting on it.

Code:
#event WestAe1 "#*#bleeds from the ears"
#event SouthAe1 "#*#looks pale and cold"
#event EastAe1 "#*#body looks weak"
#event UnbalencedAe1 "#*#convulses and writhes in torment"
#event UnbalancedAe2 "#*#staggers with inner turmoil"

Sub Main
   :loop
/doevents
/goto :loop

Sub Event_WestAe1
    /popup All people in the cell are stunned
/return

Sub Event_SouthAe1
    /popup Mana drain in effect south side
    :subloop
      /target ${Spawn[pc clr radius 20 next]}
      /casting "Pure Blood|8" "Disinfecting Aura|8" "Blood of Nadox|8"
      /delay 50
      /casting ${If[${Me.Book[Pure Blood]},Disinfecting Aura,Blood of Nadox]}
      /delay 50
      /goto :subloop
/return

Sub Event_EastAe1
     /popup All damage reduced by 30%
     :subcure
       /target ${Spawn[pc radius 15 next]}
       /casting Pure Blood
       /delay 50
       /casting Pure Blood
       /delay 50
       /goto :subcure
/return

Sub Event_UnbalencedAe1
      /popup Torment of Body has been casted
      :subcuring
         /target ${Spawn[pc clr radius 20 next]}
         /delay 80
         /goto :subcuring
/return

Sub Event_UnbalancedAe2
      /popup Relinquish Spirit has been casted
      :cure
        /target ${Spawn[pc clr radius 20 next]}
        /delay 80
        /goto :cure
/return

Any help would be nice trying to make it so a shammy, druid, cleric can use it to cure the ae's. ty