Quantcast
Download
(2 Kb)
Download
Updated: 09-18-19 03:26 PM
Pictures
File Info
Compatibility:
WoW Classic (1.13.2)
Updated:09-18-19 03:26 PM
Created:09-15-19 06:34 AM
Downloads:3,496
Favorites:18
MD5:

AutoCarrot

Version: 1.13.4
by: kebabstorm [More]

Equips Carrot on a Stick automatically when mounted

UPDATE: Now also supports gloves with Riding enchant and boots with Mithril Spurs.

Usage:
/ac enabled 0/1
/ac ridingGloves 0/1
/ac mithrilSpurs 0/1

Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
1.13.2
1kB
kebabstorm
09-15-19 09:00 AM


Post A Reply Comment Options
Unread 09-27-19, 11:15 AM  
Thrassivoulos
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
Great addon. Was wondering if u can make one for Argent Dawn Commision trinket at west/east plaguelands
Report comment to moderator  
Reply With Quote
Unread 09-24-19, 06:11 PM  
txamethyst
An Aku'mai Servant
 
txamethyst's Avatar

Forum posts: 36
File comments: 95
Uploads: 0
i find it amusing that it also switches gear when you take a flight path. intentional or bugged?
Report comment to moderator  
Reply With Quote
Unread 09-19-19, 11:05 PM  
erispope
A Murloc Raider

Forum posts: 7
File comments: 3
Uploads: 0
One patch to help with functionality and a few suggestions:
Lua Code:
  1. f:SetScript("OnUpdate", function()
  2.     if(not AutoCarrotDB.enabled) then return end
  3. ... change into ...
  4. f:SetScript("OnUpdate", function()
  5.     if(not AutoCarrotDB.enabled or InCombatLockdown()) then return end

Suggestions:
  • check both trinket slots for carrot
  • stop scanning bags after finding all items that we are interested in (e.g. if hands and boots disabled, immediately)
  • if available use an inventory/container library to keep track of what is in the bags of the player - BAG_UPDATE fires very, very often and should really just trigger a flag that your OnUpdate picks up on and triggers a scan
Alternatively, you could react to the events PLAYER_REGEN_DISABLED and PLAYER_REGEN_ENABLED by hiding and showing the frame (though that might not handle the edge case of logging into combat).
Last edited by erispope : 09-19-19 at 11:07 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: