- Joined
- Dec 7, 2006
- Messages
- 440
- Reaction score
- 0
- Points
- 0
I've been working on this macro lately to automate grinding up Dranik Loyalist faction of OoW (Anguish) armor turn in's. You have to edit the variables to fit your character and how you want it to run.
The actual functioning of the macro is pretty basic. It can do any combination of auto attack, a combat disc (damage disc like Wheel of Fists), a combat ability (like Flying Kick), and a spell (nukes work best).
This does use WARP, so use it at your own risk. From my experiences, Dranik Scar is almost always empty. I added in PC and GM checks, with options that can be edited in the variable section.
I was able to get from KoS to ally in about 15-20 hours of running this macro over two days on my monk. It does a pretty good job afk, but occasionally gets stuck on geometry requiring you to manually move around. Also, I recommend using the envirofall docrack, because rarely it warps to a mob that falls under the world.
Also, for anybody interested, here are some small tweaks that you can add in specifically for a monk. The Fists of Wu code could be used for other classes with similar discs, like rogue's Theif's Eyes.
Add this into the variable declares
And then right after this line:
Add in:
The actual functioning of the macro is pretty basic. It can do any combination of auto attack, a combat disc (damage disc like Wheel of Fists), a combat ability (like Flying Kick), and a spell (nukes work best).
This does use WARP, so use it at your own risk. From my experiences, Dranik Scar is almost always empty. I added in PC and GM checks, with options that can be edited in the variable section.
I was able to get from KoS to ally in about 15-20 hours of running this macro over two days on my monk. It does a pretty good job afk, but occasionally gets stuck on geometry requiring you to manually move around. Also, I recommend using the envirofall docrack, because rarely it warps to a mob that falls under the world.
Code:
#include spell_routines.inc
Sub Main
/declare doMelee int outer 1
/declare doNuke int outer 0
/declare doDisc int outer 1
/declare doCAbility int outer 1
/declare nameDisc outer Wheel of Fists
/declare nameCAbility outer Flying Kick
/declare nameNuke outer Bite of the Ukun Rk. II
/declare checkGM int outer 1
/declare checkPC int outer 1
/declare maxPC int outer 1
:loop
/if (!(${Zone.ID}==301 || ${Zone.ID}==302)) /endmac
/call safeChecks
/hidecorpse all
/squelch /target npc "an ukun"
/squelch /target npc "a kyv"
/squelch /target npc "a noc"
:attack
/if (${Target.ID}) {
/call safeChecks
/if (${Target.Distance} > 100) /warp b t
/stick 5
/face
/if (${doMelee} && ${Target.Distance} < 20) {
/attack on
/if (${doCAbility} && ${Me.AbilityReady[${nameCAbility}]}) {
/delay 1s
/doability "${nameCAbility}"
}
/if (${doDisc} && ${Me.CombatAbilityReady[${nameDisc}]} && ${Me.PctEndurance} > 15) {
/delay 1s
/disc ${nameDisc}
}
}
/if (${doNuke} && ${Target.LineOfSight} && ${Me.SpellReady[${nameNuke}]}) {
/call cast "${nameNuke}"
}
}
/if (!${Target.Type.Equal[NPC]}) /keypress esc
/if (${Target.ID} || ${Me.CombatState.Equal[COMBAT]}) /goto :attack
/goto :loop
Sub safeChecks
/if (${checkGM} && ${Spawn[gm].ID}) /call GM
/if (${checkPC} && ${SpawnCount[pc]} > ${maxPC}) /call PC
/return
Sub GM
/gate
/endmac
/return
Sub PC
/beep
/who
/echo Another player in zone!
/echo Zoning to Bloodfields for 5 minutes
/zone bloodfields
/delay 5m
/zone dranikssar
/return
Also, for anybody interested, here are some small tweaks that you can add in specifically for a monk. The Fists of Wu code could be used for other classes with similar discs, like rogue's Theif's Eyes.
Add this into the variable declares
Code:
/declare nameEndurReg outer Third Wind Rk. II
And then right after this line:
Code:
:attack
Add in:
Code:
/if (!${Me.Song[Fists of Wu].ID} && ${Me.CombatAbilityReady["Fists of Wu"]} && ${Me.PctEndurance} > 10) {
/delay 1s
/disc Fists of Wu
}
/if (${Me.PctEndurance} < 85 && ${Me.CombatAbilityReady[${nameEndurReg}]}) {
/delay 1s
/disc ${nameEndurReg}
}