找回密码
 注册
搜索
楼主: xiren@tj

master修改绝情谷水潭似乎把判断都改了的,新的代码

  [复制链接]
门派:桃花岛
发表于 2017-12-31 10:21:28 | 显示全部楼层
我的老代码好像没遇到问题呢
门派:天龙寺
发表于 2017-12-31 10:27:41 | 显示全部楼层
koshill@tj 发表于 2017-12-31 10:21
我的老代码好像没遇到问题呢

我之前 也没有,今天遇到了。你观察一下   
门派:天龙寺
发表于 2017-12-31 10:28:22 | 显示全部楼层
大脸妹,这个实装OK了是吧? 我也去试试   
门派:桃花岛
发表于 2017-12-31 11:05:50 | 显示全部楼层
为什么我的在出谷的时候始终停在谷底那个地方呢?
门派:古墓派
发表于 2017-12-31 12:09:29 | 显示全部楼层
呼叫大脸妹,好像在判断负重那里还是出问题了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
门派:古墓派
发表于 2017-12-31 12:18:01 | 显示全部楼层
水潭岸边 - north
  昆仑三圣座前弟子「美女在绝情谷大室」大理过客(Bumie)
> 你弯下腰,从地上捡起了一块小石头。
> 你扑通一声,涌身跳入了水潭。
水潭表面
> 由于重力不够,你无法继续下潜!
> 你把 "action" 设定为 "正在定位" 成功完成。
> 设定环境变量:look = "YES"
> 【你现在正处于绝情谷】

                             水潭表面
水潭表面 -
    你双手划水,漂浮在一片水面上面。你只觉阳光耀眼,水面上花香扑鼻,
竟是别有天地。
  这是一个隆冬的夜晚,夜幕笼罩著大地,万物在洁白的厚雪下沉沉睡去。
    这里没有任何明显的出路。
> 你身上携带物品的别称如下(右方):
1: 小石头 = xiao shitou, xiao, shitou, stone
2: 小石头 = xiao shitou, xiao, shitou, stone
3: 小石头 = xiao shitou, xiao, shitou, stone
4: 大石块 = da shikuai, da, shikuai, stone
5: 大石块 = da shikuai, da, shikuai, stone
6: 小石头 = xiao shitou, xiao, shitou, stone
7: 鹅卵石 = e luanshi, e, luanshi, stone
8: 鹅卵石 = e luanshi, e, luanshi, stone
9: 小石头 = xiao shitou, xiao, shitou, stone
10: 小石头 = xiao shitou, xiao, shitou, stone
11: 大石块 = da shikuai, da, shikuai, stone
12: 鹅卵石 = e luanshi, e, luanshi, stone
13: 小石头 = xiao shitou, xiao, shitou, stone
14: 鹅卵石 = e luanshi, e, luanshi, stone
15: 鹅卵石 = e luanshi, e, luanshi, stone
16: 鹅卵石 = e luanshi, e, luanshi, stone
17: 大石块 = da shikuai, da, shikuai, stone
18: 大石块 = da shikuai, da, shikuai, stone
19: 大石块 = da shikuai, da, shikuai, stone
20: 鹅卵石 = e luanshi, e, luanshi, stone
21: 鹅卵石 = e luanshi, e, luanshi, stone
22: 小石头 = xiao shitou, xiao, shitou, stone
23: 鹅卵石 = e luanshi, e, luanshi, stone
24: 鹅卵石 = e luanshi, e, luanshi, stone
25: 鹅卵石 = e luanshi, e, luanshi, stone
26: 小石头 = xiao shitou, xiao, shitou, stone
27: 大石块 = da shikuai, da, shikuai, stone
28: 小石头 = xiao shitou, xiao, shitou, stone
29: 大石块 = da shikuai, da, shikuai, stone
30: 失落的信笺 = letter, xin, lose letter
31: 白银 = silver, silver_money
32: 粗绳子 = cu shengzi, shengzi
33: 黄金 = gold, gold_money
34: 背囊 = bei Nang, nang, bag
35: 布履 = shoes
36: 劲装 = cloth
37: 龙泉剑 = longquan sword, longquan, jian, sword
38: 三才乾坤刀 = qiankun blade, qiankun, dao, blade
39: 贵宾卡 = VIP Card, card
40: 白金指环 = ring
41: 龙凤玉佩 = jade
42: 翡翠玉镯 = bangle
43: 黄金头饰 = headgear
44: 紫晶项链 = necklace
45: 铜钱 = coin, coins, coin_money
> 你身上带着四十五件东西(负重 70.28%):
  十八两白银(Silver)
  十八锭黄金(Gold)
  五文铜钱(Coin)
□背囊(Bei Nang)
□布履(Shoes)
□劲装(Cloth)
□龙泉剑(Longquan sword)
□贵宾卡(VIP Card)
□白金指环(Ring)
□龙凤玉佩(Jade)
□翡翠玉镯(Bangle)
□黄金头饰(Headgear)
□紫晶项链(Necklace)
  一条粗绳子(Cu shengzi)
  一封失落的信笺(Letter)
  八块大石块(Da shikuai)
  十块小石头(Xiao shitou)
  一柄三才乾坤刀(Qiankun blade)
  十一块鹅卵石(E luanshi)
> 你的背囊里有:
  五颗活血疗精丹(Huoxue dan)
  十九颗蝉蜕金疮药(Chantui yao)
  六颗川贝内息丸(Chuanbei wan)
  一颗大还丹(Dahuan dan)
  七万二千七百七十八块铁矿石(Tiekuang shi)        【零级】
  一千九百四十九块精铁魄(Jingtie po)              【一级】
> 你目前已经拥有了二件私有装备:三才乾坤刀,龙泉剑。
> 你把 "action" 设定为 "检查包裹" 成功完成。
> 你现在不忙。
> 你往水潭岸边爬了上去。
水潭岸边 - north
  昆仑三圣座前弟子「美女在绝情谷大室」大理过客(Bumie)
> 你弯下腰,从地上捡起了一块大石块。
> 你扑通一声,涌身跳入了水潭。
水潭表面
> 你一个猛栽,潜了下去。
水底通道
你只觉得头晕晕的,身体浸在冰冷的水中,不住的颤抖。
> 你把 "action" 设定为 "正在定位" 成功完成。
> 设定环境变量:look = "YES"
> 【你现在正处于绝情谷】

                             水底通道
水底通道 -
    你屏气凝神,潜伏在水底中的一条斜向上的通道之中。阳光从头顶水面上
直照下来,水中温度和旭温暖,四下里水草丛生,周围数条不知名的白鱼缓缓
不知道哪里水底通道 不知道哪里 水底通道
游动。身体下面的水中却有阵阵寒气传上来。
水底通道水底通道
  这是一个隆冬的夜晚,夜幕笼罩著大地,万物在洁白的厚雪下沉沉睡去。
    这里没有任何明显的出路。
