seilaeusou 0 Postado 20 de Março 2025 Compartilhar Postado 20 de Março 2025 levelsystem.lua for i = 1, 5 do if NATURE_TABLE_SYSTEM[nature] and NATURE_TABLE_SYSTEM[nature].list_operator[i] == "+" then setPlayerStorageValue(pk, 1000 + i, getPlayerStorageValue(pk, 1000 + i) + NATURE_TABLE_SYSTEM[nature].list[i]) elseif NATURE_TABLE_SYSTEM[nature] and NATURE_TABLE_SYSTEM[nature].list_operator[i] == "-" then setPlayerStorageValue(pk, 1000 + i, getPlayerStorageValue(pk, 1000 + i) - NATURE_TABLE_SYSTEM[nature].list[i]) elseif NATURE_TABLE_SYSTEM[nature] and NATURE_TABLE_SYSTEM[nature].list_operator[i] == "*" then setPlayerStorageValue(pk, 1000 + i, getPlayerStorageValue(pk, 1000 + i) * NATURE_TABLE_SYSTEM[nature].list[i]) end end arquivo da lib NATURE_TABLE_NEWPOKE = { [1] = {nature = "Adamant"}, [2] = {nature = "Bashful"}, [3] = {nature = "Bold"}, [4] = {nature = "Brave"}, [5] = {nature = "Calm"}, [6] = {nature = "Careful"}, [7] = {nature = "Docile"}, [8] = {nature = "Gentle"}, [9] = {nature = "Hardy"}, [10] = {nature = "Hasty"}, [11] = {nature = "Impish"}, [12] = {nature = "Jolly"}, [13] = {nature = "Lax"}, [14] = {nature = "Lonely"}, [15] = {nature = "Mild"}, [16] = {nature = "Modest"}, [17] = {nature = "Naive"}, [18] = {nature = "Naughty"}, [19] = {nature = "Quiet"}, [20] = {nature = "Quirky"}, [21] = {nature = "Rash"}, [22] = {nature = "Relaxed"}, [23] = {nature = "Sassy"}, [24] = {nature = "Serious"}, [25] = {nature = "Timid"}, } -- attack defense agility vitality specialattack -- Essa tabela e para dar buff la no level system-- Ordem da list: -- attack -- defense -- agility -- vitality -- specialattack -- list_operator: Aceita: "+", "-" e "*" -- Explicacao de Operadores: + (SOMA) / - (SUBTRAÇÃO) / * (MULTIPLICAÇÃO) NATURE_TABLE_SYSTEM = { ["Adamant"] = {list = {1.0, 0, 0, 0, 1.0}, list_operator = {"+", "+", "+", "+", "-"}}, ["Bashful"] = {list = {0, 0, 0, 0, 0}, list_operator = {"+", "+", "-", "+", "+"}}, ["Bold"] = {list = {1.0, 90.3, 0, 0, 0}, list_operator = {"-", "+", "+", "+", "+"}}, ["Brave"] = {list = {1.0, 0, 0, 0, 1.0}, list_operator = {"+", "+", "-", "+", "-"}}, ["Calm"] = {list = {1.0, 1.0, 0, 0, 0}, list_operator = {"-", "+", "+", "+", "-"}}, ["Careful"] = {list = {0, 1.0, 0, 0, 1.0}, list_operator = {"+", "+", "+", "+", "-"}}, ["Docile"] = {list = {0, 0, 0, 0, 0}, list_operator = {"+", "+", "+", "-", "+"}}, ["Gentle"] = {list = {0, 1.0, 0, 1.5, 0}, list_operator = {"+", "+", "+", "+", "+"}}, ["Hardy"] = {list = {1.4, 0, 0, 0, 0}, list_operator = {"+", "+", "+", "+", "+"}}, ["Hasty"] = {list = {0, 2.0, 20.0, 0, 0}, list_operator = {"+", "-", "+", "+", "+"}}, ["Impish"] = {list = {0, 1.0, 0, 0, 1.0}, list_operator = {"+", "-", "+", "+", "+"}}, ["Jolly"] = {list = {0, 0, 2.0, 0, 1.0}, list_operator = {"+", "+", "+", "+", "-"}}, ["Lax"] = {list = {0, 1.0, 0, 0.0, 0}, list_operator = {"+", "+", "+", "-", "+"}}, ["Lonely"] = {list = {1.0, 1.0, 0, 0, 0}, list_operator = {"+", "-", "+", "+", "+"}}, ["Mild"] = {list = {0, 1.0, 0, 0, 1.5}, list_operator = {"+", "-", "+", "+", "+"}}, ["Modest"] = {list = {1.0, 0, 0, 0, 1.0}, list_operator = {"-", "+", "+", "+", "+"}}, ["Naive"] = {list = {0, 1.0, 1.0, 0, 0}, list_operator = {"+", "-", "+", "-", "+"}}, ["Naughty"] = {list = {1.0, 1.0, 0, 0, 0}, list_operator = {"+", "-", "+", "-", "+"}}, ["Quiet"] = {list = {0, 0, 1.0, 0, 1.0}, list_operator = {"+", "+", "-", "+", "+"}}, ["Quirky"] = {list = {0, 0, 0, 0, 0}, list_operator = {"+", "-", "+", "+", "+"}}, ["Rash"] = {list = {0, 1.0, 0, 0, 1.0}, list_operator = {"+", "-", "+", "-", "+"}}, ["Relaxed"] = {list = {0, 1.0, 1.0, 0, 0}, list_operator = {"+", "+", "-", "+", "+"}}, ["Sassy"] = {list = {0, 1.0, 1.0, 0, 0}, list_operator = {"+", "+", "-", "+", "+"}}, ["Serious"] = {list = {0, 0, 0, 0, 0}, list_operator = {"-", "+", "+", "+", "+"}}, ["Timid"] = {list = {1.0, 0, 1.0, 0, 0}, list_operator = {"-", "+", "+", "+", "+"}}, } esse sistema nao esta acrecentando os bonus por nature alguem consegue me ajuda? sistema da base mysterios do thalles Link para o comentário https://tibiadevs.com/forums/topic/987-problema-com-nature-system/ Compartilhar em outros sites Mais opções de compartilhamento...
Administrador Yomee 5047 Postado 20 de Março 2025 Administrador Compartilhar Postado 20 de Março 2025 1 hora atrás, seilaeusou disse: levelsystem.lua for i = 1, 5 do if NATURE_TABLE_SYSTEM[nature] and NATURE_TABLE_SYSTEM[nature].list_operator[i] == "+" then setPlayerStorageValue(pk, 1000 + i, getPlayerStorageValue(pk, 1000 + i) + NATURE_TABLE_SYSTEM[nature].list[i]) elseif NATURE_TABLE_SYSTEM[nature] and NATURE_TABLE_SYSTEM[nature].list_operator[i] == "-" then setPlayerStorageValue(pk, 1000 + i, getPlayerStorageValue(pk, 1000 + i) - NATURE_TABLE_SYSTEM[nature].list[i]) elseif NATURE_TABLE_SYSTEM[nature] and NATURE_TABLE_SYSTEM[nature].list_operator[i] == "*" then setPlayerStorageValue(pk, 1000 + i, getPlayerStorageValue(pk, 1000 + i) * NATURE_TABLE_SYSTEM[nature].list[i]) end end arquivo da lib NATURE_TABLE_NEWPOKE = { [1] = {nature = "Adamant"}, [2] = {nature = "Bashful"}, [3] = {nature = "Bold"}, [4] = {nature = "Brave"}, [5] = {nature = "Calm"}, [6] = {nature = "Careful"}, [7] = {nature = "Docile"}, [8] = {nature = "Gentle"}, [9] = {nature = "Hardy"}, [10] = {nature = "Hasty"}, [11] = {nature = "Impish"}, [12] = {nature = "Jolly"}, [13] = {nature = "Lax"}, [14] = {nature = "Lonely"}, [15] = {nature = "Mild"}, [16] = {nature = "Modest"}, [17] = {nature = "Naive"}, [18] = {nature = "Naughty"}, [19] = {nature = "Quiet"}, [20] = {nature = "Quirky"}, [21] = {nature = "Rash"}, [22] = {nature = "Relaxed"}, [23] = {nature = "Sassy"}, [24] = {nature = "Serious"}, [25] = {nature = "Timid"}, } -- attack defense agility vitality specialattack -- Essa tabela e para dar buff la no level system-- Ordem da list: -- attack -- defense -- agility -- vitality -- specialattack -- list_operator: Aceita: "+", "-" e "*" -- Explicacao de Operadores: + (SOMA) / - (SUBTRAÇÃO) / * (MULTIPLICAÇÃO) NATURE_TABLE_SYSTEM = { ["Adamant"] = {list = {1.0, 0, 0, 0, 1.0}, list_operator = {"+", "+", "+", "+", "-"}}, ["Bashful"] = {list = {0, 0, 0, 0, 0}, list_operator = {"+", "+", "-", "+", "+"}}, ["Bold"] = {list = {1.0, 90.3, 0, 0, 0}, list_operator = {"-", "+", "+", "+", "+"}}, ["Brave"] = {list = {1.0, 0, 0, 0, 1.0}, list_operator = {"+", "+", "-", "+", "-"}}, ["Calm"] = {list = {1.0, 1.0, 0, 0, 0}, list_operator = {"-", "+", "+", "+", "-"}}, ["Careful"] = {list = {0, 1.0, 0, 0, 1.0}, list_operator = {"+", "+", "+", "+", "-"}}, ["Docile"] = {list = {0, 0, 0, 0, 0}, list_operator = {"+", "+", "+", "-", "+"}}, ["Gentle"] = {list = {0, 1.0, 0, 1.5, 0}, list_operator = {"+", "+", "+", "+", "+"}}, ["Hardy"] = {list = {1.4, 0, 0, 0, 0}, list_operator = {"+", "+", "+", "+", "+"}}, ["Hasty"] = {list = {0, 2.0, 20.0, 0, 0}, list_operator = {"+", "-", "+", "+", "+"}}, ["Impish"] = {list = {0, 1.0, 0, 0, 1.0}, list_operator = {"+", "-", "+", "+", "+"}}, ["Jolly"] = {list = {0, 0, 2.0, 0, 1.0}, list_operator = {"+", "+", "+", "+", "-"}}, ["Lax"] = {list = {0, 1.0, 0, 0.0, 0}, list_operator = {"+", "+", "+", "-", "+"}}, ["Lonely"] = {list = {1.0, 1.0, 0, 0, 0}, list_operator = {"+", "-", "+", "+", "+"}}, ["Mild"] = {list = {0, 1.0, 0, 0, 1.5}, list_operator = {"+", "-", "+", "+", "+"}}, ["Modest"] = {list = {1.0, 0, 0, 0, 1.0}, list_operator = {"-", "+", "+", "+", "+"}}, ["Naive"] = {list = {0, 1.0, 1.0, 0, 0}, list_operator = {"+", "-", "+", "-", "+"}}, ["Naughty"] = {list = {1.0, 1.0, 0, 0, 0}, list_operator = {"+", "-", "+", "-", "+"}}, ["Quiet"] = {list = {0, 0, 1.0, 0, 1.0}, list_operator = {"+", "+", "-", "+", "+"}}, ["Quirky"] = {list = {0, 0, 0, 0, 0}, list_operator = {"+", "-", "+", "+", "+"}}, ["Rash"] = {list = {0, 1.0, 0, 0, 1.0}, list_operator = {"+", "-", "+", "-", "+"}}, ["Relaxed"] = {list = {0, 1.0, 1.0, 0, 0}, list_operator = {"+", "+", "-", "+", "+"}}, ["Sassy"] = {list = {0, 1.0, 1.0, 0, 0}, list_operator = {"+", "+", "-", "+", "+"}}, ["Serious"] = {list = {0, 0, 0, 0, 0}, list_operator = {"-", "+", "+", "+", "+"}}, ["Timid"] = {list = {1.0, 0, 1.0, 0, 0}, list_operator = {"-", "+", "+", "+", "+"}}, } esse sistema nao esta acrecentando os bonus por nature alguem consegue me ajuda? sistema da base mysterios do thalles Tópico aprovado e movido para a área correta. 😊 Link para o comentário https://tibiadevs.com/forums/topic/987-problema-com-nature-system/#findComment-5159 Compartilhar em outros sites Mais opções de compartilhamento...
Kevin Luzetti 42 Postado 20 de Março 2025 Compartilhar Postado 20 de Março 2025 tente isso: for i = 1, 5 do if NATURE_TABLE_SYSTEM[nature] then local nature_data = NATURE_TABLE_SYSTEM[nature] local operator = nature_data.list_operator[i] local bonus = nature_data.list[i] if operator == "+" then setPlayerStorageValue(pk, 1000 + i, getPlayerStorageValue(pk, 1000 + i) + bonus) elseif operator == "-" then setPlayerStorageValue(pk, 1000 + i, getPlayerStorageValue(pk, 1000 + i) - bonus) elseif operator == "*" then setPlayerStorageValue(pk, 1000 + i, getPlayerStorageValue(pk, 1000 + i) * bonus) end else -- Caso não encontre a nature, pode exibir um erro ou retornar um valor padrão print("Nature não encontrada: " .. nature) end end Link para o comentário https://tibiadevs.com/forums/topic/987-problema-com-nature-system/#findComment-5165 Compartilhar em outros sites Mais opções de compartilhamento...
seilaeusou 0 Postado 20 de Março 2025 Autor Compartilhar Postado 20 de Março 2025 [20/03/2025 16:42:38] [Error - Action Interface] [20/03/2025 16:42:38] datapack/actions/scripts/goback.lua:onUse [20/03/2025 16:42:38] Description: [20/03/2025 16:42:38] datapack/lib/level_system.lua:314: attempt to concatenate global 'nature' (a nil value) [20/03/2025 16:42:38] stack traceback: [20/03/2025 16:42:38] datapack/lib/level_system.lua:314: in function 'adjustStatus' [20/03/2025 16:42:38] datapack/actions/scripts/goback.lua:312: in function <datapack/actions/scripts/goback.lua:144> [20/03/2025 16:42:38] stack traceback: Link para o comentário https://tibiadevs.com/forums/topic/987-problema-com-nature-system/#findComment-5166 Compartilhar em outros sites Mais opções de compartilhamento...
Kevin Luzetti 42 Postado 24 de Março 2025 Compartilhar Postado 24 de Março 2025 Em 20/03/2025 em 16:43, seilaeusou disse: [20/03/2025 16:42:38] [Error - Action Interface] [20/03/2025 16:42:38] datapack/actions/scripts/goback.lua:onUse [20/03/2025 16:42:38] Description: [20/03/2025 16:42:38] datapack/lib/level_system.lua:314: attempt to concatenate global 'nature' (a nil value) [20/03/2025 16:42:38] stack traceback: [20/03/2025 16:42:38] datapack/lib/level_system.lua:314: in function 'adjustStatus' [20/03/2025 16:42:38] datapack/actions/scripts/goback.lua:312: in function <datapack/actions/scripts/goback.lua:144> [20/03/2025 16:42:38] stack traceback: Antes do loop, adicione um print e uma verificação de segurança if not nature then print("Erro: nature é nil. Verifique se está sendo atribuída corretamente.") return false -- Interrompe a execução para evitar mais erros end Se nature vier de uma storage, garanta que ela não seja -1 antes de prosseguir: nature = getPlayerStorageValue(pk, STORAGE_NATURE) if not nature or nature == -1 then print("Erro: Natureza do Pokémon não definida!") return false end Link para o comentário https://tibiadevs.com/forums/topic/987-problema-com-nature-system/#findComment-5217 Compartilhar em outros sites Mais opções de compartilhamento...
seilaeusou 0 Postado 24 de Março 2025 Autor Compartilhar Postado 24 de Março 2025 [24/03/2025 17:32:50] Erro: 'nature' não foi definido. [24/03/2025 17:32:50] Erro: 'nature' não foi definido. [24/03/2025 17:32:50] Erro: 'nature' não foi definido. [24/03/2025 17:32:50] Erro: 'nature' não foi definido. [24/03/2025 17:32:53] Erro: 'nature' não foi definido. [24/03/2025 17:32:53] Erro: 'nature' não foi definido. [24/03/2025 17:32:53] Erro: 'nature' não foi definido. [24/03/2025 17:32:53] Erro: 'nature' não foi definido. Link para o comentário https://tibiadevs.com/forums/topic/987-problema-com-nature-system/#findComment-5231 Compartilhar em outros sites Mais opções de compartilhamento...
Mateus Roberto 1069 Postado 24 de Março 2025 Compartilhar Postado 24 de Março 2025 Amigo, testa esse código aí e imprime a saída do console aqui para que eu possa verificar o problema e corrigir da forma certa depois. for i = 1, 5 do if not NATURE_TABLE_SYSTEM[nature] then print("Error: Nature '" .. tostring(nature) .. "' not found in the table") return end local currentValue = getPlayerStorageValue(pk, 1000 + i) if currentValue == -1 then currentValue = 0 end if NATURE_TABLE_SYSTEM[nature].list_operator[i] == "+" then local newValue = currentValue + NATURE_TABLE_SYSTEM[nature].list[i] setPlayerStorageValue(pk, 1000 + i, newValue) print("Adding " .. NATURE_TABLE_SYSTEM[nature].list[i] .. " to stat " .. i .. ": " .. newValue) elseif NATURE_TABLE_SYSTEM[nature].list_operator[i] == "-" then local newValue = currentValue - NATURE_TABLE_SYSTEM[nature].list[i] setPlayerStorageValue(pk, 1000 + i, newValue) print("Subtracting " .. NATURE_TABLE_SYSTEM[nature].list[i] .. " from stat " .. i .. ": " .. newValue) elseif NATURE_TABLE_SYSTEM[nature].list_operator[i] == "*" then local newValue = currentValue * NATURE_TABLE_SYSTEM[nature].list[i] setPlayerStorageValue(pk, 1000 + i, newValue) print("Multiplying stat " .. i .. " by " .. NATURE_TABLE_SYSTEM[nature].list[i] .. ": " .. newValue) end end Link para o comentário https://tibiadevs.com/forums/topic/987-problema-com-nature-system/#findComment-5232 Compartilhar em outros sites Mais opções de compartilhamento...
seilaeusou 0 Postado 25 de Março 2025 Autor Compartilhar Postado 25 de Março 2025 [24/03/2025 23:13:41] Error: Nature 'nil' not found in the table [24/03/2025 23:13:44] Error: Nature 'nil' not found in the table Link para o comentário https://tibiadevs.com/forums/topic/987-problema-com-nature-system/#findComment-5236 Compartilhar em outros sites Mais opções de compartilhamento...
seilaeusou 0 Postado 25 de Março 2025 Autor Compartilhar Postado 25 de Março 2025 esse e o arquivo da lib -- Essa tabela e para a criacao de pokes para o uso de math random NATURE_TABLE_NEWPOKE = { [1] = {nature = "Adamant"}, [2] = {nature = "Bashful"}, [3] = {nature = "Bold"}, [4] = {nature = "Brave"}, [5] = {nature = "Calm"}, [6] = {nature = "Careful"}, [7] = {nature = "Docile"}, [8] = {nature = "Gentle"}, [9] = {nature = "Hardy"}, [10] = {nature = "Hasty"}, [11] = {nature = "Impish"}, [12] = {nature = "Jolly"}, [13] = {nature = "Lax"}, [14] = {nature = "Lonely"}, [15] = {nature = "Mild"}, [16] = {nature = "Modest"}, [17] = {nature = "Naive"}, [18] = {nature = "Naughty"}, [19] = {nature = "Quiet"}, [20] = {nature = "Quirky"}, [21] = {nature = "Rash"}, [22] = {nature = "Relaxed"}, [23] = {nature = "Sassy"}, [24] = {nature = "Serious"}, [25] = {nature = "Timid"}, } -- attack defense agility vitality specialattack -- Essa tabela e para dar buff la no level system-- Ordem da list: -- attack -- defense -- agility -- vitality -- specialattack -- list_operator: Aceita: "+", "-" e "*" -- Explicacao de Operadores: + (SOMA) / - (SUBTRAÇÃO) / * (MULTIPLICAÇÃO) NATURE_TABLE_SYSTEM = { ["Adamant"] = {list = {1.0, 0, 0, 0, 1.0}, list_operator = {"-", "+", "+", "+", "-"}}, ["Bashful"] = {list = {0, 0, 0, 0, 0}, list_operator = {"+", "+", "-", "+", "+"}}, ["Bold"] = {list = {1.0, 90.3, 0, 0, 0}, list_operator = {"-", "+", "+", "+", "+"}}, ["Brave"] = {list = {1.0, 0, 0, 0, 1.0}, list_operator = {"+", "+", "-", "+", "-"}}, ["Calm"] = {list = {1.0, 1.0, 0, 0, 0}, list_operator = {"-", "+", "+", "+", "-"}}, ["Careful"] = {list = {0, 1.0, 0, 0, 1.0}, list_operator = {"+", "+", "+", "+", "-"}}, ["Docile"] = {list = {0, 0, 0, 0, 0}, list_operator = {"+", "+", "+", "-", "+"}}, ["Gentle"] = {list = {0, 1.0, 0, 1.5, 0}, list_operator = {"+", "+", "+", "+", "+"}}, ["Hardy"] = {list = {1.4, 0, 0, 0, 0}, list_operator = {"+", "+", "+", "+", "+"}}, ["Hasty"] = {list = {0, 2.0, 20.0, 0, 0}, list_operator = {"+", "-", "+", "+", "+"}}, ["Impish"] = {list = {0, 1.0, 0, 0, 1.0}, list_operator = {"+", "-", "+", "+", "+"}}, ["Jolly"] = {list = {0, 0, 2.0, 0, 1.0}, list_operator = {"+", "+", "+", "+", "-"}}, ["Lax"] = {list = {0, 1.0, 0, 0.0, 0}, list_operator = {"+", "+", "+", "-", "+"}}, ["Lonely"] = {list = {1.0, 1.0, 0, 0, 0}, list_operator = {"+", "-", "+", "+", "+"}}, ["Mild"] = {list = {0, 1.0, 0, 0, 1.5}, list_operator = {"+", "-", "+", "+", "+"}}, ["Modest"] = {list = {1.0, 0, 0, 0, 1.0}, list_operator = {"-", "+", "+", "+", "+"}}, ["Naive"] = {list = {0, 1.0, 1.0, 0, 0}, list_operator = {"+", "-", "+", "-", "+"}}, ["Naughty"] = {list = {1.0, 1.0, 0, 0, 0}, list_operator = {"+", "-", "+", "-", "+"}}, ["Quiet"] = {list = {0, 0, 1.0, 0, 1.0}, list_operator = {"+", "+", "-", "+", "+"}}, ["Quirky"] = {list = {0, 0, 0, 0, 0}, list_operator = {"+", "-", "+", "+", "+"}}, ["Rash"] = {list = {0, 1.0, 0, 0, 1.0}, list_operator = {"+", "-", "+", "-", "+"}}, ["Relaxed"] = {list = {0, 1.0, 1.0, 0, 0}, list_operator = {"+", "+", "-", "+", "+"}}, ["Sassy"] = {list = {0, 1.0, 1.0, 0, 0}, list_operator = {"+", "+", "-", "+", "+"}}, ["Serious"] = {list = {0, 0, 0, 0, 0}, list_operator = {"-", "+", "+", "+", "+"}}, ["Timid"] = {list = {1.0, 0, 1.0, 0, 0}, list_operator = {"-", "+", "+", "+", "+"}}, } Link para o comentário https://tibiadevs.com/forums/topic/987-problema-com-nature-system/#findComment-5238 Compartilhar em outros sites Mais opções de compartilhamento...
seilaeusou 0 Postado 26 de Março 2025 Autor Compartilhar Postado 26 de Março 2025 Em 24/03/2025 em 19:24, Mateus Roberto disse: Amigo, testa esse código aí e imprime a saída do console aqui para que eu possa verificar o problema e corrigir da forma certa depois. for i = 1, 5 do if not NATURE_TABLE_SYSTEM[nature] then print("Error: Nature '" .. tostring(nature) .. "' not found in the table") return end local currentValue = getPlayerStorageValue(pk, 1000 + i) if currentValue == -1 then currentValue = 0 end if NATURE_TABLE_SYSTEM[nature].list_operator[i] == "+" then local newValue = currentValue + NATURE_TABLE_SYSTEM[nature].list[i] setPlayerStorageValue(pk, 1000 + i, newValue) print("Adding " .. NATURE_TABLE_SYSTEM[nature].list[i] .. " to stat " .. i .. ": " .. newValue) elseif NATURE_TABLE_SYSTEM[nature].list_operator[i] == "-" then local newValue = currentValue - NATURE_TABLE_SYSTEM[nature].list[i] setPlayerStorageValue(pk, 1000 + i, newValue) print("Subtracting " .. NATURE_TABLE_SYSTEM[nature].list[i] .. " from stat " .. i .. ": " .. newValue) elseif NATURE_TABLE_SYSTEM[nature].list_operator[i] == "*" then local newValue = currentValue * NATURE_TABLE_SYSTEM[nature].list[i] setPlayerStorageValue(pk, 1000 + i, newValue) print("Multiplying stat " .. i .. " by " .. NATURE_TABLE_SYSTEM[nature].list[i] .. ": " .. newValue) end end @ Mateus Roberto Link para o comentário https://tibiadevs.com/forums/topic/987-problema-com-nature-system/#findComment-5301 Compartilhar em outros sites Mais opções de compartilhamento...
seilaeusou 0 Postado 28 de Março 2025 Autor Compartilhar Postado 28 de Março 2025 alguem consegue me ajuda? Link para o comentário https://tibiadevs.com/forums/topic/987-problema-com-nature-system/#findComment-5331 Compartilhar em outros sites Mais opções de compartilhamento...
seilaeusou 0 Postado 28 de Março 2025 Autor Compartilhar Postado 28 de Março 2025 @ Wang Link para o comentário https://tibiadevs.com/forums/topic/987-problema-com-nature-system/#findComment-5332 Compartilhar em outros sites Mais opções de compartilhamento...
Moderador Suporte Derivados Tibia 2354 Postado 30 de Março 2025 Moderador Compartilhar Postado 30 de Março 2025 Em 27/03/2025 em 22:32, seilaeusou disse: @ Wang Chama no WhatsApp que te passo ela corrigida os erros grátis 11 943219041 porém só posso ajudar segunda o Link para o comentário https://tibiadevs.com/forums/topic/987-problema-com-nature-system/#findComment-5345 Compartilhar em outros sites Mais opções de compartilhamento...
seilaeusou 0 Postado 30 de Março 2025 Autor Compartilhar Postado 30 de Março 2025 3 horas atrás, Wang disse: Me manda no privado aqui do fórum msm pfv Chama no WhatsApp que te passo ela corrigida os erros grátis 11 943219041 porém só posso ajudar segunda o Link para o comentário https://tibiadevs.com/forums/topic/987-problema-com-nature-system/#findComment-5349 Compartilhar em outros sites Mais opções de compartilhamento...
seilaeusou 0 Postado 1 de Abril 2025 Autor Compartilhar Postado 1 de Abril 2025 Em 30/03/2025 em 01:44, seilaeusou disse: @ Wang Link para o comentário https://tibiadevs.com/forums/topic/987-problema-com-nature-system/#findComment-5372 Compartilhar em outros sites Mais opções de compartilhamento...
Posts Recomendados
Crie uma conta ou entre para comentar
Você precisar ser um membro para fazer um comentário
Criar uma conta
Crie uma nova conta em nossa comunidade. É fácil!
Crie uma nova contaEntrar
Já tem uma conta? Faça o login.
Entrar Agora