Cleric 1.5 & Divine Arb AA macro

Have a macro idea but not sure where to start? Ask here.

Moderator: MacroQuest Developers

JC
orc pawn
orc pawn
Posts: 12
Joined: Mon May 24, 2004 10:55 am

Cleric 1.5 & Divine Arb AA macro

Post by JC » Mon Jan 31, 2005 4:35 am

I would like a macro where if the cleric 1.5 was ready it would click that first, and if it was not it would fire off the divine arbitration AA (and possibly celestial regen if that was ready).

I want the epic to take priorty. I could probably write the macro myself if divine arb were priorty, but I'm stumped on how to detect if the epic is "ready."

If detection is impossible, some sort of timer system counting down from the last time the epic was clicked would be fine, but the timer would have to be global as I tend to use several macros over a session. The 1.5 is a 6 minute recast. Any help would be appreciated, thanks!

Anger.Cola
decaying skeleton
decaying skeleton
Posts: 9
Joined: Sat Feb 12, 2005 9:51 am

RE: Shield timer

Post by Anger.Cola » Sat Feb 12, 2005 10:36 am

Code: Select all

|---------------------------------------
| Cleric 1.5 / Divine arbitration macro
| By Anger.Cola
|---------------------------------------
| Macro utilizes Spell_Routines.inc 
|---------------------------------------
| Usage: /call DivineArb 
|   Will use the cleric epic 1.5 if 
|   available. If not available, it will
|   use Divine Arbitration

Sub DivineArb
	/declare shieldtimer timer outer 0s

	/if (${shieldtimer}) {
		/call cast "Divine Arbitration" alt
	} else {
		/call cast "Harmony of the Soul" item
		/varset shieldtimer 360s
	}
/return
So not entirely sure that this would work... only been messin around with MQ for a couple weeks now.

This is meant to be an inc file so you can use it with whatever macro you are running right now.

This does use Spell_Routines.inc, so be sure and get that included too...

Code: Select all

#include Spell_Routines.inc 
#include DivineArb.inc
Toss that in your main macro file and you will be gtg.

Is self explanatory on usage... /call DivineArb uses harmony of the soul if available, if not will use divine arb.

Hope this works.... lemme know if it doesn't :) (haven't tested it at all... mainly cause I don't have a cleric with 1.5 =p )
Last edited by Anger.Cola on Sat Feb 12, 2005 12:59 pm, edited 1 time in total.

User avatar
blueninja
a grimling bloodguard
a grimling bloodguard
Posts: 541
Joined: Thu Aug 28, 2003 7:03 am
Location: Göteborg, Sweden

Post by blueninja » Sat Feb 12, 2005 11:28 am

shieldTimer is not a string so you can't use .Equal on it. Change

Code: Select all

   /if (!${shieldtimer.Equal[0]}) { 
to

Code: Select all

   /if (${shieldtimer}) { 

Anger.Cola
decaying skeleton
decaying skeleton
Posts: 9
Joined: Sat Feb 12, 2005 9:51 am

Post by Anger.Cola » Sat Feb 12, 2005 1:00 pm

Fixed it. Thank you. Still just an amature programmer at heart :)

User avatar
OnyxSys
a ghoul
a ghoul
Posts: 133
Joined: Sun Dec 21, 2003 9:58 pm
Contact:

Post by OnyxSys » Sat Feb 12, 2005 6:18 pm

Code: Select all

|--------------------------------------- 
| Shaman 1.5 / Fateseer's Boon 
| By Anger.Cola (Modified by OnyxSys)
|--------------------------------------- 
| Macro utilizes Spell_Routines.inc 
|--------------------------------------- 
| Usage: /call fateseer 
|   Will use the shaman epic 1.5 if 
|   available. If not available, it will 
|   use Ancestral Aid 

Sub fateseer 
   /declare epictimer timer outer 0s 

   /if (${epictimer}) { 
      /call cast "Ancestral Aid" alt 
   } else { 
      /call cast "Crafted Talisman of Fates" item 
      /varset shieldtimer 360s 
   } 
/return
include..

Code: Select all

#include Spell_Routines.inc 
#include sham15.inc
Updated for Shaman...
[img]http://web.infoave.net/~jpdixon/onyxsys.jpg[/img]

Anger.Cola
decaying skeleton
decaying skeleton
Posts: 9
Joined: Sat Feb 12, 2005 9:51 am

Post by Anger.Cola » Sun Feb 13, 2005 2:57 am

Code: Select all

 /varset shieldtimer 360s 
Change to

Code: Select all

/varset epictimer 360s
Thanks for porting to a shaman macro... very cool :)

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Sun Feb 13, 2005 6:50 am

As these are snippets, might want to put them there, yanno?
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

Anger.Cola
decaying skeleton
decaying skeleton
Posts: 9
Joined: Sat Feb 12, 2005 9:51 am

Post by Anger.Cola » Sun Feb 13, 2005 10:05 am

Sorry, kinda new here... whatcha mean?

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Sun Feb 13, 2005 10:40 am

Right below this forum is another called Snippets, it's for bits of code that are not macros, but can be place in macros, or made into inc files for macros. That is where people will look for such as this.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

Anger.Cola
decaying skeleton
decaying skeleton
Posts: 9
Joined: Sat Feb 12, 2005 9:51 am

Post by Anger.Cola » Sun Feb 13, 2005 4:56 pm

Oh! gotcha... should I repost it there or what? just posted here cause he requested it... heh

User avatar
fearless
Not a Psychic
Posts: 2684
Joined: Wed Mar 10, 2004 3:52 pm

Post by fearless » Sun Feb 13, 2005 5:18 pm

yes
Reading . . . it's not just for me.

[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
[quote="Ccomp5950"]Fearless showed me the light, you too shall learn.[/quote]

JC
orc pawn
orc pawn
Posts: 12
Joined: Mon May 24, 2004 10:55 am

Post by JC » Wed Feb 16, 2005 12:04 am

Thanks guys. I didnt see anything for like a week so I stopped checking so often. Works great!