> 你身上携带物品的别称如下(右方):
1: 大石块 = da shikuai, da, shikuai, stone
2: 小石头 = xiao shitou, xiao, shitou, stone
3: 小石头 = xiao shitou, xiao, shitou, stone
4: 小石头 = xiao shitou, xiao, shitou, stone
5: 大石块 = da shikuai, da, shikuai, stone
6: 大石块 = da shikuai, da, shikuai, stone
7: 小石头 = xiao shitou, xiao, shitou, stone
8: 鹅卵石 = e luanshi, e, luanshi, stone
9: 鹅卵石 = e luanshi, e, luanshi, stone
10: 小石头 = xiao shitou, xiao, shitou, stone
11: 小石头 = xiao shitou, xiao, shitou, stone
12: 大石块 = da shikuai, da, shikuai, stone
13: 鹅卵石 = e luanshi, e, luanshi, stone
14: 小石头 = xiao shitou, xiao, shitou, stone
15: 鹅卵石 = e luanshi, e, luanshi, stone
16: 鹅卵石 = e luanshi, e, luanshi, stone
17: 鹅卵石 = e luanshi, e, luanshi, stone
18: 大石块 = da shikuai, da, shikuai, stone
19: 大石块 = da shikuai, da, shikuai, stone
20: 大石块 = da shikuai, da, shikuai, stone
21: 鹅卵石 = e luanshi, e, luanshi, stone
22: 鹅卵石 = e luanshi, e, luanshi, stone
23: 小石头 = xiao shitou, xiao, shitou, stone
24: 鹅卵石 = e luanshi, e, luanshi, stone
25: 鹅卵石 = e luanshi, e, luanshi, stone
26: 鹅卵石 = e luanshi, e, luanshi, stone
27: 小石头 = xiao shitou, xiao, shitou, stone
28: 大石块 = da shikuai, da, shikuai, stone
29: 小石头 = xiao shitou, xiao, shitou, stone
30: 大石块 = da shikuai, da, shikuai, stone
31: 失落的信笺 = letter, xin, lose letter
32: 白银 = silver, silver_money
33: 粗绳子 = cu shengzi, shengzi
34: 黄金 = gold, gold_money
35: 背囊 = bei Nang, nang, bag
36: 布履 = shoes
37: 劲装 = cloth
38: 龙泉剑 = longquan sword, longquan, jian, sword
39: 三才乾坤刀 = qiankun blade, qiankun, dao, blade
40: 贵宾卡 = VIP Card, card
41: 白金指环 = ring
42: 龙凤玉佩 = jade
43: 翡翠玉镯 = bangle
44: 黄金头饰 = headgear
45: 紫晶项链 = necklace
46: 铜钱 = coin, coins, coin_money
> 你身上带着四十六件东西(负重 74.77%):
  十八两白银(Silver)
  十八锭黄金(Gold)
  五文铜钱(Coin)
□背囊(Bei Nang)
□布履(Shoes)
□劲装(Cloth)
□龙泉剑(Longquan sword)
□贵宾卡(VIP Card)
□白金指环(Ring)
□龙凤玉佩(Jade)
□翡翠玉镯(Bangle)
□黄金头饰(Headgear)
□紫晶项链(Necklace)
  一条粗绳子(Cu shengzi)
  一封失落的信笺(Letter)
  九块大石块(Da shikuai)
  十块小石头(Xiao shitou)
  一柄三才乾坤刀(Qiankun blade)
  十一块鹅卵石(E luanshi)
> 你的背囊里有:
  五颗活血疗精丹(Huoxue dan)
  十九颗蝉蜕金疮药(Chantui yao)
  六颗川贝内息丸(Chuanbei wan)
  一颗大还丹(Dahuan dan)
  七万二千七百七十八块铁矿石(Tiekuang shi)        【零级】
  一千九百四十九块精铁魄(Jingtie po)              【一级】
> 你目前已经拥有了二件私有装备:三才乾坤刀,龙泉剑。
> 你把 "action" 设定为 "检查包裹" 成功完成。
> Ok.
> Ok.
> 【谣言】某人:语嫣风被虞吉砸死了。
你一个猛栽,潜了下去。
谷底水潭
你只觉得头晕晕的,身体浸在冰冷的水中,不住的颤抖。
> 你把 "action" 设定为 "正在定位" 成功完成。
> 设定环境变量:look = "YES"
> 【你现在正处于绝情谷】

                             谷底水潭
谷底水潭 -
    你历尽坚辛,终于到达了水潭底部,水潭四周层层叠叠的都是万年玄冰。
你头顶左上方(zuoshang)隐约透着光亮。水中寒气逼人,阵阵刺骨冰气使你感
觉就象刀刮一样的疼痛,此处看来不可多呆,还是赶快离开吧。
谷底水潭谷底水潭
  这是一个隆冬的夜晚,夜幕笼罩著大地,万物在洁白的厚雪下沉沉睡去。
    这里没有任何明显的出路。
