- Joined
- Feb 6, 2007
- RedCents
- 1,683¢
EDIT: Jul 5, 2007
Change the way it follows / sticks to mobs, should work a lot more smooth now. I am also adding a version that will not follow / stick to the mob, called CombatSkillsOnly.mac
Original:
This is my first ever macro from scratch. I really want to thank Decker and siddin for their help.
I have been having "issues" with the melee and/or moveutils plugins, in that my toon would sit down down instead of attacking. This is my attempt to get around that
.
The macro will automatically trigger various combat skills and disciplines, as well as, follow the mob when it starts to run away.
If anyone has suggestions to improve or additional abilities that can be added, please let me know. The macro is not really intended for afk use, so I didn't try to program any GM or PC checks.
There are 2 places that should be edited by warriors and/or monks depend on level. I marked them as best I could.
The macro will attempt to us ethe "Mend" ability at 60% health and "Feign Death" at 20% health.
The macro will end if health drops below 20%, so you can run away if you desire
.
Change the way it follows / sticks to mobs, should work a lot more smooth now. I am also adding a version that will not follow / stick to the mob, called CombatSkillsOnly.mac
Original:
This is my first ever macro from scratch. I really want to thank Decker and siddin for their help.
I have been having "issues" with the melee and/or moveutils plugins, in that my toon would sit down down instead of attacking. This is my attempt to get around that
.The macro will automatically trigger various combat skills and disciplines, as well as, follow the mob when it starts to run away.
If anyone has suggestions to improve or additional abilities that can be added, please let me know. The macro is not really intended for afk use, so I didn't try to program any GM or PC checks.
There are 2 places that should be edited by warriors and/or monks depend on level. I marked them as best I could.
The macro will attempt to us ethe "Mend" ability at 60% health and "Feign Death" at 20% health.
The macro will end if health drops below 20%, so you can run away if you desire
.
Rich (BB code):
|
|
|CombatSkills.mac by Hoosierbilly
| 3 July 2007
|
|
|Purpose: To automatically use certain combat skills, ie: Kick, taunt...
|
|
|Useage: Pull target to camp and activate macro when ready to attack.
|
|
|Recommendation: Create a social with the command < /mac combatskills.mac >
| Make the social a hotbutton to use when ready to attack.
|
|Note: The combat abilities must be selected on your abilities "ctrl A" or combat "ctrl C" page for this to work.
|
|
|
#Event Target "#*#You must first click on the being you wish to attack#*#"
#Event Yourself "#*#Try attacking someone other than yourself#*#"
Sub Main
/echo combat skills macro on
/if (${Target.ID}==FALSE) /Call Endmacro
/delay 1
/if (${Target.Distance}>15) /call MoveToTarget
/attack on
/delay 1s
/doevents
| Warriors insert your best provoke type discipline here
/disc provoke
:loop
/if (${Target.ID}==FALSE) /Call Endmacro
/doevents
/if (${Target.Distance}>15) /call MoveToTarget
/if (${Target.Distance}<5) /call Moveback
|Monks enter your best special ability on the next line.
/if (${Me.AbilityReady[Round Kick]}) /doability "Round Kick"
/delay 1
/if (${Me.AbilityReady[taunt]}) /doability taunt
/delay 1
/if (${Me.AbilityReady[Kick]}) /doability Kick
/delay 1
/if (${Me.AbilityReady[Bash]}) /doability Bash
/delay 1
/if (${Me.AbilityReady[Disarm]}) /doability Disarm
/delay 1
/if (${Me.AbilityReady[Backstab]}) /doability backstab
/delay 1
/if (${Me.PctHPs}<=60) /doability Mend
/delay 1
/if (${Me.PctHPs}<=20) {
/if (${Me.AbilityReady[Feign Death]}) /doability "Feign Death"
/Attack off
/beep
/echo You are near dead - ending macro!
/popup You are near dead - ending macro!
/endmacro
}
/if (${Target.Distance}>15) /call MoveToTarget
/if (${Target.Distance}<5) /call Moveback
/doevents
/delay ${Math.Calc[${Math.Rand[10]}+10]}
/goto :loop
/endmacro
/return
Sub MoveToTarget
:KeepMoving
/if (${Target.ID}==FALSE) /Call Endmacro
/face nolook
/delay 1
/keypress forward hold
/if (${Target.Distance}>15) /goto :KeepMoving
:StopMoving
/keypress forward
/return
Sub Moveback
:Backup
/if (${Target.ID}==FALSE) /Call Endmacro
/face nolook
/keypress back hold
/delay 1
/keypress back
/if (${Target.Distance}<5) /goto :backup
/return
Sub Event_Target
/echo You do not have a target - ending macro!
/attack off
/endmacro
/return
Sub Event_Yourself
/echo You can't attack yourself - ending macro!
/attack off
/endmacro
/return
Sub Endmacro
/echo You do not have a target - ending macro!
/attack off
/endmacro
/return
Rich (BB code):
|
|
|CombatSkillsOnly.mac by Hoosierbilly
| 3 July 2007
|
|
|Purpose: To automatically use certain combat skills, ie: Kick, taunt...
|
|
|Useage: Pull target to camp and activate macro when ready to attack.
|
|
|Recommendation: Create a social with the command < /mac combatskillsOnly.mac >
| Make the social a hotbutton to use when ready to attack.
|
|Note: The combat abilities must be selected on your abilities "ctrl A" or combat "ctrl C" page for this to work.
|
|
|
#Event Target "#*#You must first click on the being you wish to attack#*#"
#Event Yourself "#*#Try attacking someone other than yourself#*#"
Sub Main
/echo combat skills macro on
/if (${Target.ID}==FALSE) /Call Endmacro
/delay 1
/attack on
/delay 1
/doevents
| Warriors insert your best provoke type discipline here
/if (${Target.Distance}<25) /disc provoke
:loop
/if (${Target.ID}==FALSE) /Call Endmacro
/doevents
|Monks enter your best special ability on the next line.
/if (${Me.AbilityReady[Round Kick]}) /doability "Round Kick"
/delay 1
/if (${Me.AbilityReady[taunt]}) /doability taunt
/delay 1
/if (${Me.AbilityReady[Kick]}) /doability Kick
/delay 1
/if (${Me.AbilityReady[Bash]}) /doability Bash
/delay 1
/if (${Me.AbilityReady[Disarm]}) /doability Disarm
/delay 1
/if (${Me.AbilityReady[Backstab]}) /doability backstab
/delay 1
/if (${Me.PctHPs}<=60) /doability Mend
/delay 1
/if (${Me.PctHPs}<=20) {
/if (${Me.AbilityReady[Feign Death]}) /doability "Feign Death"
/Attack off
/beep
/echo You are near dead - ending macro!
/popup You are near dead - ending macro!
/endmacro
}
/delay ${Math.Calc[${Math.Rand[10]}+10]}
/goto :loop
/endmacro
/return
Sub Event_Target
/echo You do not have a target - ending macro!
/attack off
/endmacro
/return
Sub Event_Yourself
/echo You can't attack yourself - ending macro!
/attack off
/endmacro
/return
Sub Endmacro
/echo You do not have a target - ending macro!
/attack off
/endmacro
/return
Last edited:

