|
先上脚本,附注解,有不足之处请高手指点.
========================
#CLASS {lingwu}
#ALIAS lw_skill {lingwu @lw_skill 2}
; 每次lingwu 2点,是否因此比较慢?请高人指点
#ALIAS lw {#alias (tm) {drink jiudai;eat liang;y;lw};job_name="领悟";job_mode="杖-招-掌-剑";lw_skill}
; tm是定时器每300秒触发的内容,后面就是提示类,在stat里显示给自己看
#VAR lw_skill {staff}
#VAR lx_skill {parry}
#VAR parry_skill {xianglong-zhang}
;几个用到的变量 分别是lingwu的功夫\lianxi的功夫和做parry的
#TRIGGER {你领悟了*次(*)。} {hpbrief;#wa 499;job_target=%1;name_en=@lw_skill;#if (@qixue>1500) {lian @lx_skill 30};#if (@jingshen<500) {cha;yj;drink jiudai;eat guo};lingwu @lw_skill 2}
;循环的LW动作,期间气血满脸就lian 了消耗掉不浪费
#TRIGGER {你的基本功夫比你的高级功夫还高!} {cha;#if (@lw_skill="dodge") {lw_skill=parry};#if (@lw_skill="hand") {lw_skill=dodge};#if (@lw_skill="blade") {lw_skill=hand};#if (@lw_skill="sword") {lw_skill=blade};#if (@lw_skill="strike") {lw_skill=sword};#if (@lw_skill="parry") {lw_skill=strike};#if (@lw_skill="staff") {lw_skill=parry;lx_skill=staff;parry_skill=dagou-bang;jifa parry @parry_skill};lw_skill}
;这里存在逻辑不足,能走但是本笨,不知道要怎么写更合理,ZMUD的很多命令还不会.其实生效是倒着来的.
#TRIGGER {你的内力不够。} {lian staff 50;hp;cha;sleep}
;消耗掉最后的气血后睡觉
#TRIGGER {你一觉醒来,精神抖擞地活动了几下手脚。} {dazuo 300}
;就是多点内力而已,可以多恢复几次精
#TRIGGER {你运功完毕,深深吸了口气,站了起来。} {lw_skill}
#TRIGGER {你反复练习(%x),获得了不少进步!} {job_sth=%1;job_sth_en=@parry_skill}
;就是拿一个中文名字走给自己确认练对了
#TRIGGER {练*必须空手。} {uw all}
#TRIGGER {你必须空手才能练习*} {uw all}
#TRIGGER {你要装备 blade 类武器才能*} {uw all;wi blade}
#TRIGGER {你要装备 staff 类武器才能*} {uw all;wi zhubang}
#TRIGGER {你要装备 sword 类武器才能*} {uw all;wi sword}
;一组lian时用的触发,武器不对的话,第一次会lian不成,不过每次lingwu后都会再次动作,影响一次没所谓
#TRIGGER {你需要提高基本功,不然练得再多也没有用。} {#if (@lx_skill="staff") {lx_skill=parry};#if (@parry_skill="liuhe-dao") {parry_skill="dagou-bang";uw all;wi smoke};#if (@parry_skill="shexing-shou") {parry_skill="liuhe-dao";uw all;wi blade};#if (@parry_skill="hero-jianfa") {parry_skill="shexing-shou";uw all};#if (@parry_skill="xianglong-zhang") {parry_skill=hero-jianfa;uw all;wi sword};#if (@parry_skill="dagou-bang") {parry_skill="xianglong-zhang";uw all;lw_skill=strike};jifa parry @parry_skill}
#STAT {stat} "" "st1"
#STW {角色: @myid / @mymenpai %{cr}位置: @position / @CurrentPosition%{cr}%e[1m%e[33m状态:%e[0m @exp_m.@exp_e%e[1mM%e[0m / @pot%e[0m%{cr}【食物】@food/@food_max .【饮水】@water/@water_max %{cr}【气血】@qixue/@qixue_max【精神】@jingshen/@jingshen_max %{cr}【内力】@neili/@neili_max【精力】@jingli/@jingli_max %{cr}%e[1m%e[31m叫杀: @killer【@killer_en】%e[33m%{cr}放倒:@faint_name %e[37m 清理: @dead_name %e[0m%{cr}%e[1m%e[33m任务: %e[32m @job_name / @job_mode%e[0m %{cr}目标: @job_target【@name_cn/@name_en】%{cr}对象: @job_sth【@job_sth_en】@lx_skill%{cr}%e[1m%e[31m技能: @parry_skill %e[0m%{cr}招架: %e[1m@parry_skill @lvl_parry/@lvl_parry_e%e[0m %{cr}杖法: %e[1m@lvl_staff/@lvl_staff_e%e[0m 打狗棒:%e[1m%e[33m@dg%e[0m/@dg_e%{cr}掌法: %e[1m@lvl_strik/@lvl_strik_e%e[0m 降龙掌:%e[1m%e[33m@xl%e[0m/@xl_e%{cr}剑法: %e[1m@lvl_sword/@lvl_sword_e%e[0m 英雄剑:%e[1m%e[33m@yx%e[0m/@yx_e%{cr}手法: %e[1m@lvl_hand/@lvl_hand_e%e[0m 蛇形手:%e[1m%e[33m@sx%e[0m/@sx_e%{cr}刀法: %e[1m@lvl_blade/@lvl_blade_e%e[0m 六合刀:%e[1m%e[33m@lh%e[0m/@lh_e%{cr}轻功: %e[1m@lvl_dodge/@lvl_dodge_e%e[0m 逍遥游:%e[1m%e[33m@xy%e[0m/@xy_e} "" "st1"
#CLASS 0
================================
北大侠客行MUD,中国最好的MUD |
|