> 你身上携带物品的别称如下(右方):
1: 大石块 = da shikuai, da, shikuai, stone
2: 小石头 = xiao shitou, xiao, shitou, stone
3: 小石头 = xiao shitou, xiao, shitou, stone
4: 小石头 = xiao shitou, xiao, shitou, stone
5: 大石块 = da shikuai, da, shikuai, stone
6: 大石块 = da shikuai, da, shikuai, stone
7: 小石头 = xiao shitou, xiao, shitou, stone
8: 鹅卵石 = e luanshi, e, luanshi, stone
9: 鹅卵石 = e luanshi, e, luanshi, stone
10: 小石头 = xiao shitou, xiao, shitou, stone
11: 小石头 = xiao shitou, xiao, shitou, stone
12: 大石块 = da shikuai, da, shikuai, stone
13: 鹅卵石 = e luanshi, e, luanshi, stone
14: 小石头 = xiao shitou, xiao, shitou, stone
15: 鹅卵石 = e luanshi, e, luanshi, stone
16: 鹅卵石 = e luanshi, e, luanshi, stone
17: 鹅卵石 = e luanshi, e, luanshi, stone
18: 大石块 = da shikuai, da, shikuai, stone
19: 大石块 = da shikuai, da, shikuai, stone
20: 大石块 = da shikuai, da, shikuai, stone
21: 鹅卵石 = e luanshi, e, luanshi, stone
22: 鹅卵石 = e luanshi, e, luanshi, stone
23: 小石头 = xiao shitou, xiao, shitou, stone
24: 鹅卵石 = e luanshi, e, luanshi, stone
25: 鹅卵石 = e luanshi, e, luanshi, stone
26: 鹅卵石 = e luanshi, e, luanshi, stone
27: 小石头 = xiao shitou, xiao, shitou, stone
28: 大石块 = da shikuai, da, shikuai, stone
29: 小石头 = xiao shitou, xiao, shitou, stone
30: 大石块 = da shikuai, da, shikuai, stone
31: 失落的信笺 = letter, xin, lose letter
32: 白银 = silver, silver_money
33: 粗绳子 = cu shengzi, shengzi
34: 黄金 = gold, gold_money
35: 背囊 = bei Nang, nang, bag
36: 布履 = shoes
37: 劲装 = cloth
38: 龙泉剑 = longquan sword, longquan, jian, sword
39: 三才乾坤刀 = qiankun blade, qiankun, dao, blade
40: 贵宾卡 = VIP Card, card
41: 白金指环 = ring
42: 龙凤玉佩 = jade
43: 翡翠玉镯 = bangle
44: 黄金头饰 = headgear
45: 紫晶项链 = necklace
46: 铜钱 = coin, coins, coin_money
> 你身上带着四十六件东西(负重 74.77%):
  十八两白银(Silver)
  十八锭黄金(Gold)
  五文铜钱(Coin)
□背囊(Bei Nang)
□布履(Shoes)
□劲装(Cloth)
□龙泉剑(Longquan sword)
□贵宾卡(VIP Card)
□白金指环(Ring)
□龙凤玉佩(Jade)
□翡翠玉镯(Bangle)
□黄金头饰(Headgear)
□紫晶项链(Necklace)
  一条粗绳子(Cu shengzi)
  一封失落的信笺(Letter)
  九块大石块(Da shikuai)
  十块小石头(Xiao shitou)
  一柄三才乾坤刀(Qiankun blade)
  十一块鹅卵石(E luanshi)
> 你的背囊里有:
  五颗活血疗精丹(Huoxue dan)
  十九颗蝉蜕金疮药(Chantui yao)
  六颗川贝内息丸(Chuanbei wan)
  一颗大还丹(Dahuan dan)
  七万二千七百七十八块铁矿石(Tiekuang shi)        【零级】
  一千九百四十九块精铁魄(Jingtie po)              【一级】
> 你目前已经拥有了二件私有装备:三才乾坤刀,龙泉剑。
> 你把 "action" 设定为 "检查包裹" 成功完成。
> Ok.
> 你丢下一块大石块。
因为这样东西并不值钱,所以人们并不会注意到它的存在。
> 你丢下一块小石头。
因为这样东西并不值钱,所以人们并不会注意到它的存在。
> 你丢下一块小石头。
因为这样东西并不值钱,所以人们并不会注意到它的存在。
> 你丢下一块小石头。
因为这样东西并不值钱,所以人们并不会注意到它的存在。
> 你丢下一块大石块。
因为这样东西并不值钱,所以人们并不会注意到它的存在。
> 你丢下一块大石块。
因为这样东西并不值钱,所以人们并不会注意到它的存在。
> 你丢下一块小石头。
因为这样东西并不值钱,所以人们并不会注意到它的存在。
> 你丢下一块鹅卵石。
因为这样东西并不值钱,所以人们并不会注意到它的存在。
> 你丢下一块鹅卵石。
因为这样东西并不值钱,所以人们并不会注意到它的存在。
> 你丢下一块小石头。
因为这样东西并不值钱,所以人们并不会注意到它的存在。
> 你身上携带物品的别称如下(右方):
1: 小石头 = xiao shitou, xiao, shitou, stone
2: 大石块 = da shikuai, da, shikuai, stone
3: 鹅卵石 = e luanshi, e, luanshi, stone
4: 小石头 = xiao shitou, xiao, shitou, stone
5: 鹅卵石 = e luanshi, e, luanshi, stone
6: 鹅卵石 = e luanshi, e, luanshi, stone
7: 鹅卵石 = e luanshi, e, luanshi, stone
8: 大石块 = da shikuai, da, shikuai, stone
9: 大石块 = da shikuai, da, shikuai, stone
10: 大石块 = da shikuai, da, shikuai, stone
11: 鹅卵石 = e luanshi, e, luanshi, stone
12: 鹅卵石 = e luanshi, e, luanshi, stone
13: 小石头 = xiao shitou, xiao, shitou, stone
14: 鹅卵石 = e luanshi, e, luanshi, stone
15: 鹅卵石 = e luanshi, e, luanshi, stone
16: 鹅卵石 = e luanshi, e, luanshi, stone
17: 小石头 = xiao shitou, xiao, shitou, stone
18: 大石块 = da shikuai, da, shikuai, stone
19: 小石头 = xiao shitou, xiao, shitou, stone
20: 大石块 = da shikuai, da, shikuai, stone
21: 失落的信笺 = letter, xin, lose letter
22: 白银 = silver, silver_money
23: 粗绳子 = cu shengzi, shengzi
24: 黄金 = gold, gold_money
25: 背囊 = bei Nang, nang, bag
26: 布履 = shoes
27: 劲装 = cloth
28: 龙泉剑 = longquan sword, longquan, jian, sword
29: 三才乾坤刀 = qiankun blade, qiankun, dao, blade
30: 贵宾卡 = VIP Card, card
31: 白金指环 = ring
32: 龙凤玉佩 = jade
33: 翡翠玉镯 = bangle
34: 黄金头饰 = headgear
35: 紫晶项链 = necklace
36: 铜钱 = coin, coins, coin_money
> 你身上带着三十六件东西(负重 53.99%):
  十八两白银(Silver)
  十八锭黄金(Gold)
  五文铜钱(Coin)
□背囊(Bei Nang)
□布履(Shoes)
□劲装(Cloth)
□龙泉剑(Longquan sword)
□贵宾卡(VIP Card)
□白金指环(Ring)
□龙凤玉佩(Jade)
□翡翠玉镯(Bangle)
□黄金头饰(Headgear)
□紫晶项链(Necklace)
  一条粗绳子(Cu shengzi)
  一封失落的信笺(Letter)
  六块大石块(Da shikuai)
  五块小石头(Xiao shitou)
  一柄三才乾坤刀(Qiankun blade)
  九块鹅卵石(E luanshi)
> 你的背囊里有:
  五颗活血疗精丹(Huoxue dan)
  十九颗蝉蜕金疮药(Chantui yao)
  六颗川贝内息丸(Chuanbei wan)
  一颗大还丹(Dahuan dan)
  七万二千七百七十八块铁矿石(Tiekuang shi)        【零级】
  一千九百四十九块精铁魄(Jingtie po)              【一级】
> 你目前已经拥有了二件私有装备:三才乾坤刀,龙泉剑。
> 你把 "action" 设定为 "检查包裹" 成功完成。
> 你身子沉重,用尽全力也无法潜回上面!
> 你身子沉重,用尽全力也无法潜回上面!
> 你身子沉重,用尽全力也无法潜回上面!
> 你身子沉重,用尽全力也无法潜回上面!
门派:明教
 楼主| 发表于 2017-12-31 13:25:24 | 显示全部楼层
