public
Description: WoW Addon - Food/water macro generator
Homepage: http://www.tekkub.net
Clone URL: git://github.com/tekkub/buffet.git
Click here to lend your support to: buffet and make a donation at www.pledgie.com !
Shorten macro a tad, make sure sequence doesn't fire when using a bandaid
tekkub (author)
Fri Mar 14 13:02:41 -0700 2008
commit  62b76ba82c225d6477a0c09e7eba7843195bc582
tree    b3e39badc670675ab5d83c06186bf8265e3594af
parent  ec74869f8e01d156bdb24b7e9dfbdfe4b511203d
...
31
32
33
34
 
35
36
37
38
 
39
40
41
...
31
32
33
 
34
35
36
37
 
38
39
40
41
0
@@ -31,11 +31,11 @@ local function edit(name, food, pot, stone, shift)
0
   if not macroid then return end
0
 
0
   local body = "#showtooltip\n/use "
0
- if shift then body = body .. "[modifier:shift] item:"..shift.."; " end
0
+ if shift then body = body .. "[mod:shift] item:"..shift.."; " end
0
   if (pot and not stone) or (stone and not pot) then body = body .. "[combat] item:"..(pot or stone).."; " end
0
   body = body .. (pot and stone and "[nocombat] " or "").."item:"..(food or "6948")
0
 
0
- if pot and stone then body = body .. "\n/castsequence [combat] item:"..stone..", item:"..pot end
0
+ if pot and stone then body = body .. "\n/castsequence [combat,nomod] item:"..stone..", item:"..pot end
0
 
0
   EditMacro(macroid, name, 1, body, 1)
0
 end

Comments

    No one has commented yet.