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

56 lines
1.6 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 = "xiaoyaoyou";
this.grade = 2;
this.family = FAMILIES.GAIBANG;
this.dodge_actions = [
"$n一个「蜻蜓点水」躲过了$N这一招。",
"$n身形向后一纵使出一招「细胸巧翻云」避过了$N的攻击。",
"$n使出「虚怀若谷」恰好躲过了$N的攻势。",
"但是$n身形飘忽轻轻一纵早已避开。",
"$n身形微晃有惊无险地避开了$N这一招。"
];
this.can_enables = ["dodge"];
this.query_enable_prop = function (lv) {
return {
dodge: {
ds: parseInt(lv * 1.5) + 30,
mz: lv + 3
}
};
}
this.learn_condition = {
max_mp: 1000,
skill: {
dodge: 200
}
};
this.pfm = {
lingbo:
{
name: "仙游",
distime: 30000,
enable_skill: "dodge",
mp: 20,
release_time:0,
use: function (me, target, lv) {
var gj = lv * 10 + 10000;
me.add_status({
id: "dodge",
name: "仙游",
start_msg: "<hiw>$N身子微晃施出「<hig>仙游诀</hig>」满场游走,步法洋洋洒洒,甚为飘逸。</hiw>",
desc: "逍遥游之仙游决,增加你的命中",
duration: gj,
prop: {
mz: lv
}
});
},
query_desc: function (me, lv) {
var gj = lv * 10 + 10000;
return "" + (gj / 1000) + "秒内增加你" + lv + "命中。";
}
}
};