zxxz@tj 发表于 2017-12-31 12:18
水潭岸边 - north
  昆仑三圣座前弟子「美女在绝情谷大室」大理过客(Bumie)
> 你弯下腰,从地上捡起了一 ...

我觉得你这个问题应该是mush版本不一样导致的数字转换trans函数的问题
我印象中mush有几个版本的trans
门派:明教
 楼主| 发表于 2017-12-31 13:27:29 | 显示全部楼层
function Togudi()       
    exe('cuo shupi;cuo shupi;cuo shupi;cuo shupi;cuo shupi;cuo shupi;cuo shupi;cuo shupi;cuo shupi;bang song;pa down')
    fastLocate()
    return check_busy(Goyadi,1)
end
function Goyadi()
    if string.find(locl.room,'谷底') then
                return walk_wait()
        elseif string.find(locl.room,'崖壁') then               
               exe("pa down")
            fastLocate()
                return check_busy(Goyadi,1)
        end
end
function Toqiaobi()
    exe('pa yabi')
    fastLocate()
    return check_busy(Goqiaobi,1)
end
function Goqiaobi()
    if string.find(locl.room,'峭壁') then
                return walk_wait()
    elseif string.find(locl.room,'崖壁') then
            exe("pa up")
            fastLocate()
                return check_busy(Goqiaobi,1)
        end
end
function jqg_checkencb(job)
        if job then
                tmp.jqgjob = job
                return checkBags(jqg_checkencb2)
        end
end
function jqg_checkencb2()
        if tmp.jqgjob then
                check_busy(tmp.jqgjob,0.5)
        end
end
function Totanan()
    DeleteTriggerGroup("qqs")
    create_trigger_t('qqs1','^>*\\s*你要往哪里潜?$','','qQydok')
    create_trigger_t('qqs2','^>*\\s*由于重力不够,你无法继续下潜!$','','qQyderorr')
    SetTriggerOption("qqs1","group","qqs")
    SetTriggerOption("qqs2","group","qqs")
    EnableTriggerGroup("qqs",true)   
        exe('#10(jian shi)')
        return jqg_checkencb(totanan_checkencumbrance)
end
function totanan_checkencumbrance()
        if Bag["ENCB"].value and Bag["ENCB"].value > 100 then
                exe('#5(drop stone)')               
                jqg_checkencb(totanan_checkencumbrance)
        elseif Bag["ENCB"].value > 50 then
                exe('tiao tan')
                return create_timer_s('gotanan',1,'qQianshui')
        else
                exe('#5(jian shi)')
                return jqg_checkencb(totanan_checkencumbrance)
        end
end
function qQianshui()
    exe('qian down')
end
function qQyderorr()
        EnableTriggerGroup("qqs",false)         
        check_halt(qQyderorrgetstone)
end
function qQyderorrgetstone()
        exe('pa up;jian shi;tiao tan')
        EnableTriggerGroup("qqs",true)  
        create_timer_s('gotanan',1,'qQianshui')
end
function qQydok()
    DeleteTriggerGroup("qqs")
    DeleteTimer('gotanan')       
        checkBags(qQyd_dropstone)       
        --return check_busy(qQyd_dropstone)       
end

function qQyd_dropstone()
        if not Bag["ENCB"] or not Bag["ENCB"].value then
                exe('#25(drop stone)')
        else
                if Bag['大石块'] and Bag['大石块'].cnt then
                        exe('#' .. Bag['大石块'].cnt .. '(drop da shikuai)')               
                end
                if Bag['鹅卵石'] and Bag['鹅卵石'].cnt then
                        exe('#' .. Bag['鹅卵石'].cnt .. '(drop e luanshi)')               
                end
                if Bag['小石头'] and Bag['小石头'].cnt then
                        exe('#' .. Bag['小石头'].cnt .. '(drop xiao shitou)')               
                end       
        end
        return jqg_checkencb(totanan_check_qqup_encumbrance)       
