-- Every character gets the support skills at their highest level on its first login (install.sh). -- UTF-8 here; install.sh converts it to GBK for qc. Levels are the max_level of skill_proto on 203. quest support_skills_max begin state start begin when login begin local skills = { { 121, 40 }, -- 统御 { 122, 2 }, -- 连击 { 124, 40 }, -- 采矿 { 126, 20 }, -- 盛唐语 { 127, 20 }, -- 秦皇语 { 128, 20 }, -- 汉武语 { 129, 40 }, -- 幻化 { 131, 10 }, -- 召唤马匹 { 137, 1 }, -- 乱舞 { 138, 1 }, -- 突击 { 139, 1 }, -- 脱出 } for i = 1, table.getn(skills) do pc.set_skill_level(skills[i][1], skills[i][2]) end -- 乱舞(弓) is the assassin's (char_skill.cpp: SKILL_HORSE_WILDATTACK_RANGE). if pc.get_job() == 1 then pc.set_skill_level(140, 1) end -- 骑马 (130) is the horse level (CHARACTER::SetHorseLevel), at most HORSE_MAX_LEVEL 30. if horse.get_level() < 30 then horse.set_level(30) end syschat("辅助技能已全部提升到最高等级,马匹已升到30级。") set_state("done") end end state done begin end end