• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
m
no edit summary
Line 32: Line 32:  
     end
 
     end
 
     return current_elos
 
     return current_elos
 +
end
 +
 +
function NanaminFunction.get_hq_bracket(hq_level)
 +
    local bracket = tonumber(hq_level or 0)
 +
 +
    --Get bracket of 5
 +
    bracket = bracket - (bracket % 5) + 5
 +
    if tonumber(hq_level or 0) % 5 == 0 then
 +
        bracket = bracket + 5
 +
    end
 +
   
 +
    return bracket
 
end
 
end
    
return NanaminFunctions
 
return NanaminFunctions
48

edits

Navigation menu