Macro: Provocation
Posted: Mon Dec 21, 2015 4:01 pm
With this macro I use Target by Type in case the original target is killed by other players. I choose a type of animal that seems to be spawning inside the pen but not outside of the pen so I don't kill myself. The instrument part is in there because I've been forgetful in the past, plus it flows well with the rest of the macro and doesn't mess anything up.
UseSkill Provocation
If ( SysMessage "instrument" )
Wait for Target
Target by Type tambourine (0E9D)
End If
Wait for Target
Target by Type 217
Wait for Target
Exec: Target Self
Pause 1.00sec
If ( SysMessage "succeeds" )
Pause 9.00sec
End If
If ( SysMessage "fails"
Pause 4.00sec
End If
Code: Select all
!Loop
Assistant.Macros.UseSkillAction|22
Assistant.Macros.IfAction|4|0|instrument
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.TargetTypeAction|False|3741
Assistant.Macros.EndIfAction
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.TargetTypeAction|True|217
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.IfAction|4|0|succeeds
Assistant.Macros.PauseAction|00:00:09
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|fails
Assistant.Macros.PauseAction|00:00:04
Assistant.Macros.EndIfAction