promotional bannermobile promotional banner

AssistTank

creates an adaptive automatic macro for agro redirection

File Details

v.1.4

  • R
  • Nov 17, 2025
  • 15.19 KB
  • 13
  • 12.0.0+2
  • Retail

File Name

AssistTank.zip

Supported Versions

  • 12.0.0
  • 11.2.7
  • 11.2.5

[1.4.0] - 2025-11-17 (Current Version)
*Added

Pet Management (Login/Event):-Added support for the UNIT_PET event. On first login or when summoning a pet (if no tank is present), the macro is now correctly populated with @pet.

English Localization: Added full English language support (no longer just default fallback).

Chat Consistency: Standardized chat text for better coherence across all languages.

*Changed

State Refactoring: The state tracking variable (lastKnownMacroTarget) has been extended to reliably handle TankName, @pet, and empty states.

*Fixed
Correction of code by Realmadruide (author of Kopilot) Many thanks to him. 

Anti-Spam: Fixed an issue causing duplicate messages and macro updates. The macro now only updates if the target actually changes (Tank, Pet, or Empty).

Persistence Logic: Corrected macro reset behavior. The macro no longer clears itself when the player leaves a group or dismisses a pet, preserving the last known target instead.

User Messages: Updated chat confirmation messages for better clarity (e.g., "Macro updated to your pet" and "Macro empty => no tank or pet found