tellon 0 Report post Posted June 26, 2017 Hi guys, i have a bug with the skills, idk why and i never see it, my skills dont level up, i click some and dont work, PLS HELP ME i try to change variable,function,skillinfo,skilleffect,itemeffect,attrcalculate,int_attr, all calculate files, and dont work pls save me Quote Share this post Link to post Share on other sites
V1k1NGO 1 Report post Posted May 28, 2020 On 6/26/2017 at 7:10 AM, tellon said: Hi guys, i have a bug with the skills, idk why and i never see it, my skills dont level up, i click some and dont work, PLS HELP ME i try to change variable,function,skillinfo,skilleffect,itemeffect,attrcalculate,int_attr, all calculate files, and dont work pls save me How you do to fix it. In my own pc have the same problem and not know how to fix Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted June 3, 2020 Hello @tellon and @V1k1NGO! Add the following scripts to your files: functions.lua -- The function checks if skill can be learned or upgraded function CheckCanUpgradeSkill(role, skill_id) -- Check if player has skill local skill = GetSkillLv(role, skill_id) if (skill > 0) then -- Looking for the skill in 'special' skill list which can't be upgraded using 'plus' button in skill form (Fairy possession for example) local Data for Data in SkillList do if SkillList [Data] == skill_id then SystemNotice(role, "It is impossible to upgrade the skill!") return 0 end end -- Player has skill and it is not 'special' skill. It is OK! return 1 end -- Player hasn't the skill SystemNotice(role, "You haven't learned this skill. It is impossible to increase the level!") return 0 end variable.lua SkillList = {} SkillList[1] = 0280 SkillList[2] = 0311 SkillList[3] = 0312 SkillList[4] = 0313 SkillList[5] = 0314 SkillList[6] = 0315 SkillList[7] = 0316 SkillList[8] = 0317 SkillList[9] = 0318 SkillList[10] = 0319 SkillList[11] = 0321 SkillList[12] = 0322 SkillList[13] = 0323 SkillList[14] = 0324 SkillList[15] = 0338 SkillList[16] = 0339 SkillList[17] = 0340 SkillList[18] = 0341 SkillList[19] = 0453 SkillList[20] = 0454 SkillList[21] = 0455 SkillList[22] = 0456 SkillList[23] = 0457 SkillList[24] = 0458 SkillList[25] = 0459 SkillList[26] = 0467 Quote Some useful links / Полезные ссылки Tips for making a topic in 'Questions & Help' / Рекомендации по созданию тем в разделе "Помощь" Server Advertising Section Rules / Правила раздела "Реклама серверов" Available e-mail domains for registration / Допустимые e-mail домены для регистрации User groups / Группы пользователей User ranks / Звания пользователей "Broken" pictures on the forum / "Битые" изображения на форуме Beware of scammers! / Осторожно, мошенники! My developments / Мои разработки Mods for client and server / Моды для клиента и сервера PKOdev.NET website for Tales of Pirates Server / PKOdev.NET веб-обвязка для сервера Пиратии I do not provide any help in private messages and outside the forum. Use 'Questions & Help' section please. Thank you for understanding! Я не оказываю какую-либо помощь в личных сообщениях и вне форума. Пожалуйста, используйте раздел "Пиратия: Помощь". Благодарю за понимание! Share this post Link to post Share on other sites
Brothers 24 Report post Posted October 7, 2021 Still working! Thanks =) 1 Quote Share this post Link to post Share on other sites