Bug Fixes
You no longer take durability damage if you die from a player-cast debuff after zoning.
You get a failure message if you fail to dispel debuffs on yourself.
If Heroic Strike or Raptor Strike fails, your combat swing will do normal damage.
Fixed cursor tooltip positioning in widescreen video modes.
You will be removed from combat when Bloodrage ends, unless you are engaged with the enemy.
The range for resurrection is the same whether the target player has released or not.
The Warlock Succubus will no longer auto-cast Seduction on a creature with damage over time effects on them.
Warlock minions are now properly labeled as minions when logging in.
Pets can no longer agro creatures in rooms above or below them.
Mind Vision now cancels when the target is not visible.
Shapeshifted Druids now maintain proper voice over.
Spell charges are properly retained after zoning.
Heals from the priest's Vampiric Embrace will no longer keep the priest in combat.
Right-clicking on a lower rank Lightwell while a higher rank Lightwell Renew is on will no longer expend a charge.
Ghost icons now appear appropriately in Raid UI pullouts.
Friendly creatures' pets no longer occasionally attack a player's pet.
Area-of-effect spells will no longer occasionally damage creatures with which you are not at war.
The Warriors's ability Execute now dims properly when the target is dead.
If a Hunter dies just as a pet is tamed, the pet won't lose its innate abilities.
The Rogue's ability Distract now works properly against other players.
Fixed a bug that caused abilities to lock up after being feared, charmed, or polymorphed.
Other players will properly see the changes when you toggle the Show Helm or Show Cloak option.
Fixed a bug where characters were able to exceed 100% of their normal mana regeneration while casting.
UI Scripting
Frame XML Change - There is a new "clampToScreen" attribute, which will prevent the frame from being dragged off the screen.
Button XML Changes
The button implementation has been changed from three fontstrings to a single fontstring with three font objects. This is more efficient, uses less memory, and reduces the complexity of defining a button. To support this, the existing NormalText, HighlightText, and DisabledText elements have been deprecated (though they will still work in 1.11 for backwards compatibility), and new elements ButtonText, NormalFont, HighlightFont, and DisabledFont are defined to replace them.
New API Functions
SetCursor() can now be passed a 32x32 texture filename, as well as a cursor mode, or nil to reset the cursor.
GetAddOnMetadata("addon", "field") - returns the value of the following fields in the addon TOC file: Title, Notes, Author, Version, and any field starting with X-
Region Script Object - Region is the base object type for all frames, textures and fontstrings. Region is also the type of object returned by the new Frame:GetTitleRegion() method. Region:GetObjectType() returns "Region", and Region:IsObjectType("type") returns true if "type" is "Region".
All regions have the following member functions:
type = Region:GetObjectType()
isType = Region:IsObjectType("type")
name = Region:GetName()
frame = Region:GetParent()
Region:SetParent(frame)
x,y = Region:GetCenter()
x = Region:GetLeft()
x = Region:GetRight()
y = Region:GetTop()
y = Region:GetBottom()
width = Region:GetWidth()
Region:SetWidth(width)
height = Region:GetHeight()
Region:SetHeight(height)
numPoints = Region:GetNumPoints()
"point",relativeObject,"relativePoint",xOfs,yOfs = Region:GetPoint(index)
Region:SetPoint("point" [, LayoutFrame] [, "relativePoint"] [, offsetX, offsetY])
Region:SetAllPoints(LayoutFrame)
Region:ClearAllPoints()
New Texture Methods
ULx,ULy,LLx,LLy,URx,URy,LRx,LRy = Texture:GetTexCoord()
isDesaturated = Texture:IsDesaturated()
New FontString Methods - nonSpaceWrap = FontString:CanNonSpaceWrap()
New Frame Methods
Frame:RegisterAllEvents() - For debugging purposes only!
enabled = Frame:IsKeyboardEnabled()
enabled = Frame:IsMouseEnabled()
enabled = Frame:IsMouseWheelEnabled()
region = Frame:CreateTitleRegion()
region = Frame:GetTitleRegion()
Frame:SetHitRectInsets(left, right, top, bottom)
left, right, top, bottom = Frame:GetHitRectInsets()
minWidth, minHeight = Frame:GetMinResize()
maxWidth, maxHeight = Frame:GetMaxResize()
backdropTable = Frame:GetBackdrop(backdropTable) - backdropTable will be filled in and returned.
r, g, b, a = Frame:GetBackdropColor()
r, g, b, a = Frame:GetBackdropBorderColor()
Frame:SetClampedToScreen(clamped)
clamped = Frame:IsClampedToScreen()
New Button Methods
Button:SetFontString(fontstring)
texture = Button:GetNormalTexture()
texture = Button:GetPushedTexture()
texture = Button:GetDisabledTexture()
texture = Button:GetHighlightTexture()
r, g, b, a = Button:GetTextColor()
r, g, b, a = Button:GetDisabledTextColor()
r, g, b, a = Button:GetHighlightTextColor()
Button:SetPushedTextOffset(x, y)
x, y = Button:GetPushedTextOffset()
New CheckButton Methods
texture = CheckButton:GetCheckedTexture()
texture = CheckButton:GetDisabledCheckedTexture()
New EditBox Methods
EditBox:SetAutoFocus(isAutofocus)
isAutofocus = EditBox:IsAutoFocus()
EditBox:SetMultiLine(isMultiline)
isMultiline = EditBox:IsMultiLine()
EditBox:SetNumeric(isNumeric)
isNumeric = EditBox:IsNumeric()
EditBox:SetPassword(isPassword)
isPassword = EditBox:IsPassword()
EditBox:SetBlinkSpeed(speed)
speed = EditBox:GetBlinkSpeed()
bytes = EditBox:GetMaxBytes()
letters = EditBox:GetMaxLetters()
l, r, t, b = EditBox:GetTextInsets()
New MessageFrame Methods
MessageFrame:SetInsertMode("TOP" or "BOTTOM")
mode = MessageFrame:GetInsertMode()
MessageFrame:SetFading(fading)
fading = MessageFrame:GetFading()
MessageFrame:SetTimeVisible(seconds)
seconds = MessageFrame:GetTimeVisible()
MessageFrame:SetFadeDuration(seconds)
seconds = MessageFrame:GetFadeDuration()
MessageFrame:Clear()
New ScrollingMessageFrame Methods - isAtTop = ScrollingMessageFrame:AtTop()
New SimpleHTML Methods - format = SimpleHTML:GetHyperlinkFormat()
New Model Methods
filename = Model:GetModel()
r, g, b, a = Model:GetFogColor()
value = Model:GetFogNear()
value = Model:GetFogFar()
enabled, omni, dirX,dirY,dirZ, ambIntensity[,ambR,ambG,ambB], dirIntensity[,dirR,dirG,dirB] = Model:GetLight()
New Slider Methods - texture = Slider:GetThumbTexture()
New ColorSelect Methods
ColorSelect:SetColorWheelTexture(texture or nil)
ColorSelect:SetColorValueTexture(texture or nil)
ColorSelect:SetColorValueThumbTexture(texture or "texture" or nil)
texture = ColorSelect:GetColorWheelTexture()
texture = ColorSelect:GetColorWheelThumbTexture()
texture = ColorSelect:GetColorValueTexture()
texture = ColorSelect:GetColorValueThumbTexture()
New Minimap Methods
MiniMap:SetArrowModel("file")
MiniMap:SetPlayerModel("file")