| 
 | 
 
新公版在一些限制负重的地方都改了不背尸体,但是对于跑山下根骨臂力设置低,然后又像少林这样身上背跟多武器的同学,偶尔还是会被卡住饿死,想了想身上只有黄金和白银可以省了,所以改了一下,请无法帮看看可以不可以?因为我是瞎改的,有的判断没看明白 
 
首先shujian.lua里count.gold_max=5  ---数字改小 
 
function checkPrepare() 里面的数字改小 
    if Bag and Bag["白银"] and Bag["白银"].cnt and (Bag["白银"].cnt>500 or Bag["白银"].cnt<50) then 
       return check_gold() 
    end 
    if (Bag and Bag["黄金"] and Bag["黄金"].cnt and Bag["黄金"].cnt<count.gold_max and score.gold>count.gold_max) or (Bag and Bag["黄金"] and Bag["黄金"].cnt and Bag["黄金"].cnt>count.gold_max*4) then 
 
 
function check_gold()     里面的数字同样改小 
function check_gold_count() 
   if Bag['壹仟两银票'] and Bag['壹仟两银票'].cnt>10 then   
      exe('score;chazhang') 
      if score.goldlmt and score.gold and (score.goldlmt-score.gold)>5 then 
         return check_cash_cun() 
          end 
   end 
   if Bag and Bag["白银"] and Bag["白银"].cnt and (Bag["白银"].cnt>100 or Bag["白银"].cnt<50) then 
      return check_silver_qu() 
   end 
   if (Bag and Bag["黄金"] and Bag["黄金"].cnt and Bag["黄金"].cnt<count.gold_max and score.gold>count.gold_max) or (Bag and Bag["黄金"] and Bag["黄金"].cnt and Bag["黄金"].cnt>count.gold_max*3) then 
      return check_gold_qu() 
   end 
 
   return check_gold_over() 
end 
function check_cash_cun() 
   if Bag['壹仟两银票'] then 
      local l_cnt 
      if score.goldlmt and score.gold and (score.goldlmt-score.gold)<Bag['壹仟两银票'].cnt*10 then 
             l_cnt = math.modf((score.goldlmt-score.gold)/10) - 1 
          else 
             l_cnt = Bag['壹仟两银票'].cnt 
          end 
          if l_cnt > 0 then 
         exe('cun '.. l_cnt ..' cash') 
          end 
   end 
   checkBags() 
   return checkWait(check_gold_check,3) 
end 
function check_silver_qu() 
   local l_cnt=Bag["白银"].cnt-50 
   exe('cun '.. l_cnt ..' silver') 
   exe('qu 50 silver') 
   --checkBags() 
   --return checkWait(check_gold_check,3) 
   return checkPrepareOver() 
end 
function check_gold_qu() 
   local l_cnt=Bag["黄金"].cnt-count.gold_max*2 
   exe('cun '.. l_cnt ..' gold') 
   if Bag["黄金"].cnt<count.gold_max then 
      exe('qu '.. count.gold_max ..' gold') 
   end 
   --checkBags() 
   --return checkWait(check_gold_check,3) 
   return checkPrepareOver() 
end 
 
huashan.lua里面也有同样的部分,也需要改吧 
 
具体请无法大神有精力改一下吧,因为具体那些计算判断,我有点算不明白,身上白银有时候还是会很多 |   
 
 
 
 |