找回密码
 注册
搜索
查看: 910|回复: 13

请问如何调整MUSH公版机器人 领悟等级?

[复制链接]
门派:武当派
发表于 2023-10-31 14:02:29 | 显示全部楼层 |阅读模式
目前解了九阴白骨爪,基本爪法需要去领悟,但是整体SKILLS才370左右,每次都是自动去师傅那里学习。

请问修改哪里可以暂时调整不去师傅那里学习而去少林领悟呢?
门派:武当派
发表于 2023-10-31 15:06:55 | 显示全部楼层
function xuexiNext()
    EnableTriggerGroup("xuexi",false)
    tmp.skill=master.skills[tmp.xuexi]
    if skills[tmp.skill] then
       if skills[tmp.skill].lvl>=450 then
          skills[tmp.skill].mstlvl=450
       else
          skills[tmp.skill].mstlvl=skills[tmp.skill].lvl
       end
    end
    tmp.xuexi=tmp.xuexi+1
    if tmp.xuexi>table.getn(master.skills) then
    xxpot=hp.pot_max
    xuefull=1
       return xuexiFinish()
    end
门派:武当派
发表于 2023-10-31 15:08:26 | 显示全部楼层
--if score.party~="普通百姓" and hp.pot>=l_pot and flag.autoxuexi and flag.autoxuexi==1 then
   if hp.pot>=l_pot then
   --[[if hp.pot>=l_pot then
          if skills["wuxiang-zhi"] then
             if not flag.wxjz then flag.wxjz=0 end
                 if flag.wxjz==0 and skills["finger"].lvl>skills["wuxiang-zhi"].lvl and skills["wuxiang-zhi"].lvl<hp.pot_max-100 then
                    return wxjzFofa()
                 end
          end
   end]]
      if score.gold and skills["literate"] and score.gold>3000 and skills["literate"].lvl<hp.pot_max-100 then
         return literate()
      end
      if hp.pot>=l_pot and skills["parry"] and skills["parry"].lvl<hp.pot_max-100 and skills["parry"].lvl>=450 then
         flag.lingwu=1
      end
      if flag.lingwu==1 then
         return checklingwu()
门派:武当派
发表于 2023-10-31 15:09:10 | 显示全部楼层
我感觉第二段更像是判定,应当是按parry的等级来看的,你可以改成350。
门派:武当派
发表于 2023-10-31 15:10:53 | 显示全部楼层
公版和定制版不一样,最少行数值不一样,不过判定应当是一样的
门派:丐帮
发表于 2023-10-31 15:17:34 | 显示全部楼层
感谢蛋总,我回去试试。
门派:丐帮
发表于 2023-10-31 19:37:31 | 显示全部楼层
不行啊蛋总,改了无效。
门派:古墓派
发表于 2023-10-31 20:31:21 | 显示全部楼层
function check_xuexi()
--[[  if hp.exp<5000000 then
   l_pot=hp.pot_max-100
else
   l_pot=hp.pot_max-200
end--]]
  if MidHsDay[locl.time] and score.master=='风清扬' then
     return check_job()
  end
  --if needxuexi==0 then
     --return check_job()
  --end
  --if needxuexi==1 then
     -----return check_pot()  因为领悟九阴注销掉了
    if hp.pot>=100 and skills["claw"] and skills["claw"].lvl<hp.pot_max-100 then                          ----------------@dbm领悟九阴
    flag.lingwu=1
        return checklingwu()
        else
        return check_pot()
    end
end
门派:古墓派
发表于 2023-10-31 20:32:16 | 显示全部楼层
     check_pot里面

      if hp.pot>=l_pot and skills["parry"] and skills["parry"].lvl<hp.pot_max-100 and skills["parry"].lvl>=450 then
         flag.lingwu=1
      end
      if hp.pot>=l_pot and skills["claw"] and skills["claw"].lvl<hp.pot_max-100 then                          ----------------@dbm领悟九阴
         flag.lingwu=1
      end
      if flag.lingwu==1 then
         return checklingwu()
      end
门派:古墓派
发表于 2023-10-31 20:32:58 | 显示全部楼层
应该就这2处,我当时改动的,类似于你这情况,你可以试试看
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|书剑永恒MUD ( 闽ICP备14012032号|闽公网安备 35050202000162号 )

GMT+8, 2025-6-17 20:06 , Processed in 0.029944 second(s), 25 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表