Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @cleartargetqueue
- @canceltarget
- //Description: This macro selects the two nearest mobs and provokes them upon one another. No selection is required, only set this macro to a hotkey. Be aware that you do not have control over who it targets if multiple mobs are equally in range.
- //Select an instrument automatically to use
- if @findtype '0xe9e' 'any' 'backpack' 'any' '2' //Tambourine with red tassle
- @setalias 'instrument' 'found'
- headmsg "Instrument set" '66'
- @useobject 'instrument'
- elseif @findtype '0x2805' 'any' 'backpack' 'any' '4' //Flute
- @setalias 'instrument' 'found'
- headmsg "Instrument set" '66'
- @useobject 'instrument'
- elseif @findtype '0xe9d' 'any' 'backpack' 'any' '2' //Tambourine
- @setalias 'instrument' 'found'
- headmsg "Instrument set" '66'
- @useobject 'instrument'
- elseif @findtype '0xe9c' 'any' 'backpack' 'any' '2' //Drum
- @setalias 'instrument' 'found'
- headmsg "Instrument set" '66'
- @useobject 'instrument'
- elseif @findtype '0xeb3' 'any' 'backpack' 'any' '2' //Lute
- @setalias 'instrument' 'found'
- headmsg "Instrument set" '66'
- @useobject 'instrument'
- elseif @findtype '0xeb2' 'any' 'backpack' 'any' '2' //Lap Harp
- @setalias 'instrument' 'found'
- headmsg "Instrument set" '66'
- @useobject 'instrument'
- elseif @findtype '0xeb1' 'any' 'backpack' 'any' '2' //Standing Harp
- @setalias 'instrument' 'found'
- headmsg "Instrument set" '66'
- @useobject 'instrument'
- pause 800
- else
- headmsg 'No instrument found'
- stop
- endif
- @cleartargetqueue
- @ignoreobject 'pet1'
- @ignoreobject 'pet2'
- if targetexists
- canceltarget
- endif
- pause 800
- @getenemy 'criminal' 'grey' 'gray' 'nearest'
- if @inrange 'enemy' 12
- msg 'All Guard Me' 33
- pause 150
- msg 'All Guard Me' 33
- pause 200
- attack 'enemy'
- sysmsg 'Provoing....' '38'
- useskill 'provocation'
- waitfortarget 5000
- target! 'enemy'
- @getenemy 'murderer' 'criminal' 'grey' 'gray' 'enemy' 'nearest'
- waitfortarget 5000
- target! 'enemy'
- else
- headmsg 'Nothing to provoke!!!' '39'
- endif
- @cleartargetqueue
- @canceltarget
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement