- Joined
- Jun 7, 2007
- Messages
- 816
- Reaction score
- 3
- Points
- 18
Threw this together to save time making a pet after i die...
Have pack10 slot free (code in place to check for this anyway).
Change the declares to suit your own spells.
NormalSpellSet = Your normal spellset name (to load after done)
PetSpellSet = spellset that contains pet spell/pet items/pet buffs.
Update: 12-30-2013.
I have scrapped the project for magepet.mac to handle all pets from level 81 to 100, and instead just fine tuned the code for magepet.mac to check that it gives the correct items (no chance of accidentally giving an item you may have on your cursor while running it).
The macro is set for a level 100 mage, pet levels 96 to 99, and all weapons, mask, gear available to a level 100 character.
It will work perfectly for any mage levels 86 to 100 as is, where you need to target the person to give pet items to. You must change the declares to reflect YOUR spells and spell ranking. Also must change pet weapon spell name, weapon names, haste mask info, armor spell and armor names to reflect YOUR items if you are in a lower pet/gear ranking.
Prior gear levels (level 85 and below) are not supported in this, since the method for gear handling is different.
As always, you will need to edit the /declare section to reflect the spell name and rank (Rk. II, Rk. III) as is specific to your character. There is really no excuse to not have the best pet, weapons, haste mask, armor for your current level.. since they are all vendor purchased.
Just update as needed once better pet /pet toys are available to you by level.. and update your spells accordingly.
This updated version expands on all updates I have included so far.
Syntax is as follows:
/macro magepet [param0] [param1] [param2]
[param0] is the type of pet you want to create (air, fire, water, earth)
[param1] is the type of weapon to be given for 1st pet weapon (wind, fire, ice, taunt, detaunt)
[param2] is the type of weapon to be given for 2nd pet weapon (wind, fire, ice, taunt, detaunt)
Also .. I have added enabling of ghold, taunt, follow. In addition there are two parameters you can change from TRUE or FALSE. There is also a plugin check for required plugins.
First is doDiminutive : This sets the macro to either cast your Diminutive Companion (shrink pet in 1 cast) AA or not.
Second is doAegis : This sets the macro to either cast your Aegis of Kildrukaun AA & stack it with your spell aegis (Aegis of Nefori etc.) or not.
Note: In both cases, you must have the AA purchased and have created a hotkey for them already, if you enable them with TRUE.
Added some syntax checking for param0, param1, param2... and added help parameter.
Using: /macro magepet help will display the syntax help.
Update: 01-03-2014.
All prior postings of stage by stage updates have been removed. The macro on this post will be the only version supported since it incorporates all prior updates and requests.
Update: 01-07-2014.
Re-worked some coding to make sure that /autoinventory and /destroy commands properly take care of the correct and intended cursor items. Also made a slight change to the movement at pet creation time, this should resolve the initial messup with trying to summon items before you are finished moving away and facing the pet.
Macro is updated on the first (this) post.
Have pack10 slot free (code in place to check for this anyway).
Change the declares to suit your own spells.
NormalSpellSet = Your normal spellset name (to load after done)
PetSpellSet = spellset that contains pet spell/pet items/pet buffs.
Update: 12-30-2013.
I have scrapped the project for magepet.mac to handle all pets from level 81 to 100, and instead just fine tuned the code for magepet.mac to check that it gives the correct items (no chance of accidentally giving an item you may have on your cursor while running it).
The macro is set for a level 100 mage, pet levels 96 to 99, and all weapons, mask, gear available to a level 100 character.
It will work perfectly for any mage levels 86 to 100 as is, where you need to target the person to give pet items to. You must change the declares to reflect YOUR spells and spell ranking. Also must change pet weapon spell name, weapon names, haste mask info, armor spell and armor names to reflect YOUR items if you are in a lower pet/gear ranking.
Prior gear levels (level 85 and below) are not supported in this, since the method for gear handling is different.
As always, you will need to edit the /declare section to reflect the spell name and rank (Rk. II, Rk. III) as is specific to your character. There is really no excuse to not have the best pet, weapons, haste mask, armor for your current level.. since they are all vendor purchased.
Just update as needed once better pet /pet toys are available to you by level.. and update your spells accordingly.
This updated version expands on all updates I have included so far.
Syntax is as follows:
/macro magepet [param0] [param1] [param2]
[param0] is the type of pet you want to create (air, fire, water, earth)
[param1] is the type of weapon to be given for 1st pet weapon (wind, fire, ice, taunt, detaunt)
[param2] is the type of weapon to be given for 2nd pet weapon (wind, fire, ice, taunt, detaunt)
Also .. I have added enabling of ghold, taunt, follow. In addition there are two parameters you can change from TRUE or FALSE. There is also a plugin check for required plugins.
First is doDiminutive : This sets the macro to either cast your Diminutive Companion (shrink pet in 1 cast) AA or not.
Second is doAegis : This sets the macro to either cast your Aegis of Kildrukaun AA & stack it with your spell aegis (Aegis of Nefori etc.) or not.
Note: In both cases, you must have the AA purchased and have created a hotkey for them already, if you enable them with TRUE.
Added some syntax checking for param0, param1, param2... and added help parameter.
Using: /macro magepet help will display the syntax help.
Update: 01-03-2014.
All prior postings of stage by stage updates have been removed. The macro on this post will be the only version supported since it incorporates all prior updates and requests.
Update: 01-07-2014.
Re-worked some coding to make sure that /autoinventory and /destroy commands properly take care of the correct and intended cursor items. Also made a slight change to the movement at pet creation time, this should resolve the initial messup with trying to summon items before you are finished moving away and facing the pet.
Macro is updated on the first (this) post.
Last edited: