|
楼主 |
发表于 2018-1-27 15:39:44
|
显示全部楼层
mush的全套机器人中有巡城,还是不错的。本版置顶的机器人都404了
因此我下载的mush全套,
http://www.sjever.net/bbs/forum. ... &extra=page%3D1
这个mush对新手颇不友好。我一开始怎么配置都通不过,后面莫名其妙就好了,这个mush经常有莫名其妙的动作。开始基本的配置原则是让你配的都配上,不明白的就乱写几个字母。
总之,mush开始巡城了!!!
然后悲剧了,刚开始内力少,学习要睡觉的,然而,看下面的代码:
function xuexiSleep()
EnableTriggerGroup("xuexi",false)
if score.party and score.party=="神龙教" then
return go(xuexiSleepOver,"神龙岛","卧室")
end
if score.party and score.party=="少林派" then
return go(xuexiSleepOver,"shaolin/sengshe3","")
end
if score.party and score.party=="桃花岛" then
if score.master and score.master=="黄药师" then
return go(xuexiSleepOver,"桃花岛","客房")
else
return go(xuexiSleepOver,"归云庄","客房")
end
end
if score.master and score.master=="杨过" then
return go(xuexiSleepOver,"gumu/jqg/wshi","")
end
if score.master and score.master=="小龙女" then
return go(xuexiSleepOver,"gumu/jqg/wshi","")
end
if score.party and score.party=="武当派" and score.gender=='女' then
return go(xuexiSleepOver,"武当山","女休息室")
end
if score.party and score.party=="武当派" and score.gender=='男' then
return go(xuexiSleepOver,"武当山","男休息室")
end
if score.party and score.party=="天龙寺" then
return go(xuexiSleepOver,"dali/wangfu/woshi2","")
end
if score.party and score.party=="姑苏慕容" then
return go(xuexiSleepOver,"姑苏慕容","厢房")
end
if score.party and score.party=="星宿派" then
return go(xxSleepcheck,"星宿海","逍遥洞")
end
if score.party and score.party=="昆仑派" then
return go(xuexiSleepOver,"昆仑山","休息室")
end
if score.party and score.party=="华山派" and score.gender=='男' then
return go(xuexiSleepOver,"华山","男休息室")
end
if score.party and score.party=="华山派" and score.gender=='女' then
return go(xuexiSleepOver,"华山","女休息室")
end
if score.party and score.party=="铁掌帮" and score.gender=='男' then
return go(xuexiSleepOver,"铁掌山","男休息室")
end
if score.party and score.party=="铁掌帮" and score.gender=='女' then
return go(xuexiSleepOver,"铁掌山","女休息室")
end
return xuexiFinish()
end
你没看错,mush中峨嵋的没睡觉。好在我够聪明,我改成了如下:
function xuexiSleep()
EnableTriggerGroup("xuexi",false)
if score.party and score.party=="峨嵋派" then
return go(xuexiSleepOver,"emei/xiuxishi2","")
end
if score.party and score.party=="神龙教" then
return go(xuexiSleepOver,"神龙岛","卧室")
end
if score.party and score.party=="少林派" then
return go(xuexiSleepOver,"shaolin/sengshe3","")
end
if score.party and score.party=="桃花岛" then
if score.master and score.master=="黄药师" then
return go(xuexiSleepOver,"桃花岛","客房")
else
return go(xuexiSleepOver,"归云庄","客房")
end
end
if score.master and score.master=="杨过" then
return go(xuexiSleepOver,"gumu/jqg/wshi","")
end
if score.master and score.master=="小龙女" then
return go(xuexiSleepOver,"gumu/jqg/wshi","")
end
if score.party and score.party=="武当派" and score.gender=='女' then
return go(xuexiSleepOver,"武当山","女休息室")
end
if score.party and score.party=="武当派" and score.gender=='男' then
return go(xuexiSleepOver,"武当山","男休息室")
end
if score.party and score.party=="天龙寺" then
return go(xuexiSleepOver,"dali/wangfu/woshi2","")
end
if score.party and score.party=="姑苏慕容" then
return go(xuexiSleepOver,"姑苏慕容","厢房")
end
if score.party and score.party=="星宿派" then
return go(xxSleepcheck,"星宿海","逍遥洞")
end
if score.party and score.party=="昆仑派" then
return go(xuexiSleepOver,"昆仑山","休息室")
end
if score.party and score.party=="华山派" and score.gender=='男' then
return go(xuexiSleepOver,"华山","男休息室")
end
if score.party and score.party=="华山派" and score.gender=='女' then
return go(xuexiSleepOver,"华山","女休息室")
end
if score.party and score.party=="铁掌帮" and score.gender=='男' then
return go(xuexiSleepOver,"铁掌山","男休息室")
end
if score.party and score.party=="铁掌帮" and score.gender=='女' then
return go(xuexiSleepOver,"铁掌山","女休息室")
end
return xuexiFinish()
end
把我们峨嵋加入了,注意: emei/xiuxishi2 是在rooms.lua中找到的地址,如果你悟性够,一看就明白,我的师傅是丁敏君,你可以改成离你师傅近的睡觉点。 |
|