Aldeia RPG

Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

Suporte ao desenvolvimento de jogos


+5
Skull Death
BrunoFox
JuanCollin
Jonny
Valentine
9 participantes

    Aumentando Level Máximo

    Spooky
    Spooky
    Membro Ativo
    Membro Ativo


    Mensagens : 267
    Créditos : 24

    Aumentando Level Máximo - Página 3 Empty Dúvida

    Mensagem por Spooky Sáb Out 25, 2014 8:45 pm

    CÓDIGO:
    Código:
    Function GetPlayerNextLevel(ByVal Index As Long) As Long
        ' If debug mode, handle error then exit out
        If Options.Debug = 1 Then On Error GoTo errorhandler
       
        If Index > MAX_PLAYERS Then Exit Function
     
        GetPlayerNextLevel = (50 / 3) * ((GetPlayerLevel(Index) + 1) ^ 3 - (6 * (GetPlayerLevel(Index) + 1) ^ 2) + 17 * (GetPlayerLevel(Index) + 1) - 12)
       
        ' Error handler
        Exit Function
    errorhandler:
        HandleError "GetPlayerNextLevel", "modDatabase", Err.Number, Err.Description, Err.Source, Err.HelpContext
        Err.Clear
        Exit Function
    End Function





    Não achei o Function GetPlayerNextLevel(ByVal Index As Long) As Long .

    em lugar algum, se puder me ajudar agradeceria muito ...

      Data/hora atual: Qui Mar 28, 2024 8:45 am