Moderator: MacroQuest Developers
I have to warn you though, it's not a very intuitive read. You really have to know a little something about programming, be a bit intuitive in finding what you want, and know how to use the search function here on the boards to find sample code from which to learn from.Stults wrote:Thanks alot
Code: Select all
Sub Main
/declare mob1 string outer
:redo
/varset mob1 ${Target.CleanName}
/assist galenoc
/if (${String[${mob1}].Equal[A Crystalline Golem]}) {
/goto :firstsun
}
/if (${String[${mob1}].Equal[A Crystalline Crawler]}) {
/goto :firstsun
}
/if (${String[${mob1}].Equal[A Crystalline Arachnae]}) {
/goto :firstsun
}
/delay 2s
/goto :redo
:firstsun
/if (${Target.PctHPs}<=80) /goto :firstcast
/delay 1s
/goto :firstsun
:firstcast
/cast 1
:delay1
/delay 2s
/if (!${Me.Casting.ID}) /goto :firstcast
/if (${Me.Casting.ID}) /goto :delay1
:secondsun
/if (${Target.PctHPs}<=50) /goto :secondcast
/delay 1s
/goto :secondsun
:secondcast
/cast 1
:delay2
/delay 2s
/if (!${Me.Casting.ID}) /goto :secondcast
/if (${Me.Casting.ID}) /goto :delay2
:thirdsun
/if (${Target.PctHPs}<=25) /goto :thirdcast
/delay 1s
/goto :thirdsun
:thirdcast
/cast 1
:delay3
/delay 2s
/if (!${Me.Casting.ID}) /goto :thirdcast
/if (${Me.Casting.ID}) /goto :delay3
/delay 10s
:wait
/if (${Target.PctHPs}>=2) {
/delay 10s
/goto :wait
}
:med
/if (${Me.PctMana}<=70) {
/cast 6
/delay 6s
/goto :med
}
/goto :redo
/endmacro