brokeback monk v1.1

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

.null
decaying skeleton
decaying skeleton
Posts: 3
Joined: Wed Jul 26, 2006 9:26 pm

brokeback monk v1.1

Post by .null » 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 |
______________________________________|

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
Last edited by .null on Mon Aug 07, 2006 8:20 pm, edited 1 time in total.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Thu Aug 03, 2006 10:26 pm

CODE brackets please.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: brokeback monk v1.1

Post by xyilla » Wed Jul 23, 2025 10:39 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: brokeback monk v1.1

Post by xyilla » Wed Jul 23, 2025 10:40 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: brokeback monk v1.1

Post by xyilla » Wed Jul 23, 2025 10:41 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: brokeback monk v1.1

Post by xyilla » Wed Jul 23, 2025 10:42 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: brokeback monk v1.1

Post by xyilla » Wed Jul 23, 2025 10:43 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: brokeback monk v1.1

Post by xyilla » Wed Jul 23, 2025 10:44 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: brokeback monk v1.1

Post by xyilla » Wed Jul 23, 2025 10:45 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: brokeback monk v1.1

Post by xyilla » Wed Jul 23, 2025 10:47 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: brokeback monk v1.1

Post by xyilla » Wed Jul 23, 2025 10:48 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: brokeback monk v1.1

Post by xyilla » Wed Jul 23, 2025 10:49 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: brokeback monk v1.1

Post by xyilla » Wed Jul 23, 2025 10:50 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: brokeback monk v1.1

Post by xyilla » Wed Jul 23, 2025 10:51 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: brokeback monk v1.1

Post by xyilla » Wed Jul 23, 2025 10:52 am