- Added Devotion Aura cooldown for paladins.
- Added options for lock, unlock, break snap, close, reopen and create new window. - Added a options panel for HotCorners. - Shortcut panel is now known as Bookmarks panel, also a revamp has been done in its frames. - Fixed percent issue with Healing Done and HPS while in combat. - New API: instance:IsStarted() return if the instance have its frames built.
This commit is contained in:
+3
-7
@@ -41,13 +41,9 @@
|
||||
|
||||
--> get the fractional number representing the alphabetical letter
|
||||
function _detalhes:GetAlphabeticalOrderNumber (who_name)
|
||||
--local name = _upper (who_name)
|
||||
--local byte = _string_byte (name)
|
||||
--local abs = _math_abs (byte-91)
|
||||
--local n = math.floor (abs)/1000000
|
||||
--print (name, byte, abs, n)
|
||||
--return n
|
||||
return _math_abs (_string_byte (_upper (who_name))-91)/1000000
|
||||
local name = _upper (who_name)
|
||||
local byte1 = _math_abs (_string_byte (name, 2)-91)/1000000
|
||||
return byte1 + _math_abs (_string_byte (name, 1)-91)/10000
|
||||
end
|
||||
|
||||
--/script print (tonumber (4/1000000)) - 4e-006
|
||||
|
||||
Reference in New Issue
Block a user