Files
wsmud/world/skill/xiaoyao/ruyidao.js
2026-05-26 16:41:20 +08:00

66 lines
2.6 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
this.inherits(SKILL);
this.name = "如意刀";
this.id = "ruyidao";
this.grade = 1;
this.family = FAMILIES.XIAOYAO;
this.attack_actions = [
"$N一磕刀柄一招「<WHT>若往若返</WHT>」,猛地一个转身,手中$w直向$n斩去",
"$N把手中的$w一扬一招「<YEL>峰回路转</YEL>」,手中的刀一个急转,直砍向$n的$l",
"$N身形陡然滑出数尺一招「<RED>御风而行</RED>」,刀势如风,手中$w斩向$n的$l",
"$N一招「<HIW>云雾萦绕</HIW>」,身子骤然拔高数尺,手中$w一个平推向$n的$l砍去。",
"$N纵身一跃手中$w一招「<HIY>金光泻地</HIY>」轻飘飘地向$n的$l要害掠去",
"$N手中$w向外一分轻轻颤动一招「<BOLD>柳暗花明</BOLD>」反手向$n$l掠去",
"$N横刀上前身形一转手中$w使一招「<CYN>空谷秋虹</CYN>」画出一道光弧斩向$n的$l",
"$n只觉眼前一花$N一招「<HIM>紫气东来</HIM>」,$w挟呼呼风声迅猛砍向$n的$l",
"$N把$w划了一圈一招「<HIC>神光离合</HIC>」,$n只觉得全身被笼罩在一团刀气之中。",
"$N身形一转一招「<HIB>逍遥自在</HIB>」,$w刀光不定招招砍向$n的$l要害"
];
this.desc = "逍遥派刀法,如意随风,随心如意";
//"(\w+)"(.+?)"NOR"
//<$1>$2</$1>
this.can_enables = ["blade"];
this.learn_condition = {
max_mp: 500,
skill: {
xiaoyaoxinfa: 50,
blade: 50
}
};
this.query_enable_prop = function (lv) {
return {
blade: {
gj: lv * 1 + 10,
dex: parseInt(lv / 10)
}
};
}
this.pfm = {
suifeng:
{
name: "随风起舞式",
distime: 10000,
enable_skill: "blade",
weapon_type: WEAPON_TYPE.BLADE,
mp: 20,
release_time:0,
use: function (me, target, lv) {
me.send_room("<HIR>只见狂风突起,$N深吸一口气舞动【随风起舞式】四周飘起越来越多的树叶</HIR>", target);
me.add_status({
id: "blade",
name: "随风",
desc: "如意刀之随风起舞,增加自身身法和臂力",
duration:10000,
prop: {
str: parseInt(lv / 10) + 5,
dex: parseInt(lv / 10) + 5
},
finish_msg: "<cyn>$N的【随风起舞式】舞动完毕周围落叶撒满一地。</cyn>"
});
},
query_desc: function (me, lv) {
return "随风起舞10秒内增加自身身法" + (parseInt(lv / 10) + 5) + ",臂力" + (parseInt(lv / 10) + 5);
}
}
};