Page 1 of 1

Need Help Setting Up a Razor Macro

Posted: Sun Apr 15, 2018 8:19 pm
by Venus2
I've been searching the forums and can't find how to do this, so I've decided to ask for help. I'm building my resist and magery, and I need to setup a razor macro that will let me do the following: cast flamestrike on myself, cast greater heal on myself if my hit points reach 50 and meditate when my mana is at 40. This macro will loop. Could someone please show me how this macro should look?

And before it's said, yes, I know it's better and costs less to have an alt heal with bandages, but I can't do this, so I'm going to be healing myself with greater heal instead. Thanks in advance.

Re: Need Help Setting Up a Razor Macro

Posted: Sun Apr 15, 2018 10:09 pm
by SighelmofWyrmgard
Here's what your macro should look like:

Code: Select all

If Hits <= 50
Cast Spell: Greater Heal
Wait for Target
Target: Self
Use Skill: Meditation
Pause 3.5 seconds
Else
If Mana <= 40
Use Skill: Meditation
Pause 5.5 seconds
End If
Cast Spell: Flame Strike
Wait for Target
Target: Self
Use Skill: Meditation
Pause 4.0 seconds
End If
Set the macro script to loop, and off you go ...

SS

EDIT: I originally had the post-Flamestrike delay set to 2.0 seconds (I will plead that I was thinking 7x.25Seconds "ticks", for whatever reason, rather than 7x0.5Seconds casting delay); 4ish seconds is what you want; don't drop delay below 3.75ish seconds; delay after Greater Heal was fine to begin with, and need not be modified (beyond my subsequent remarks regarding stable ping).

SS

Re: Need Help Setting Up a Razor Macro

Posted: Mon Apr 16, 2018 2:32 am
by Venus2
That works. :D Thank you very much! It's greatly appreciated.

Re: Need Help Setting Up a Razor Macro

Posted: Mon Apr 16, 2018 3:18 am
by SighelmofWyrmgard
I am gratified that I have helped.

Beyond what was requested, I hope that you find that the script I devised attempts to invoke active Meditation every 11ish seconds, irrespective of mana <=40: more (often) active mana regeneration should result in improved gains over time. 'That' will fail for the first 2 iterations, or so (depending on Magery and Meditation), but should prove true in the long run.

P.S. I've exaggerated the delays in the macro script to account for entropy that I can't anticipate: if you know what I mean, feel free to reduce the pauses as you see fit, according to your stable ping (never reduce more than < 0.5 seconds, mind); however, I do suggest that you never drop the post-Flamestrike-delay below 1.5 seconds, flat, regardless of ping; there's a damage-delay, and I wouldn't chance it screwing up the macro.

So, carry on!

SS

Re: Need Help Setting Up a Razor Macro

Posted: Wed Apr 18, 2018 6:46 pm
by Drunk'n Disorder
I assume you are trying to gain resist as well... But just in case you aren't, cast FS on your spellbook or a random item instead. You can still successfully cast the spell without any damage effect and gain magery skill.

Re: Need Help Setting Up a Razor Macro

Posted: Thu Apr 19, 2018 12:32 am
by SighelmofWyrmgard
Crap, I wasn't so good with the math; drat.

I'm editing my original script: that post will describe the edit.

SS

Re: Need Help Setting Up a Razor Macro

Posted: Thu Apr 19, 2018 8:53 pm
by Venus2
Drunk'n Disorder wrote:I assume you are trying to gain resist as well... But just in case you aren't, cast FS on your spellbook or a random item instead. You can still successfully cast the spell without any damage effect and gain magery skill.
Yes, I'm building both magery and resist, but thanks for the tip.

Re: Need Help Setting Up a Razor Macro

Posted: Thu Apr 19, 2018 8:54 pm
by Venus2
SighelmofWyrmgard wrote:Crap, I wasn't so good with the math; drat.

I'm editing my original script: that post will describe the edit.

SS
I made the change. :)

Re: Need Help Setting Up a Razor Macro

Posted: Fri May 25, 2018 12:11 pm
by Fox
In addition, you should use the restock agent function in order to reduce the risk of being house-killed and losing the regs on you. Using this will stock your pack with 1 of each reg needed to cast the spell, versus holding high amounts of regs on you.

You can keep the IF-heal function in (for mage healing if you want), but I recommend to heal with bandages on an alternate character to reduce the expense, and to gain healing skill at the same time.

Make a new razor macro... name it 'magery fox' or something... then (you have to open the file on your PC itself), and copy and paste this into it, (easier for me share it this way vs. typing it all out, and easier for you too). This is set up for e-bolt, but you can change to flamestrike and edit the hits/mana IF functions. PM me if you need any help, especially setting up the restocks agents in razor. I also have an keep for you to macro in if you after trouble with house killers.


!Loop
Assistant.Macros.IfAction|0|0|50
Assistant.Macros.HotKeyAction|0|Restock Agent-2
Assistant.Macros.AbsoluteTargetAction|0|0|1074712098|3217|285|13|3650
Assistant.Macros.PauseAction|00:00:03
Assistant.Macros.HotKeyAction|3002039|
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.ElseAction
Assistant.Macros.IfAction|1|1|80
Assistant.Macros.AbsoluteTargetAction|1|0|0|3220|279|0|3286
Assistant.Macros.HotKeyAction|0|Restock Agent-3
Assistant.Macros.PauseAction|00:00:00.3000000
Assistant.Macros.AbsoluteTargetAction|0|0|129852|584|2153|0|401
Assistant.Macros.PauseAction|00:00:03
Assistant.Macros.HotKeyAction|3002052|
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.ElseAction
Assistant.Macros.UseSkillAction|46
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.EndIfAction