|
楼主 |
发表于 2013-4-30 01:55:51
|
显示全部楼层
这里要特别感谢八楼的兄弟提供一个新的思路,根据八楼兄弟的思路,我又修改了这个机器人的相关语句,不足之处,请各位大大批评指正:
说明:在武当guxu、yu、zhang三位师傅任一位置,输入学习的语句,如xue guxu for literate 1就可以了。再次提示,本贴不提示技术支持,仅交流使用。
内容如下:
#CLASS {zweni|skills|xue}
#ALIAS goslz {#wa 2000;s;w;w;e;e;s;s;s;e;e;#wa 2000;drink tea;#wa 2000}
#ALIAS goslg {#wa 2000;e;e;drink tea;#wa 2000}
#ALIAS gostudyz {#wa 500;w;w;n;n;n;w;w;w;sw;s;se;e;ne;n;nw;sw;s;e;open door;n}
#ALIAS gostudyy {#wa 500;w;w;n;n}
#ALIAS gostudyg {#wa 500;w;w}
#ALIAS gosly {#wa 2000;s;s;e;e;drink tea;#wa 2000}
#ALIAS mystudy {#var num %min(@maxjingsheng/20,50);xue @master for %word(@lessonList,@lessonNum,|) @num}
#VAR lessonlist {taiji-shengong|taiji-quan|taiji-jian|tiyunzong|xuanxu-dao|taiji-zhao|literate}
#VAR lessonnum {4}
#TRIGGER {^????你的~「(*)~」进步了!} {sk1=%1;sk}
#TRIGGER {^????练太极*必须空手。} {unwi;mystudy}
#TRIGGER {*@sk1%s~(*~)%s-%s*%s(%d)/} {lvl=%1}
#TRIGGER {^????你已经很累了,歇歇再读吧,身体要紧} {#wa 200;yun regenerate}
#TRIGGER {^????你刚在三分钟内睡过一觉, 多睡对身体有害无益} {#wa 3000;drink tea;#wa 3000;sl}
#TRIGGER {^????你略一凝神,精神看起来好多了} {#wa 300;mystudy}
#TRIGGER {^????你一觉醒来,精神抖擞地活动了几下手脚} {#wa 500;#if (@master=zhang) {gostudyz;mystudy} {#if (@master=yu) {gostudyy;mystudy} {gosstudyg;mystudy}}}
#TRIGGER {^????你的内力不够} {#if (@master=zhang) {goslz;sl} {#if (@master=yu) {gosly;sl} {goslg;sl}}}
#TRIGGER {^????你的精力修为已经达到了瓶颈,精力最大值为基本内功技能的15倍。} {#wa 5000;#t- xue;#t+ dazuo;#if (@master=zhang) {goslz;sl} {#if (@master=yin) {gosly;sl} {goslg;sl}}}
#TRIGGER {^??????你向(*)请教*次有关~「(*)~」的疑问。11} {#wa 1000;#if (%1=张三丰) {#wa 300;#if (@num=零) {yun regenerate} {master=zhang;#if (%2=太极神功) {sk2=taiji-shengong;#wa 300;xue @master for @sk2 @num} {#if (%2=太极拳) {sk2=taiji-quan;#wa 300;xue @master for @sk2 @num} {#if (%2=太极爪) {sk2=taiji-zhao;#wa 300;xue @master for @sk2 @num} {#if (%2=梯云纵) {sk2=tiyunzong;#wa 300;xue @master for @sk2 @num} {#if (%2=玄虚刀法) {sk2=xuanxu-dao;#wa 300;xue @master for @sk2 @num} {#if (%2=太极剑法) {sk2=taiji-jian;#wa 300;xue @master for @sk2 @num} {#if (%2=读书写字) {sk2=literate;#wa 300;xue @master for @sk2 @num}}}}}}}}} {#if (%1=俞莲舟) {#wa 300;#if (@num=零) {yun regenerate} {master=yin;#if (%2=太极神功) {sk2=taiji-shengong;#wa 300;xue @master for @sk2 @num} {#if (%2=太极拳) {sk2=taiji-quan;#wa 300;xue @master for @sk2 @num} {#if (%2=太极爪) {sk2=taiji-zhao;#wa 300;xue @master for @sk2 @num} {#if (%2=梯云纵) {sk2=tiyunzong;#wa 300;xue @master for @sk2 @num} {#if (%2=玄虚刀法) {sk2=xuanxu-dao;#wa 300;xue @master for @sk2 @num} {#if (%2=太极剑法) {sk2=taiji-jian;#wa 300;xue @master for @sk2 @num}}}}}}}}} {#if (%1=谷虚道长) {#wa 300;#if (@num=零) {yun regenerate} {master=guxu;#if (%2=太极神功) {sk2=taiji-shengong;#wa 300;xue @master for @sk2 @num} {#if (%2=太极拳) {sk2=taiji-quan;#wa 300;xue @master for @sk2 @num} {#if (%2=太极爪) {sk2=taiji-zhao;#wa 300;xue @master for @sk2 @num} {#if (%2=梯云纵) {sk2=tiyunzong;#wa 300;xue @master for @sk2 @num} {#if (%2=玄虚刀法) {sk2=xuanxu-dao;#wa 300;xue @master for @sk2 @num} {#if (%2=太极剑法) {sk2=taiji-jian;#wa 300;xue @master for @sk2 @num}}}}}}}}}}
#TRIGGER {^??????你向(*)请教*次有关~「(*)~」的疑问。} {#wa 1000;#if (%1=张三丰) {master=zhang} {#if (%1=俞莲舟) {master=yu} {master=guxu}};#if (%2=太极神功) {lessonnum=1} {#if (%2=太极拳) {lessonnum=2} {#if (太极剑法) {lessonnum=3} {#if (%3=梯云纵) {lessonnum=4} {#if (%3=玄虚刀法) {lessonnum=4} {#if (%3=太极爪) {lessonnum=5} {#if (%3=读书写字) {lessonnum=6}}}}}}};#if (@lvl>50) {#add lessonnum 1};#if (@num1=零) {yunj} {mystudy}}
#TRIGGER {^??????你共请教了(*)次} {num1=%1}
#CLASS 0 |
|