Self buff macro?
Posted: Tue Sep 18, 2012 4:33 pm
I've checked the Wiki, and did a search, but TBH I have no idea what search terms I would have used to figure out this problem... So please forgive me if this is already addressed in another post. Also I am rather new to making macros so its probably a newb problem.
I just want it to check and see if I have Perfected DMF, if I do not, cast it. If I do have DMF on move to the next line.
Any tips on what is causing this to fail, or how I can do this easier?
EDIT: I found out how to do it, took me awhile...
Though, if anyone has a easier method. I'll be interested in learning anything new! 
Code: Select all
Sub Main
/tar myname
${If[${Me.Buff[Perfected Dead Man Floating]},,/aa act perfected dead man floating /delay 4s]}
/memspellset Shadowside
/delay 5s
/cast 12
/delay 3s
/cast item "Mask of the Beasts"
/delay 1s
/cast item "Worker's waistbelt"
/delay 1s
/cast item "vyers' engraved ring"
/delay 1s
/cast item "Ritual blade of the Tides"
/return
Any tips on what is causing this to fail, or how I can do this easier?
EDIT: I found out how to do it, took me awhile...
Code: Select all
Sub Main
/tar myname
/if (${Me.Buff[Perfected Dead Man Floating].ID}) {
/call :second
}
/aa act Perfected Dead Man Floating
/delay 4s
/memspellset Shadowside
/delay 5s
/cast 12
/delay 3s
/cast item "Mask of the Beasts"
/delay 1s
/cast item "Worker's waistbelt"
/delay 1s
/cast item "vyers' engraved ring"
/delay 1s
/cast item "Ritual blade of the Tides"
/endmacro
/return
Sub :Second
/delay 2s
/memspellset Shadowside
/delay 5s
/cast 12
/delay 3s
/cast item "Mask of the Beasts"
/delay 1s
/cast item "Worker's waistbelt"
/delay 1s
/cast item "vyers' engraved ring"
/delay 1s
/cast item "Ritual blade of the Tides"
/endmacro
/return
/return