| 
 | 
 
因为后台修改了护具属性的输出格式,导致自动打护具的功能因为识别不出属性而不能工作了。 
查了一下,自动打护具功能并没有集成在公版中。而是无法大神在机器版发了个帖子。有兴趣的人自己打补丁的。 
原帖见: 
自动打护具 by. 无法风(kkfromch@tj) 
http://www.sjever.net/bbs/forum.php?mod=viewthread&tid=240803 
 
下面是我这次的修改小办法,供参考 
一、格式 
1、老: 
老属性排列在一行,有黑括号括住,例如: 
它的功能有:【防御力+101,力量+5,控制+15,招架率+50%】 
2、新: 
新属性分在两行,例如: 
它的功能有: 
  防御力+57       身法+1          躲避率+30%     
 
二、代码 
1、老代码,见无法大神原帖,关键的函数是: 
- function dazaoSomething_check()
 
 -         create_trigger_t('dazaoArmorLog','^(> )*它的功能有:【(\\N*)】','','dazao_checkItem')
 
 -         SetTriggerOption("dazaoArmorLog","group","dazaolog")
 
 -         check_busy(dazaoSomething_check1)
 
 - end
 
  复制代码 
 
2. 新代码,就改动了这个函数,改了一句(建触发时加换行),增加了两句(设定多行触发) 
- function dazaoSomething_check()
 
 -         create_trigger_t('dazaoArmorLog','^(> )*它的功能有:\\n\\s*(\\N*)','','dazao_checkItem')
 
 -         SetTriggerOption("dazaoArmorLog","multi_line","y") --new
 
 -         SetTriggerOption("dazaoArmorLog","lines_to_match","2") --new
 
 -         SetTriggerOption("dazaoArmorLog","group","dazaolog")
 
 -         check_busy(dazaoSomething_check1)
 
 - end
 
  复制代码 
 |   
 
 
 
 |