找回密码
 注册
搜索
查看: 557|回复: 7

Ptbx@tj公版MUSHS2018年6月28日模块更新--顾炎武

[复制链接]
门派:少林派
发表于 2019-7-30 11:16:36 | 显示全部楼层 |阅读模式
分享我的顾炎武模块,代码如下,覆盖前两条,增加第三条.先备份,不要忘记.
  1. function literateCheck()
  2.     DeleteTriggerGroup("litxuexi")
  3.     create_trigger_t('litxuexi1',"^(> )*顾炎武对着你端详了一番道:“你因经验所制,暂时无法再进修更高深的学问了。”",'','litxuexiover')
  4.     SetTriggerOption("litxuexi1","group","litxuexi")
  5.     create_trigger_t('litxuexi2',"^(> )*你要看什么?",'','literateXue')
  6.     SetTriggerOption("litxuexi2","group","litxuexi")
  7.     create_trigger_t('litxuexi3',"^(> )*顾先生名炎武,字亭林,江苏昆山人士。",'','literateXue2')
  8.     SetTriggerOption("litxuexi3","group","litxuexi")
  9.     EnableTriggerGroup("litxuexi",true)
  10.     flag.idle = nil
  11.     exe('hp;l gu 2')
  12.     --return checkWait(literateXue,0.8)
  13. end
复制代码

评分

2

查看全部评分

门派:少林派
 楼主| 发表于 2019-7-30 11:17:18 | 显示全部楼层

  1. function literateXue()
  2.    EnableTrigger("litxuexi2",false)
  3.     if not locl.id["顾炎武"] then
  4.            return literateBack()
  5.         end
  6.     if hp.neili<100 then
  7.            if cbw_cur>0 then
  8.               exe('eat '.. drug.neili)
  9.            elseif hp.exp<800000 then
  10.               return xuexi()
  11.            else
  12.           return literateBack()
  13.            end
  14.     end
  15.         if hp.neili<1000 then
  16.            exe('eat '.. drug.neili)
  17.         end
  18.     if hp.pot>master.times-1 then
  19.        --yunAddInt()
  20.        exe('yun jing;xue gu literate '..master.times)
  21.        return check_busy(literateCheck)
  22.     elseif hp.pot<master.times then
  23.        return literateBack()
  24.         else
  25.            return literateBack()
  26.     end
  27. end
复制代码
门派:少林派
 楼主| 发表于 2019-7-30 11:17:57 | 显示全部楼层
  1. function literateXue2()
  2.    EnableTrigger("litxuexi2",false)
  3.     if not locl.id["顾炎武"] then
  4.            return literateBack()
  5.         end
  6.     if hp.neili<100 then
  7.            if cbw_cur>0 then
  8.               exe('eat '.. drug.neili)
  9.            elseif hp.exp<800000 then
  10.               return xuexi()
  11.            else
  12.           return literateBack()
  13.            end
  14.     end
  15.         if hp.neili<1000 then
  16.            exe('eat '.. drug.neili)
  17.         end
  18.     if hp.pot>master.times-1 then
  19.        --yunAddInt()
  20.        exe('yun jing;#20(xue literate from gu yanwu)')
  21.        return checkWait(literateCheck,1)
  22.     elseif hp.pot<master.times then
  23.        return literateBack()
  24.         else
  25.            return literateBack()
  26.     end
  27. end
复制代码
门派:天龙寺
发表于 2019-7-30 12:23:36 | 显示全部楼层
xue literate from gu yanwu
学习了,厉害~
门派:明教
发表于 2019-7-30 12:35:17 | 显示全部楼层
血和尚还是牛逼的啊                                       
门派:桃花岛
发表于 2019-7-30 12:39:15 | 显示全部楼层
谢谢,这个来得真及时啊。
门派:武当派
发表于 2019-7-30 14:23:37 | 显示全部楼层
这个好以后不怕来个顾鬼了
门派:姑苏慕容
发表于 2019-7-30 19:19:12 | 显示全部楼层
哎今天中招了赶紧打上补丁
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-6-8 01:34 , Processed in 0.036158 second(s), 25 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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