end
function totanan_check_qqup_encumbrance()
        if Bag["ENCB"].value and Bag["ENCB"].value < 40 then               
                exe('qian zuoshang')
                return check_busy(qQup,1)
        else
                exe('#5(drop stone)')
                return jqg_checkencb(totanan_check_qqup_encumbrance)               
        end
end
function qQup()
    exe("qian up")
    return check_busy(qQsover,1)
end
function qQsover()
    exe("pa up")
    exe("#5(drop stone)")
        return walk_wait()
end
function Hgudi()   
        exe("#10(jian shi)")       
        return jqg_checkencb(Hgudi_checkencumbrance)
end
function Hgudi_checkencumbrance()
        if Bag["ENCB"].value and Bag["ENCB"].value > 100 then
                exe('#5(drop stone)')                       
                return jqg_checkencb(Hgudi_checkencumbrance)
        elseif Bag["ENCB"].value > 50 then
                exe('tiao tan')
                fastLocate()
                return jqg_checkencb(Hyadi)
        else
                exe('#5(jian shi)')       
                return jqg_checkencb(Hgudi_checkencumbrance)       
        end
end

function Hyadi()
    if string.find(locl.room,'谷底水潭') then
                if not Bag["ENCB"] or not Bag["ENCB"].value then
                        exe('#10(drop stone)')
                end
                if Bag['大石块'] and Bag['大石块'].cnt then
                        exe('#' .. Bag['大石块'].cnt .. '(drop da shikuai)')               
                end
                if Bag['鹅卵石'] and Bag['鹅卵石'].cnt then
                        exe('#' .. Bag['鹅卵石'].cnt .. '(drop e luanshi)')               
                end
                if Bag['小石头'] and Bag['小石头'].cnt then
                        exe('#' .. Bag['小石头'].cnt .. '(drop xiao shitou)')               
                end
                checkBags()
                exe('qian up')               
                DeleteTriggerGroup("qqs")
                create_trigger_t('qqs1','^>*\\s*你要往哪里潜?$','','hhqok')
                create_trigger_t('qqs2','^>*\\s*你身子沉重,用尽全力也无法潜回上面!$','','hhqcantup')               
                SetTriggerOption("qqs1","group","qqs")
                SetTriggerOption("qqs2","group","qqs")
                EnableTriggerGroup("qqs",true)
                create_timer_s('hyadi',1,'hQianshui')
    elseif string.find(locl.room,'水底通道') or string.find(locl.room,'水潭表面') then
                exe('qian down')
                DeleteTriggerGroup("qqs")
                create_trigger_t('qqs1','^>*\\s*你要往哪里潜?$','','hhqok')
                create_trigger_t('qqs2','^>*\\s*由于重力不够,你无法继续下潜!$','','hQyderror')
                SetTriggerOption("qqs1","group","qqs")
                SetTriggerOption("qqs2","group","qqs")
                EnableTriggerGroup("qqs",true)
                fastLocate()
                return jqg_checkencb(Hyadi)       
    end
end
function hhqcantup()
        exe('#10(drop stone)')
end
function hQyderror()
        EnableTriggerGroup("qqs",false)  
        check_halt(hQyderrorgetstone)       
end
function hQyderrorgetstone()
        exe('pa up;jian shi;tiao tan')
        create_timer_s('hyadi',1,'Hyadi')
end
function hQianshui()       
    exe('qian up')
end
function hhqok()
    DeleteTriggerGroup("hqs")
    DeleteTimer('hyadi')
    return check_halt(hhqok2)
end
function hhqok2()
        exe('pa up')
        return walk_wait()
end
门派:明教
 楼主| 发表于 2017-12-31 13:28:08 | 显示全部楼层
ggww@tj 发表于 2017-12-31 11:05
为什么我的在出谷的时候始终停在谷底那个地方呢?

用18楼的,应该已经修复
门派:姑苏慕容
发表于 2017-12-31 15:52:50 | 显示全部楼层
感谢大脸妹更新 为你点赞
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-8-7 09:20 , Processed in 0.038528 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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