Skip to content

Commit e42e726

Browse files
committed
update
1 parent ae3abe8 commit e42e726

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

script/config.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ preperskill["dodge"]={}
3535
preperskill["dodge"]["蛇行狸翻"]="yong dodge.guiyuan"
3636

3737

38-
cmd_limit=20
38+
cmd_limit=30
3939
--每秒多少命令
4040
maxstep=15
4141
--多步走的最大步数,0为不多步
42-
stepmaxstep=8
42+
stepmaxstep=6
4343
--多步搜索的最大步数,0为不多步
4444

4545
walkecho=fale

script/mods/weapon.mod

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff 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
5753
end
5854

5955
weapon2=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
7971
end
8072

0 commit comments

Comments
 (0)