|
发表于 2019-3-1 20:30:51
|
显示全部楼层
依葫芦画瓢,自己改成木刀什么的即可...............
- function checkBagsOver()
- draw_bagwindow()
- checkBY()
- draw_beinangwindow()
- EnableTriggerGroup("bags",false)
- DeleteTriggerGroup("bags")
- EnableTriggerGroup("beinang",false)
- DeleteTriggerGroup("beinang")
- if Bag["大碗茶"] then
- exe("drop cha")
- end
- if Bag["棉花种子"] then
- exe('drop '.. Bag["棉花种子"].fullid)
- end
- if Bag["棉花"] then
- exe('drop '.. Bag["棉花"].fullid)
- end
- if Bag["青铜"] then
- exe('drop '.. Bag["青铜"].fullid)
- end
- if Bag["生铁"] then
- exe('drop '.. Bag["生铁"].fullid)
- end
- if Bag["粗绳子"] and Bag["粗绳子"].cnt>2 then
- exe('drop cu shengzi 2')
- end
- --faint@tj增加,修正长剑过多的问题20160504
- if Bag["长剑"] and Bag["长剑"].cnt>1 then
- exe('drop changjian 2')
- end
- --faint@tj增加,修正钢刀过多的问题20160504
- if Bag["钢刀"] and Bag["钢刀"].cnt>1 then
- exe('drop blade 2')
- end
- --ooxx@tj增加,修正钢刀长剑断掉的问题20161104
- if Bag["断掉的钢刀"] then
- print('我改的丢掉断刀')
- exe('drop blade;drop blade;drop blade;get blade;get blade')
- end
- if Bag["断掉的长剑"] then
- print('我改的丢掉断剑')
- exe('drop changjian;drop changjian;drop changjian;get changjian;get changjian')
- end
- --print(cty_cur,nxw_cur,hxd_cur)
- if tmp.bags~=nil then
- return tmp.bags()
- end
- end
复制代码 |
|