Razor Macro question

Moderator: Support Moderators

Post Reply
theleptonkid
Posts: 27
Joined: Thu Nov 12, 2009 6:31 pm

Razor Macro question

Post by theleptonkid »

Example #3- Magery/Med/Heal/Resist Mega-Macro
This is the macro I am currently using to raise 4 skills at once on my healing mage. I am doing this macro in town and using the bank to restock.

If Hits >80 #Not really needed in town, if out of town, make an else->healself clause.
If mana <13
Double click by type: Clean Bandages
Wait for Target
Target Self
Use Skill: Meditation
Pause 16 secs
Use Skill: Meditation
Wait for mana >80
Endif
Cast Spell Lightening
Wait for Target
Target Self
Pause 1 sec
Endif
Restock Agent
Wait for Target
Absolute Target # Bag with regs and bandies in bank box
Pause 2 sec

Set your restock agent for 5ea of the regs required for the spell and bandies. With this particular macro, and done in town, i am usually down to 94-95 health by the time my mana is low enough to trigger the bandies, so there is plenty to heal up. Other spells that take more mana may not do enough damage in town for healing to work. As with all of these, and every macro, you should adjust the numbers/spells to fit your character and the situation.

Ok, I think that is enough for now, but I will post more later. =)
If Hits >80 #Not really needed in town, if out of town, make an else->healself clause.
If mana <13
Double click by type: Clean Bandages
Wait for Target
Target Self
Use Skill: Meditation
Pause 16 secs
Use Skill: Meditation
Wait for mana >80
Endif
Cast Spell Lightening
Wait for Target
Target Self
Pause 1 sec
Endif
Restock Agent
Wait for Target
Absolute Target # Bag with regs and bandies in bank box
Pause 2 sec
So im trying to raise magery and healing at the same time, in my house( I have low healing like 35.0).
Your macro does a health and mana check, if your health and mana are lower than checks, Your character will bandy himself wait 16 secs, If your Bandy heal fails you will have to wait until you health slowly regenerates until check is met,then your character proceeds to cast a spell on itself,repeat. My question is: When my health is lower than the "If" health check and I proceed to bandy myself. Having a low healing skill I will probably fail. If I fail how do I restart the healing loop until my health reaches my desired level and once it reaches the desired level to proceed with the spell.**How do I make an IF LOOP conditional**


Help me with the build heres my current magery restock macro:
(Im in my house, restocking 1 reg at a time from a box)

Wait for hits >= 30
Wait for mana >=11
Exec: Restock Agent-1
Pause .50 secs
Absolute Target
Pause 2.00sec
Cast Spell Lightning
Wait for target
Exec Target Self
Pause 1.00sec

The magery macro itself works fine, I just have my bard with 65 healing, healing the character macroing magery. I just would like to a. Beable to hunt and make gold with my bard while my other char macros magery and B. kill 2 birds with one stone.
Thank You

Light Shade
UOSA Subscriber!
UOSA Subscriber!
Posts: 2567
Joined: Sat Oct 23, 2010 12:42 pm
Location: Trammel

Re: Razor Macro question

Post by Light Shade »

Separate things out...

Have an if loop that checks for health and bandages as necessary. Then have your main macro that checks for health to make sure you don't kill yourself, and then does whatever else you're trying to do. Just have the healing portion separated from the other If statements.

Code: Select all

!Loop
Assistant.Macros.IfAction|0|0|80
Assistant.Macros.DoubleClickTypeAction|3617|True
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.IfAction|1|0|13
Assistant.Macros.UseSkillAction|46
Assistant.Macros.PauseAction|00:00:15
Assistant.Macros.EndIfAction
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|0|1|80
Assistant.Macros.IfAction|1|1|80
Assistant.Macros.MacroCastSpellAction|30
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.EndIfAction
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|5|0|32
Assistant.Macros.HotKeyAction|0|Restock Agent-3
Assistant.Macros.AbsoluteTargetAction|0|0|1081172970|99|106|0|3702
Assistant.Macros.PauseAction|00:00:03
Assistant.Macros.EndIfAction
I didn't test that out, but it seems to be what you're trying to accomplish.


-L/S
Image
[20:08] <@Kaivan> We have a ridable Maahes in Green Acres.
[10:00] <TheBreadman> leeds did a takeover on secondage
[10:00] <@Derrick> hax


Tom: Get bad bro

User avatar
the bazookas
UOSA Donor!!
UOSA Donor!!
Posts: 671
Joined: Tue Aug 02, 2011 4:57 pm

Re: Razor Macro question

Post by the bazookas »

This isn't directly related, but it's so important, I think it's important to bring it up anywhere that a new player might find it:

Razor comes with an option selected by default that sounds like a good idea, but it only makes gameplay jumpy and gives you an overall laggy feel:

Go to General Tab, and UNCHECK the "Use Smart CPU Usage" option. Makes gameplay much more smooth. I didn't know about this for like 2 months until somebody finally pointed it out to me.
Most people like us, or at least they like what we do. Regardless, we appreciate all our victims, and we hope that their encounter with us is a memorable one.
-a machine gun, a bazooka, and a grenade
... a not-for-profit organization (usually)

theleptonkid
Posts: 27
Joined: Thu Nov 12, 2009 6:31 pm

Re: Razor Macro question

Post by theleptonkid »

Yeah I found that post searching for razor answers, it does make everything pretty nice. but thanks

Post Reply

Return to “New Player Help”