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

98 lines
3.3 KiB
JavaScript
Raw Permalink 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 = "jiuyinbaiguzhao";
this.grade = 3;
this.family = FAMILIES.EMEI;
this.attack_actions = [
"$N左爪虚晃右爪蓄力一招「勾魂夺魄」直插向$n的$l",
"$N双手连环成爪爪爪钩向$n「九子连环」已向$n的$l抓出",
"$N双手使出「十指穿心」招招不离$n的$l",
"$N身形围$n一转使出「天罗地网」$n的$l已完全笼罩在爪影下",
"$N使一招「风卷残云」双爪幻出满天爪影抓向$n全身",
"$N吐气扬声一招「唯我独尊」双爪奋力向$n天灵戳下"
];
this.desc = "九阴真经里记载的外门功夫,阴狠毒辣";
//"(\w+)"(.+?)"NOR"
//<$1>$2</$1>
this.can_enables = ["unarmed", "parry"];
this.learn_condition = {
max_mp:5000,
skill: {
unarmed: 300
}
};
this.query_enable_prop = function (lv) {
return {
unarmed: {
gj: parseInt(lv * 1.6) + 20,
mz: parseInt(lv*1.5 + 20)
},
parry: {
zj: parseInt(lv * 1.5) + 20,
fy: lv + 20
}
};
}
this.pfm = {
duo:
{
name: "夺命",
distime: 18000,
enable_skill: "unarmed",
weapon_type: WEAPON_TYPE.UNARMED,
mp: 20,
use: function (me, target, lv) {
var gj = me.gj * (200 + lv / 10)/100;
if (me.do_attack({
target: target,
gj: gj,
mz: me.mz,
no_weapon: true,
attack_msg: "<hiy>$N冷笑数声手指微微弯曲成爪身形疾转飞向$n头顶抓下</hiy>",
damage_msg:"<hir>$n哪里料到$N竟有如此变招不及躲闪被$P抓了个鲜血淋漓头痛欲裂。</hir>"
})) {
target.add_status({
id: "miss",
name: "夺命",
desc: "你无法躲闪",
is_rash: true,
duration: 8000,
downside: true
});
}
me.end_attack(target);
},
query_desc: function (me, lv) {
var gj = 200 + parseInt(lv / 10);
return "快速狠辣的攻击,命中后对敌人造成你攻击力" + gj + "%的伤害在8秒内使敌人无法闪避。";
}
}, juan:
{
name: "风卷残云",
distime: 18000,
enable_skill: "unarmed",
weapon_type: WEAPON_TYPE.UNARMED,
mp: 20,
use: function (me, target, lv) {
lv = 30 - lv / 100;
if (lv < 10) lv = 10;
var count = parseInt((100 - target.hp * 100 / target.max_hp) / lv) + 3;
me.send_room("<hir>$N一声厉啸手指弯曲成爪身形疾转双爪化为一片残影飞向$n抓去</hir>\n", target);
for (var i = 0; i < count; i++) {
me.do_attack({
target: target,
gj: me.gj,
mz: me.mz,
no_weapon: true
});
}
me.end_attack(target);
},
query_desc: function (me, lv) {
var lv = 30 - lv / 100;
if (lv < 10) lv = 10;
return "对敌人进行快速攻击3次对方的气血每降低" + lv + "%你的攻击次数增加1次";
}
}
};