Divine arb / Cleric 1.5 picker (also shaman version)

A forum for macro code snippets to be used in writing other macros. Post routines or .inc files here only, completed macros go to the Macro Depot. MQ2Data format only!

Moderator: MacroQuest Developers

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

Divine arb / Cleric 1.5 picker (also shaman version)

Post by Anger.Cola » Sun Feb 13, 2005 5:46 pm

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
(Shaman version follows)

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 epictimer 360s 
   } 
/return
For both of these you need spell_routines.inc.
For whatever macro you wanna use these with, just do this at the top:

Code: Select all

#include Spell_Routines.inc 
#include (Whatever you save the above code as).inc

stm69
Secret Asian Man
Posts: 65
Joined: Sun Jan 25, 2004 1:31 am

Post by stm69 » Mon Feb 14, 2005 4:17 pm

Could definately be useful. Thanks!