|
发表于 2019-3-22 11:00:26
|
显示全部楼层
在dujiangStart和duheStart里面吧,另外,你要记得清除标志、
duCjiang_start=function()
antiFlood="duCjiang_start"
antiFldSour='duCjiang_start'
DoAfterSpecial(1.5,'return AntiFloodTimer()',12)
if string.find(locl.room,'江') then
EnableTriggerGroup("dujiang",true)
if flag.dujiang==1 then
return exe('yell boat;dujiang')
else
return dujiang_enter()
end
else
if math.random(1,10)>1 then
return go(road.act)
else
return dujiang_over()
end
end
end
duHhe_start=function()
antiFlood="duHhe_start"
antiFldSour='duHhe_start'
DoAfterSpecial(1.5,'return AntiFloodTimer()',12)
if string.find(locl.room,'渡') then
EnableTriggerGroup("duhe",true)
if flag.duhe==1 then
return exe('yell boat;duhe')
else
return duhe_enter()
end
else
if math.random(1,10)>1 then
return go(road.act)
else
return duhe_over()
end
end
end
duhe_trigger=function()
EnableTriggerGroup("prepare_neili",false)
DeleteTriggerGroup("prepare_neili")
DeleteTriggerGroup("duhe")
create_trigger_t('duhe1','^>*\\s*艄公们把踏脚板收起来','','duhe_duhe')
create_trigger_t('duhe2','^>*\\s*说着将一块踏脚板搭上堤岸,形成一个出去','','duhe_out')
create_trigger_t('duhe3','^>*\\s*(江|河)面太宽了,如果没有中途借力的地方根本没法飞越过去!','','duhe_wait')
create_trigger_t('duhe4','^>*\\s*你的精力不够了','','duhe_jingli')
create_trigger_t('duhe5','^>*\\s*你的\\D*修为不够','','duhe_cannt')
create_trigger_t('duhe6','^>*\\s*你的真气不够了!','','duhe_go_enter')
create_trigger_t('duhe7','^>*\\s*你掏了掏腰包,却发现身上带的钱不够了。','','duhe_silver')
create_trigger_t('duhe8','^>*\\s*你一提内息,看准了(河|江)中渡船位置,使出','','duhe_fly')
create_trigger_t('duhe9','^>*\\s*艄公们把踏脚板收了起来,长篙一点','','duhe_duhe')
create_trigger_t('duhe10','^>*\\s*一艘渡船缓缓地驶了过来,艄公将一块踏脚板搭上堤岸,以便乘客上下','','duhe_enter')
create_trigger_t('duhe11','^>*\\s*有船不坐,你想扮Cool啊?','','duhe_wait')
create_trigger_t('duhe12','^>*\\s*你在江中渡船上轻轻一点,又提气飞','','duhe_fly')
create_trigger_t('duhe13',"^(> )*(过了片刻,你感觉自己已经将玄天无极神功|你将寒冰真气按周天之势搬运了一周|你只觉真力运转顺畅,周身气力充沛|你将纯阳神通功运行完毕|你只觉神元归一,全身精力弥漫|你将内息走了个一个周天|你将内息游走全身,但觉全身舒畅|你将真气逼入体内,将全身聚集的蓝色气息|你将紫气在体内运行了一个周天|你运功完毕,站了起来|你一个周天行将下来,精神抖擞的站了起来|你分开双手,黑气慢慢沉下|你将内息走满一个周天,只感到全身通泰|你真气在体内运行了一个周天,冷热真气收于丹田|你真气在体内运行了一个周天,缓缓收气于丹田|你双眼微闭,缓缓将天地精华之气吸入体内|你慢慢收气,归入丹田,睁开眼睛|你将内息又运了一个小周天,缓缓导入丹田|你感觉毒素越转越快,就快要脱离你的控制了!|你将周身内息贯通经脉,缓缓睁开眼睛,站了起来|你呼翕九阳,抱一含元,缓缓睁开双眼|你吸气入丹田,真气运转渐缓,慢慢收功|你将真气在体内沿脉络运行了一圈,缓缓纳入丹田|你将内息在体内运行十二周天,返回丹田|你将内息走了个小周天,流回丹田,收功站了起来|过了片刻,你已与这大自然融合在一起,精神抖擞的站了起|你感到自己和天地融为一体,全身清爽如浴春风,忍不住舒畅的呻吟了一声,缓缓睁开了眼睛)",'','duhe_jump')
create_trigger_t('duhe14','^>*\\s*你气息不匀,暂时不能施用内功。','','duhe_jump')
create_trigger_t('duhe15','^>*\\s*你(盘膝而坐,双目紧闭,深深吸一口气引入丹田,慢慢让一股内息在周身大穴流动,渐入忘我之境。|轻轻的吸一口气,闭上眼睛,运起玉女心经,内息在脉络中开始运转。)','','duhe_noflood')
SetTriggerOption("duhe1","group","duhe")
SetTriggerOption("duhe2","group","duhe")
SetTriggerOption("duhe3","group","duhe")
SetTriggerOption("duhe4","group","duhe")
SetTriggerOption("duhe5","group","duhe")
SetTriggerOption("duhe6","group","duhe")
SetTriggerOption("duhe7","group","duhe")
SetTriggerOption("duhe8","group","duhe")
SetTriggerOption("duhe9","group","duhe")
SetTriggerOption("duhe10","group","duhe")
SetTriggerOption("duhe11","group","duhe")
SetTriggerOption("duhe12","group","duhe")
SetTriggerOption("duhe13","group","duhe")
SetTriggerOption("duhe14","group","duhe")
SetTriggerOption("duhe15","group","duhe")
EnableTriggerGroup("duhe",true)
end
dujiang_trigger里也要加上面红色的两行
最后定义
duhe_noflood=function()
antiFlood=""
--antiFldSour='duhe_noflood'
end |
|