I use it with a 65 Magician with all 65 and below spells.
I'm by no means an expert. Took me all day to conver it.
Code: Select all
| Mage.mac v2.2 08-08-2005
|
| Well. I'm back from a year break. Glad to see the MQ2Params in full effect.
| I spent all day today learning the new coding. I'm no expert as you see in this code.
| The purpse of this is to allow me to slack in group so I can use up all of Lax's bandwidth
| searching the forums. At this time, I'd like to thank everyone at MQ2 for an awesome product,
| Awesome macros and code snippets. Lax, I'm real sorry about searching so much.
|
| You will need spell_routines.inc. It's in the snippets section.
|
| **************************** Instructions *****************************
| Start this using /macro mage mastername tankname
| Where mastername is who you want to be able to send you commands.
| and where tankname is the MA or MT. Whoever you want DS'd.
|
| Then just send a tell from the master to the toon running
| this macro with any one of the following commands: fire, stand,
| sit, assist, magic, petattack, petback, follow, DS and Rod.
|
| **************************************************************************
|
| I plan to add an easy debug switch for myself. Other additons as I see fit.
| Feel free to add anything you like or change anything you don't like.
| I only ask that you share it in the forums.
|
|
| ***************** Changelog **********************
| 2.1: Removed delay in mainloop.
| 2.2: Fixed reporting of what bot is doing. Had "" Around text.
| Fixed casting to mem spell if not already done.
| Must specify a DSPC. Use yourself for now if no one else. Working on fixing.
| Will not give a rod to master. Working on fixing.
|
#chat tell
#include spell_routines.inc
| Event is for later use.
#event PetHasteDown "#*#pet's Burnout V spell#*#"
#define PetBuffSpell "Burnout V"
#define PetDSSpell "Flameshield of Ro"
Sub Main
/deletevar MastersName
/deletevar DSPC
/declare MastersName string Global
/declare DSPC string Global
/varset MastersName ${Param0}
/varset DSPC ${Param1}
/echo Mage.mac Started.
/echo Master is ${MastersName}
/echo Maintank is ${DSPC}
:MainLoop
/doevents
/call CastSpells
/goto :MainLoop
/return
Sub Event_Chat(string ChatType,string Sender,string ChatText)
/if (${MastersName.Equal[${Sender}]}) {
/if (${ChatText.Equal[fire]}) /call Do-Fire
/if (${ChatText.Equal[sit]}) /sit
/if (${ChatText.Equal[stand]}) /stand
/if (${ChatText.Equal[assist]}) /call Do-Assist
/if (${ChatText.Equal[magic]}) /call Do-Magic
/if (${ChatText.Equal[petattack]}) /call PetAttack
/if (${ChatText.Equal[petback]}) /call PetBack
/if (${ChatText.Equal[follow]}) /call follow
/if (${ChatText.Equal[DS]}) /call DS
/if (${ChatText.Equal[Rod]}) /call Rod
}
/return
Sub Rod
/assist ${MastersName}
/delay 1s
/tell ${MastersName} Giving Rod to ${Target.CleanName}
/call cast "Rod of Mystical Transvergance" Gem7
/delay 1s
/return
Sub DS
/assist ${MastersName}
/delay 1s
/tell ${MastersName} Casting DS on ${Target.CleanName}
/call cast "FlameSheild of Ro" Gem5
/delay 1s
/return
Sub follow
/target ${MastersName}
/delay 2
/stand
/delay 2
/follow
/tell ${MastersName} Following You Master....
/return
Sub Do-Assist
/assist ${MastersName}
/delay 1s
/tell ${MastersName} Assisting you on ${Target.CleanName}
/stand
/delay 1s
/pet attack
/delay 1s
/return
Sub Do-Fire
/assist ${MastersName}
/delay 1s
/stand
/tell ${MastersName} Sun Vortex on ${Target.CleanName}
/call Cast "Sun Vortex" Gem1
/delay 3s
/return
Sub Do-Magic
/assist ${MastersName}
/delay 1s
/stand
/tell ${MastersName} Black Steel on ${Target.CleanName}
/call Cast "Black Steel" Gem2
/delay 3s
/return
Sub PetAttack
/assist ${MastersName}
/delay 1s
/stand
/delay 1s
/pet attack
/delay 3s
/return
Sub PetBack
/pet hold
/pet back off
/return
Sub CastSpells
:StartSpells
| check to see if we need to cast draw
/if (!${Me.Buff[Elemental Draw Recourse].ID}) {
/call Cast "Elemental Draw" Gem6
/delay 2s
/goto :StartSpells
}
| check to see if we need to buff our pet
/if (!${Me.PetBuff[Burnout V]}) {
/echo Trying to cast "PetBuffSpell".
/target ${Me.Pet}
/call Cast "PetBuffSpell" Gem4
/delay 5s
/goto :StartSpells
}
| check to see if we need to DS our Pet. If so do pet and DSPC
/if (!${Me.PetBuff[Flameshield of Ro]}) {
/target ${Me.Pet}
/call Cast "PetDSSpell" Gem5
/delay 5s
/if (!${Defined[DSPC]}) /goto :NODS
/target ${DSPC}
/call Cast "PetDSSpell" Gem5
/delay 5s
/goto :StartSpells
}
:NODS
/return

