Edit Page
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 11: | Line 11: | ||
local highlightPre = "<span style='color:lawngreen;font-weight:bold'>" |
local highlightPre = "<span style='color:lawngreen;font-weight:bold'>" |
||
local highlightPost = "</span>" |
local highlightPost = "</span>" |
||
− | local classOrder = {"Ironclad", "Silent |
+ | local classOrder = {"Ironclad", "Silent", "Neutral", "Curse", "Status"} |
function colorToClass(colorName) |
function colorToClass(colorName) |
||
Line 18: | Line 18: | ||
elseif(colorName == 'Green') then |
elseif(colorName == 'Green') then |
||
return 'Silent' |
return 'Silent' |
||
− | elseif(colorName == 'Blue') then |
||
− | return 'Defect' |
||
− | elseif(colorName == 'Purple') then |
||
− | return 'Watcher' |
||
elseif(colorName == 'Colorless') then |
elseif(colorName == 'Colorless') then |
||
return 'Neutral' |
return 'Neutral' |