![]() “Hi! I’m JaNee, from Mahalo dot com,” she says at the start of each instructional video, evidently unaware that she will one day break the internet. No, the most viral bartender in the history of the profession is currently an AP history teacher living in Sacramento, and she prefers wine over mixed drinks. Nor is it David Wondrich or Audrey Saunders, or even young Brian Flanagan of Cocktail fame. SecureAuraHeader_Update(): Due to a bug in the loop that parses the "groupBy" attribute, only the last filter in a comma separated list will be used.The most viral bartender in history isn’t “Professor” Jerry Thomas or Dale DeGroff. SecureAuraHeader_Update(): The logic that decides which buffs to add to the consoliation frame is adding buffs with short rather than long time remaining values. SecureAuraHeader_Update(): Setting the "includeWeapons" attribute to 0 will cause weapon buttons to be displayed if they have previously been created. SecureAuraHeader_OnUpdate(): Does not track consolidated buffs in order to move them out of consolidation when time remaining is short. extractTemplateInfo(): Does not properly separate a template name from a widget type when both are specified in a template name string. You can work around this by comparing the child frame's value to header:GetAttribute("tempEnchant2") and supplying your own inventory slot number. configureAuras(): Assigns the slot number for the MainHandSlot to the off hand enchant button's "target-slot" attribute and :SetID(). Bartender 2 wow tutorial code#configureAuras(): Cannot use a string template name for the "consolidateProxy" attribute or "consolidateHeader" attribute because the code tests the return value of type() for an uppercase 'STRING'. configureAuras(): Setting the "wrapAfter" attribute to nil or 0 results in a divide by nil or 0 error. sortFactory(): If the "separateOwn" attribute is 0 it will be handled as if it were -1. The comments for the yOffset attribute say the default is height, however the code sets the default to 0. The comments for the xOffset attribute say the default is width, however the code sets the default to 0. The "sortDir" attribute mentioned in the comments is spelled as "sortDirection" in the actual code. The "consolidateDuration" attribute mentioned in comments never gets used. ![]() Bartender 2 wow tutorial update#Does not update the buttons if using a unit like "target" and the target changes, etc. You cannot cancel a weapon enchantment since the CancelTempEnchantment() function is spelled incorrectly. These are the issues that I've encountered so far with the current implementation of the SecureAuraHeader: If count > 1 then frame.txt:SetText(count) else frame.txt:SetText("") endĮnd create a new handler to update the style of each button Local name, _, icon, count, debuffType, duration, expirationTime = UnitAura("player", frame:GetID(), "HELPFUL") įrame.cd:SetCooldown(expirationTime - duration, duration) create style texture if it doesn't exist Return i, child, child:GetAttribute("index") įunction headerAura:ActiveChildren() return siter_active_children, self, 0 endįor _,frame in headerAura:ActiveChildren() do Local child = header:GetAttribute("child". Local function siter_active_children(header, i) provide a simple iterator to the header HeaderAura:SetAttribute("sortDir", "+") - to reverse HeaderAura:SetAttribute("sortMethod", "NAME") - INDEX or NAME or TIME HeaderAura:SetAttribute("wrapYOffset", -30) HeaderAura:SetAttribute("wrapXOffset", 0) HeaderAura:SetAttribute("wrapAfter", 10) HeaderAura:SetAttribute("point", "TOPLEFT") the following code create a buff bar anchor to TOPLEFT and buff orientation goes to right with 10 buttons max on two rows HeaderAura:SetAttribute("minWidth", 100) HeaderAura:SetAttribute("template", "RDXAB30x30Template") - must be the template name of your XML HeaderAura:SetAttribute("filter", "HELPFUL") HeaderAura:SetAttribute("unit", "player") - to activate UNITAURA event refresh Size This will define the height and width of your buff, example: Īttribute : indicate the button is a cancelaura type.Ĭode: local headerAura = CreateFrame("Frame", "SAH", nil, "SecureAuraHeaderTemplate") GameTooltip:SetUnitAura("player", self:GetID()) GameTooltip:SetInventoryItem("player", self:GetID()) If self:GetAttribute("target-slot") = 16 or self:GetAttribute("target-slot") = 17 or self:GetAttribute("target-slot") = 18 then GameTooltip:SetFrameLevel(self:GetFrameLevel() + 2) GameTooltip:SetOwner(self, "ANCHOR_BOTTOMLEFT")
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |