- Added Rallying Cry on warrior cooldown list.
- Healthstone now is considered both healing and cooldown attributes. - Fixed the sort method for custom displays, now the bars wuth same value is correctly sort by alphabetical. - Fixed non-combat switch by role where changing role wasn't changing the attribute. - Fixed the icons hiding and showing with Alpha Modify Types. - NickTag now don't check if a received name is invalid.
This commit is contained in:
+9
-1
@@ -41,9 +41,17 @@
|
||||
|
||||
--> 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
|
||||
end
|
||||
|
||||
|
||||
--/script print (tonumber (4/1000000)) - 4e-006
|
||||
--0.000004
|
||||
--> set all table keys to lower
|
||||
local temptable = {}
|
||||
function _detalhes:LowerizeKeys (_table)
|
||||
|
||||
Reference in New Issue
Block a user