i just notice that new player start at level 10 in both herbalist (harvest plants) and alchemy (make potions)..
any idea how i fix it and rest player skill back to 1?
ps: i got those lines in my login.lua
Lua:
local skill = 15023 -- herbalist
if player:getStorageValue(customSkill) == -1 then
player:setStorageValue(customSkill, 1)
player:setStorageValue(customSkill + 1, 0)
end
local customSkill = 15022 -- alchemy
if player:getStorageValue(customSkill) == -1 then
player:setStorageValue(customSkill, 1)
player:setStorageValue(customSkill + 1, 0)
end
local skill = 15021 -- mining
if player:getStorageValue(customSkill) == -1 then
player:setStorageValue(customSkill, 1)
player:setStorageValue(customSkill + 1, 0)
end
local customSkill = 15019 -- smith
if player:getStorageValue(customSkill) == -1 then
player:setStorageValue(customSkill, 1)
player:setStorageValue(customSkill + 1, 0)
end
as far as i know the issue is only at harvest & alchemy..
should i just change storage to reset them?