- Other Authors
- RGMercs,KissAssist
- Software Requirements
- MQ2Collections (non-permanently loaded if not already)
PetToys.mac - Version 1.9
Handle summoning and giving out sets of pet toys by the calling Mage
requires:
notes:
usage:
parameters:
credits:
Handle summoning and giving out sets of pet toys by the calling Mage
Must be level 73+
requires:
MQ2Collections (non-permanently loaded if not already)
notes:
- This will give out up to four sets of pet toys (in this order): Weapons, Armor, Heirloom, Mask
- The specific spells used are based on the Mage's level (or supplied level cap) and inclusion in their spell book.
- In the case of Mage pets, weapons and heirlooms are summoned automatically. Other types are summoned and provided if they are more powerful than what the pet natually comes with. Pets of other classes are provided all toys.
- The determination on whether to give out toys is based on the absence of a weapon in the pet primary.
- If pet primary is full (with the exception of known default ENC weapons), no toys are distributed.
- Any remnant containers are disposed of once all toys are distributed.
- By default, only functions properly if the calling Mage is not in combat.
- Designed to work for Mages either not running a macro or using MQ2Mage
usage:
/mac PetToys [pcname] [level] [petAgro] [ignoreCombat] [debug]
parameters:
pcname - string, optional, name of the character or pet to give weapons to.
If specified, only the character/pet is provided pet toys. If the pcname is defined as "group", "raid", "fellowship", or
"fellow" (sans quotes), the Mage's entire group/raid/fellowship (starting with the Mage's group) is supplied. If pcname is
not specified, but a character/pet is targeted, they only are provided pet toys. If pcname is unspecified or defined as "me"
or "self" (sans quotes) and none are targeted, the Mage's entire group is supplied.
level - int, optional, 73+, if pet is a lower level than current user level, treat the spells used as from this level.
Use this only if you're certain the target pet cannot accommodate the max pet weapons available to the calling Mage
Use 0 if omitting or defaulting to the Mage's level
petAgro - bool, optional, determines if the pet should be handed agro (Rage) weapons.
NOTE: setting this will hand agro weapons to all pets if used in a group/raid mode
ignoreCombat - bool, optional, tells the macro to ignore combat to hand out pet toys
debug - bool, optional, turn on logging to MQLog
credits:
Most of the macro code is lifted from RGMercs (which in turn obtained much of the code from KissAssist)