找回密码
 注册
搜索
查看: 1800|回复: 33

中铁掌内伤的解决办法

[复制链接]
门派:少林派
发表于 2020-4-30 13:13:12 | 显示全部楼层 |阅读模式
目前铁掌内伤确实厉害,一不小心就挂了。在此加上百花丸的购买和服用。
shujian.lua
bhy_cur=0
count={}
count.bhy_max=5
drugBuy ={
["百花丸"] = "city/dangpu",

function hp_trigger()
create_trigger_t('hp20',"^(> )*你(服下一颗活血疗精丹,顿时感觉精血不再流失|服下一颗内息丸,顿时觉得内力充沛了不少|服下一颗川贝内息丸,顿时感觉内力充沛|服下一颗黄芪内息丹,顿时感觉空虚的丹田充盈了不少|吃下一颗百花丸|敷上一副蝉蜕金疮药,顿时感觉伤势好了不少|吃下一颗大还丹顿时伤势痊愈气血充盈)。",'','hpeatOver')
create_trigger_t('hp35',"^>*\\s*你只觉得胸腹犹如火焚,而四肢冰凉。",'','jiedu_bhy')
SetTriggerOption("hp35","group","hp")

function hpeatOver(n,l,w)
if string.find(l,"吃下一颗百花丸") then
           messageShow('吃百花丸了!')
           bhy_cur = bhy_cur - 1
end

function checkPrepare()
if score.tb and score.tb>100 and bhy_cur<1 and drugPrepare["百花丸"] then
       return checkbhy()
    end

function checkBY()
if string.find(l_name,"百花丸") then
           bhy_cur = trans(Beinang)
        end
       
function checkbhy()
   tmp.cnt=0
   if score.tb and score.tb>100 and bhy_cur<count.bhy_max then
      return go(checkbhyBuy,randomElement(drugBuy["百花丸"]))
   else
      return checkNxwOver()
   end
end

function checkbhyBuy()
   tmp.cnt = tmp.cnt + 1
   if tmp.cnt > 30 then
      return checkNxwOver()
   else
      exe('duihuan baihua wan;score')
      checkYaoBags()
      return check_halt(checkbhyBag)
   end
end
function checkbhyBag()
   if dhd_cur<count.dhd_max and score.tb and score.tb>100 then
      return checkWait(checkbhyBuy,1)
   else
      return checkNxwOver()
   end
end
function jiedu_bhy()
exe('eat baihua wan')
end
添加完毕,运行iset,把百花丸勾选上。

评分

1

查看全部评分

门派:少林派
 楼主| 发表于 2020-4-30 13:14:10 | 显示全部楼层
加个背景图看不清了,重发一次,
目前铁掌内伤确实厉害,一不小心就挂了。在此加上百花丸的购买和服用。
shujian.lua
bhy_cur=0
count={}
count.bhy_max=5
drugBuy ={
["百花丸"] = "city/dangpu",

function hp_trigger()
create_trigger_t('hp20',"^(> )*你(服下一颗活血疗精丹,顿时感觉精血不再流失|服下一颗内息丸,顿时觉得内力充沛了不少|服下一颗川贝内息丸,顿时感觉内力充沛|服下一颗黄芪内息丹,顿时感觉空虚的丹田充盈了不少|吃下一颗百花丸|敷上一副蝉蜕金疮药,顿时感觉伤势好了不少|吃下一颗大还丹顿时伤势痊愈气血充盈)。",'','hpeatOver')
create_trigger_t('hp35',"^>*\\s*你只觉得胸腹犹如火焚,而四肢冰凉。",'','jiedu_bhy')
SetTriggerOption("hp35","group","hp")

function hpeatOver(n,l,w)
if string.find(l,"吃下一颗百花丸") then
           messageShow('吃百花丸了!')
           bhy_cur = bhy_cur - 1
end

function checkPrepare()
if score.tb and score.tb>100 and bhy_cur<1 and drugPrepare["百花丸"] then
       return checkbhy()
    end

function checkBY()
if string.find(l_name,"百花丸") then
           bhy_cur = trans(Beinang[i])
        end
       
function checkbhy()
   tmp.cnt=0
   if score.tb and score.tb>100 and bhy_cur<count.bhy_max then
      return go(checkbhyBuy,randomElement(drugBuy["百花丸"]))
   else
      return checkNxwOver()
   end
end

function checkbhyBuy()
   tmp.cnt = tmp.cnt + 1
   if tmp.cnt > 30 then
      return checkNxwOver()
   else
      exe('duihuan baihua wan;score')
      checkYaoBags()
      return check_halt(checkbhyBag)
   end
end
function checkbhyBag()
   if dhd_cur<count.dhd_max and score.tb and score.tb>100 then
      return checkWait(checkbhyBuy,1)
   else
      return checkNxwOver()
   end
end
function jiedu_bhy()
exe('eat baihua wan')
end
添加完毕,运行iset,把百花丸勾选上。
门派:古墓派
发表于 2020-4-30 15:58:38 | 显示全部楼层
都开始吃百花丸了                                                     
门派:古墓派
发表于 2020-4-30 15:59:18 | 显示全部楼层
kuzi@tj 发表于 2020-4-30 15:58
都开始吃百花丸了

吃这个也太贵了                                    
门派:少林派
 楼主| 发表于 2020-4-30 15:59:51 | 显示全部楼层
有时还是要吃一个                     
门派:古墓派
发表于 2020-5-3 10:25:13 | 显示全部楼层
jjjlll@tj 发表于 2020-4-30 15:59
有时还是要吃一个

吃药就行了,吃百花丸多浪费的。                              
门派:古墓派
发表于 2020-5-3 10:25:47 | 显示全部楼层
做好触发就不会出啥问题了                                                
门派:丐帮
发表于 2020-5-5 10:11:31 | 显示全部楼层
这个内伤不处理还真会死人啊      
门派:星宿派
发表于 2020-5-5 11:44:23 | 显示全部楼层
好费通宝啊                           
门派:古墓派
发表于 2020-5-5 13:46:47 | 显示全部楼层
做个触发使劲吃药                        
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-6-19 11:01 , Processed in 0.027735 second(s), 29 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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