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

88 lines
2.8 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 = "liuyunzhang";
this.grade = 2;
this.attack_actions = [
"$N使一招「天马行空」右掌一翻向$n的$l拍去",
"$N使一招「探手截流」右手斜出劈向$n的$l",
"$N双手带风一式「风吹云散」掌力浑厚击向$n的$l",
"$N双手微抬左右齐出一招「云深雾锁」已将$n$l笼罩",
"$N双掌翻腾掌风凌厉一式「云雾缭绕」飘然不定击向$n$l",
"$N双掌拍出一式「顺流逆流」掌法一快一慢向$n的$l打去",
"$N快步向前身法陡快一招「行云流水」掌风已到$n$l",
"$N双掌下垂似是无力但又猛然加快似攻非攻一式「流水无情」使出双掌已到$n$l"
];
this.desc = "流云掌法的绝招,乃是以快速的身法及掌法连出虚招将对手困住";
//"(\w+)"(.+?)"NOR"
//<$1>$2</$1>
this.can_enables = ["unarmed"];
this.learn_condition = {
max_mp: 500,
skill: {
unarmed: 50
}
};
this.query_enable_prop = function (lv) {
return {
unarmed: {
gj: parseInt(lv * 1.2) + 5,
gjsd: 200,
mz: parseInt(lv * 1.3) + 5
}
};
}
this.slots = [
{
prop: 'lyz_sh',
value: (lv) => 10,
count: 2,
format: (val) => {
return '排山倒海附加的伤害增加10%';
}
},
{
prop: 'lyz_gs',
value: (lv) => 10,
format: (val) => {
return '排云附加的攻速提高10%';
}
},
];
this.pfm = {
chan:
{
name: "排山倒海",
distime: 18000,
enable_skill: "unarmed",
mp: 20,
use: function (me, target, lv) {
var gj = 200 + parseInt(lv / 10) + me.query_prop('lyz_sh');
if (me.do_attack({
target: target,
gj: me.gj * gj / 100,
mz: me.mz,
no_weapon: true,
attck_msg: "<hiy>$N运转真气将内力注于掌风之中双掌猛然拍向$n气势宏大犹如排山倒海。</hiy>"
})) {
me.add_status({
id: "unarmed",
name: "排云",
desc: "增加你的攻速",
duration: 8000 + lv * 2,
prop: {
gjsd_per: 25 + me.query_prop('lyz_gs')
}
});
}
me.end_attack(target);
},
query_desc: function (me, lv) {
var gj = 200 + parseInt(lv / 10);
return "将体内雄浑的内力运于掌风,攻向敌人,对敌人造成" + gj
+ "%的伤害命中后提高自己的攻击速度25%。";
}
}
};