• 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 19: Line 19:  
     end
 
     end
 
     return current_fp
 
     return current_fp
 +
end
 +
 +
function NanaminFunctions.add_to_elos_ship(current_elos, ship)
 +
    local los = ship:los() or 0
 +
    local los_max = ship:los_max() or los
 +
    los = math.floor(los + ((los_max - los) * tonumber(entry[3]) / 99))
 +
    return current_elos + math.sqrt(los) * 1.69
 
end
 
end
  
48

edits

Navigation menu