brokeback monk v1.1
Posted: Thu Aug 03, 2006 7:49 pm
hi this is my monks macro
he does dps
feel free to improve upon this as needed
/mac monk Tanksname <<<<< name needs capital at beginning
~ Current Version 1.1 ~
______________________________________
Version 1.1 |
~fixed some strange targetting problems |
~added some variables |
______________________________________|
he does dps
feel free to improve upon this as needed
/mac monk Tanksname <<<<< name needs capital at beginning
~ Current Version 1.1 ~
______________________________________
Version 1.1 |
~fixed some strange targetting problems |
~added some variables |
______________________________________|
Code: Select all
|
| BrokeBack Monk Version 1.1
| Run this file by typing /mac monk mainassist
#turbo 40
Sub Main
/declare gettarget bool outer 1
/declare targetdead bool outer 1
/declare targetid int outer
/declare mainassist string outer
/varset mainassist ${Param0}
/echo there is no spoon
/if (${Defined[Param0]}) {
/echo My main assist is set to ${mainassist}
} else {
/echo This Macro needs a Main assist to run ... try /mac monk Tanksname .... case counts
/end
}
/squelch /assist off
:monkloop
/doevents
/if (${Me.AbilityReady[Forage]}) {
/squelch /stand
/doability Forage
/delay ${Math.Rand[3+1]}s
/autoinventory
}
/if (${gettarget}) {
/call gettarg
}
/if (${targetid}==${Target.ID}) {
/call killtarg
}
/goto :monkloop
Sub gettarg
/echo Attempting to get a Target
:getloop
/doevents
/delay ${Math.Rand[2+1]}s
/squelch /assist ${mainassist}
/if (${Target.Type.Equal["NPC"]} && ${Target.Distance}<90 && ${Target.PctHPs}<98) {
/varset targetid ${Target.ID}
/echo My target is now ${Target.CleanName}
/varset gettarget 0
/varset targetdead 0
/return
} else {
/goto :getloop
}
Sub killtarg
:killloop
/doevents
/if (${Me.AbilityReady["Flying Kick"]} && ${Target.Type.Equal["NPC"]}) {
/doability "Flying Kick"
}
/if (${Me.PctHPs}<60 && ${Me.AbilityReady["Mend"]}) {
/echo WTF asshole i am at ${Me.PctHPs} percent take better care of me
/doability "Mend"
}
/if (${Me.CombatAbilityReady["Thunderkick Discipline"]} && ${Target.PctHPs}<95 && ${Target.Type.Equal["NPC"]}) {
/doability "Thunderkick Discipline"
}
/if (${Me.PctHPs}<30 && ${Me.CombatAbilityReady["Voiddance Discipline"]}) {
/doability "Voiddance Discipline"
}
/if (${Me.PctHPs}<15) {
/echo i am at ${Me.PctHPs} percent and feigning death. you suck...chillin
/doability "Feign Death"
/delay 180s
/stand
/return
}
/if (${Target.Type.Equal["NPC"]}) {
/stick -12 behind
/attack on
/goto :killloop
} else {
/varset targetdead 1
/varset gettarget 1
/attack off
/stick off
}
/return