File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,11 @@ preperskill["dodge"]={}
3535preperskill[" dodge" ][" 蛇行狸翻" ]=" yong dodge.guiyuan"
3636
3737
38- cmd_limit =20
38+ cmd_limit =30
3939--每秒多少命令
4040maxstep =15
4141--多步走的最大步数,0为不多步
42- stepmaxstep =8
42+ stepmaxstep =6
4343--多步搜索的最大步数,0为不多步
4444
4545walkecho =fale
Original file line number Diff line number Diff line change @@ -38,43 +38,35 @@ weapon1=function(wield)
3838 weaponid= GetVariable(" weapon" )
3939 if weaponid== " " or weaponid== nil then return end
4040 if wield== false then
41- if weapon1wielded~= true then return end
4241 if weapon1unwieldcmd== " " then
4342 run (" unwield " .. weaponid.. " ;remove " .. weaponid)
4443 else
4544 run(weapon1unwieldcmd.. " " .. weaponid)
4645 end
47- weapon1wielded= false
4846 else
49- if weapon1wielded~= false then return end
5047 if weapon1wieldcmd== " " then
5148 run (" wield " .. weaponid.. " ;wear " .. weaponid)
5249 else
5350 run(weapon1wieldcmd.. " " .. weaponid)
5451 end
55- weapon1wielded= true
5652 end
5753end
5854
5955weapon2= function (wield)
6056 weaponid= GetVariable(" weapon2" )
6157 if weaponid== " " or weaponid== nil then return end
6258 if wield== false then
63- if weapon2wielded~= true then return end
6459 if weapon2unwieldcmd== " " then
6560 run (" unwield " .. weaponid.. " ;remove " .. weaponid)
6661 else
6762 run(weapon2unwieldcmd.. " " .. weaponid)
6863 end
69- weapon2wielded= false
7064 else
71- if weapon2wielded~= false then return end
7265 if weapon2wieldcmd== " " then
7366 run (" wield " .. weaponid.. " ;wear " .. weaponid)
7467 else
7568 run(weapon2wieldcmd.. " " .. weaponid)
7669 end
77- weapon2wielded= true
7870 end
7971end
8072
You can’t perform that action at this time.
0 commit comments