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

69 lines
1.9 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 = "jiaohuabangfa";
this.grade = 1;
this.family = FAMILIES.GAIBANG;
this.attack_actions = [
"$N斜里冲前一步身法诡异手中$w急速横扫$n的$l",
"$N忽然直身飞入半空又忽的飞身扑下$w攻向$n的$l",
"$N原地一个后滚翻身体向$n平飞过去手中$w指向$n的$l",
"$N突然一个急转身$w横扫一圈后挟着猛烈的劲道打向$n而去",
"$N向前顺势一滚接着翻身跳起手里$w斜向上击向$n的$l"
];
this.desc = "丐帮的入门棒法";
//"(\w+)"(.+?)"NOR"
//<$1>$2</$1>
this.can_enables = ["club", "parry"];
this.learn_condition = {
max_mp:500,
skill: {
club: 50
}
};
this.query_enable_prop = function (lv) {
return {
club: {
gj: lv + 10
},
parry: {
zj: lv + 10
}
};
}
this.pfm = {
wu:
{
name: "绊字决",
distime: 10000,
enable_skill: "club",
mp: 20,
use: function (me, target, lv) {
var p = 50 + lv;
if (me.do_attack({
target: target,
attack_msg: "<hic>$N向前顺势一滚手中$W乱挥轮出一片棒影横扫$n的下三路<hic>",
gj: me.gj ,
mz: me.mz
})) {
me.end_attack(target);
target.add_status({
id: "ban",
name: "绊倒",
duration: lv * 10 + 2000,
prop: {
ds:-p
},
downside: true,
desc:"你的躲闪降低了"
});
}
},
query_desc: function (me, lv) {
var p = 50+lv;
return "攻击敌方下三路,命中后减少对方"+p+"躲闪。";
}
}
};