- Fixed the enemy name on segment menu.

- Added stoneform on cooldown list.

- New API: _detalhes.GetSpellInfo (spell) return spell information from cache.
- New API: _detalhes:GetSpellSchoolName (school number) return the school name.
- New API: _detalhes:GetSpellSchoolFormatedName (school number) return school name with school color.
This commit is contained in:
tercio
2014-07-31 17:38:33 -03:00
parent 2d1cf1b220
commit e61fe4ee01
7 changed files with 83 additions and 34 deletions
-3
View File
@@ -105,13 +105,10 @@ function _detalhes.switch:ShowMe (instancia)
_detalhes.switch.current_instancia = instancia
--_detalhes.switch.frame:SetFrameLevel (instancia.baseframe:GetFrameLevel() + 5)
_detalhes.switch.frame:SetPoint ("topleft", instancia.baseframe, "topleft", 0, 1)
_detalhes.switch.frame:SetPoint ("bottomright", instancia.baseframe, "bottomright", 0, 1)
_detalhes.switch.frame:SetBackdropColor (0.094, 0.094, 0.094, .8)
--local _r, _g, _b, _a = _detalhes.switch.frame:GetBackdropColor()
--gump:GradientEffect (_detalhes.switch.frame, "frame", _r, _g, _b, _a, _r, _g, _b, 1, 1)
local altura = instancia.baseframe:GetHeight()
local mostrar_quantas = _math_floor (altura / _detalhes.switch.button_height) * 2