[Razor] Attack/Claim Macro
Posted: Thu Apr 05, 2012 7:11 pm
Create a new macro in razor, close down UO, open up the macro you created and save this code into the .txt.
If you don't claim quick enough, change the wait to .333 or so.
If you cannot figure out how/where to place this code, you can create a new one from scratch.
Target Closest Non-friendly
Attack last target
Cancel current target
say: [claim
pause .56 sec
target by type corpse
to get the target by type corpse function, cast a spell, hit record in razor and select a corpse. Then right click the target function you just added and change it to "target by type"
NOTE: Target closest non friendly is the best option for auto targetting.
NOTE2: CANCEL CURRENT TARGET NEEDS TO STAY IN THE SCRIPT. Without CCT, you will still have the enemy targetted, meaning if you try to heal, you will cast on the monster, not yourself
If you don't claim quick enough, change the wait to .333 or so.
Code: Select all
Assistant.Macros.HotKeyAction|1515|
Assistant.Macros.HotKeyAction|1395|
Assistant.Macros.HotKeyAction|1332|
Assistant.Macros.SpeechAction|0|956|3|ENU|2|16|9|[claim
Assistant.Macros.PauseAction|00:00:00.5550000
Assistant.Macros.TargetTypeAction|False|8198
Target Closest Non-friendly
Attack last target
Cancel current target
say: [claim
pause .56 sec
target by type corpse
to get the target by type corpse function, cast a spell, hit record in razor and select a corpse. Then right click the target function you just added and change it to "target by type"
NOTE: Target closest non friendly is the best option for auto targetting.
NOTE2: CANCEL CURRENT TARGET NEEDS TO STAY IN THE SCRIPT. Without CCT, you will still have the enemy targetted, meaning if you try to heal, you will cast on the monster, not yourself