Quantcast
Download
(2 Kb)
Download
Updated: 11-01-16 10:45 PM
Pictures
File Info
Compatibility:
Return to Karazhan (7.1.5)
Legion (7.0.3)
Updated:11-01-16 10:45 PM
Created:09-19-16 11:10 PM
Downloads:442
Favorites:3
MD5:
Categories:Mage, Bags, Bank, Inventory

MageFood

Version: 1.3.1
by: Cedric [More]

Since the change of the Conjure Refreshment spell, mages can't choose to summon solo or group food at will. This causes a bit of annoyance at putting one food icon on our action bars. MageFood will create a macro in your General Macros tab called MageFoodMac, as long as you have a free slot for one macro, the first time mage food goes into your bags.

The very first time this happens, the macro may not be initialized, so you might have to cast Conjure Refreshment or loot from the mage table again after dragging the macro to your action bar.

Once you get the macro on your action bar, you don't have to mess with it again. Just let that macro stay in your General Macros tab, and it will automatically update itself to the highest level mage food in your inventory if the current one on your bar runs out or is destroyed by you.

This is a massive overhaul from the original release which now handles all known levels of food. This also defers in-combat changes until you leave combat.

Please let me know in the comments if this version causes any major performance issues. I hope that it won't, but I do have to keep checking your bags during a lot of events. I may release a "Lite" version that only updates the food when you conjure new food or loot food from the table. This new version may be a little more than necessary.

1.2 Update: Rewrote the AddOn to use itemID instead of the name of the foods so it should work for all languages now. Please let me know in the comments if you use a non-English WoW client and try this addon. I'd be very interested to know if it works for you.


1.3 Update: By request, version 1.3 adds a feature to the macro to make it cast Conjure Refreshment when you right-click it. I specifically call out buttons 1 and 3 to eat the food, but I didn't specify button 4 or 5. If this causes any problems for anyone, please let me know. Using a keybind will always eat the current food. If any of you prefer to eat the food with a right-click, I'll see what I can do to be more flexible.

So far, I've tested the new feature with the default UI and with Dominos action bars.

1.3 By request, I added a feature that lets you cast Conjure Refreshment by right-clicking the macro.
1.2 Rewrote the AddOn to use itemID instead of the name of the foods so it should work for all languages now. Please let me know in the comments if you use a non-English WoW client and try this addon. I'd be very interested to know if it works for you.
1.1 Massive overhaul that dynamically searches for the highest level food in your inventory if the current food on the button runs out or is destroyed. This version also handles all known food from the various levels.

1.0 Initial release that only handled Conjured Mana Fritters and Conjured Mana Pudding
Optional Files (0)


Archived Files (4)
File Name
Version
Size
Author
Date
1.3
2kB
Cedric
09-27-16 12:22 AM
1.2
1kB
Cedric
09-24-16 10:25 PM
1.1
1kB
Cedric
09-20-16 01:30 AM
1.0
1kB
Cedric
09-19-16 11:10 PM


Post A Reply Comment Options
Unread 11-04-16, 09:41 PM  
Spiderkeg
A Deviate Faerie Dragon

Forum posts: 17
File comments: 278
Uploads: 0
Upon logging on, one of the first things I do is conjure food. I am receiving the following error when I do so:

Code:
Message: Interface\AddOns\MageFood\MageFood.lua:65: attempt to concatenate upvalue 'MageFoodCurrent' (a nil value)
Time: 11/04/16 23:36:29
Count: 1
Stack: Interface\AddOns\MageFood\MageFood.lua:65: in function `MageMacroCreate'
Interface\AddOns\MageFood\MageFood.lua:97: in function `OnEvent'
Interface\AddOns\MageFood\MageFood.lua:9: in function <Interface\AddOns\MageFood\MageFood.lua:9>

Locals: CfoodSpell = "Conjure Refreshment"
CfoodIdx = 17
magebutton = "[btn:1/3] "
mageline1 = "#showtooltip
"
(*temporary) = "/use "
(*temporary) = "[btn:1/3] "
(*temporary) = nil
(*temporary) = "
"
(*temporary) = 42955
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to concatenate upvalue 'MageFoodCurrent' (a nil value)"
MageFoodCurrent = nil
MageFritter = 0
MagePudding = 20
MageCake = 0
MageStrudel = 0
MagePie = 0
MageLollipop = 0
MageCupcake = 0
MageBrownie = 0
MageCookie = 0
Any ideas?

Oh, is it your intention to have this be mage specific?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: