Nesting If's in Razor

Post Reply
randale
Posts: 852
Joined: Sun Jul 13, 2008 2:42 pm

Nesting If's in Razor

Post by randale »

Here's a macro I'm doing, trying to raise my magery. What it's supposed to do is try to meditate several times, and upon a successful attempt wait until my mana reaches 100, but for some reason sometimes after successfully meditating, it stops, waits 10 seconds then tries to meditate again

Exec: Gate Travel
Pause 1.00 sec
Wait for Target
Absolute Target
Pause 1.00 sec
If Mana <= 55
Exec: Meditation
If sys message "focus"
Pause 10.00 sec
Exec: Meditation
If Sysmessage "focus"
Exec: Meditation
Pause 10.00 sec
Exec: Meditation
If Sysmessage "focus"
Pause 10.00 sec
Exec: Meditation
Wait for Mana >=100
End If
Wait for Mana >=100
End If
Wait for Mana >=100
End If
Wait for Mana >=100
End If
Wait for Mana >=100

I originally had 5 end if's with no wait for mana >=100 lines, I thought that might be the problem

randale
Posts: 852
Joined: Sun Jul 13, 2008 2:42 pm

Re: Nesting If's in Razor

Post by randale »

It's working a little better now, it wasn't exactly as I posted it (I had to edit it here)

User avatar
Orion GM B^D
Posts: 1680
Joined: Thu Oct 13, 2011 6:35 pm
Location: Trinsic

Re: Nesting If's in Razor

Post by Orion GM B^D »

Here is my macro for magery/resist/med

double click fish (all my chars eat when training)
pause 1.10sec
If(mana>=57) need to adjust, depending on int, read wiki
cast spell(flame strike#51)
wait for target
exec:target self
pause 3.00sec
If(mana<=99)
use skill(meditation)
pause 12.00sec
If(sys message "focus"
use skill(meditation)
pause 12.00sec
End If

I get fairly good gains and flame strike is only 2 regs. You'll have to use a healer that can be on another acct.
Taking for granted you are near 90. I do ebolt from like 60 for magery/resist/med. Macro is the same as above.


Hope this helps
Image
WiseOne wrote:I don't log on often, but when I do, I shop at Trinny Stone Vendors!
Trinny Stone Vendors
@Trinsic Moongate/Est. 6-2-12

Post Reply