- Other Authors
- Contributors to RGMercs/KissAssist
- Software Requirements
- MQ2Collections, MQ2Boxr
UseToys.mac - Version 1.8
Handle giving out sets of pet toys existing in inventory
requires (non-permanently loaded if not already):
usage:
parameters:
credits:
Handle giving out sets of pet toys existing in inventory
requires (non-permanently loaded if not already):
- This will give out up to four sets of pet toys (in this order): Weapons, Armor, Heirloom, Mask
- The specific pet toys given out are based on specific folded packs/items available in inventory (e.g., if a Folded Pack of Ocoenydd's Plate exists in inventory, it will be moved to top-level inventory, un-folded, opened, and items inside given to the pet)
- 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 character is not in combat.
- Designed to work for characters either not running a macro or using a combat system known to MQ2Boxr
usage:
/mac UseToys [pcname] [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 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 characters pet is supplied.
petAgro - bool, optional, determines if the pet should be handed agro (Rage) weapons.
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 PetToys (which in turn obtained much of the code from RGMercs/KissAssist)