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

64 lines
2.4 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 = "jindingzhang";
this.grade = 1;
this.family = FAMILIES.EMEI;
this.attack_actions = [
"$N身形微晃一招「三阳开泰」掌起风生$n只觉得一股暖气袭向$l",
"$N双手变幻五指轻弹一招「五气呈祥」力分五路招罩十方抓向$n的$l",
"$N左手前引右手倏出抢在头里一招「罡风推云」疾抓向$n的$l",
"$N左手圈转轻拂$n的左手反向推出一招「逆流捧沙」猛地击向$n的下巴",
"$N舌绽春雷一声娇喝在$n一愣间右手一招「雷洞霹雳」直捣$n的$l",
"$N双手平举握拳一招「金顶佛光」施出掌影重重难辨虚实掌风已经袭面",
"$N一幅宝像庄严使出「梵心降魔」掌势如虹绕着$n漂移不定",
"$N双臂疾舞化为点点掌影一招「法尊八荒」铺天盖地袭向$n全身各处大穴"
];
this.desc = "峨眉派拳脚功夫,掌风阴柔,犹如长江大河,汹涌不绝";
//"(\w+)"(.+?)"NOR"
//<$1>$2</$1>
this.can_enables = ["unarmed", "parry"];
this.learn_condition = {
max_mp: 500,
skill: {
unarmed: 50
}
};
this.query_enable_prop = function (lv) {
return {
unarmed: {
gj: lv + 20,
mz:lv
}, parry: {
zj: parseInt(lv * 1.2) + 10,
max_hp: lv*3
}
};
}
this.pfm = {
po:
{
name: "佛光普照",
distime: 6000,
enable_skill: "unarmed",
weapon_type: WEAPON_TYPE.UNARMED,
mp: 20,
use: function (me, target, lv) {
var sh = me.gj + (100 + lv * parseInt((lv / 500) + 1));
me.do_attack({
target: target,
gj: sh,
attack_msg: "<HIY>$N娇喝一声一招“佛光普照”平淡无奇的朝$n拍去可内力却如排山倒海一般袭来使$n挡无可挡避无可避。</HIY>",
no_dodge: true,
parry_msg: "<hic>可是$p奋力招架硬生生的挡开了$P这一招。</hic>"
});
me.end_attack(target);
},
query_desc: function (me, lv) {
var sh = (100 + lv * parseInt((lv / 500) + 1));
return "平淡无奇的招式,却如佛光普照般使敌人难以躲闪,对敌方造成你的攻击附加" + sh + "的伤害。";
}
}
};