init: add workspace files

This commit is contained in:
2026-05-26 16:41:20 +08:00
commit f4f2393f72
1041 changed files with 67405 additions and 0 deletions

View File

@@ -0,0 +1,71 @@
this.inherits(SKILL);
this.name = "韦陀棍";
this.id = "weituogun";
this.grade = 1;
this.family = FAMILIES.SHAOLIN;
this.attack_actions = [
"$N一招<YEL>「黄石纳履」</YEL>,手中$w如蜻蜓点水般招招向$n的下盘要害点去",
"$N把$w平提胸口一拧身一招<BLU>「勒马停锋」</BLU>$w猛地撩向$n的颈部",
"$N一招<HIC>「平地龙飞」</HIC>,全身滴溜溜地在地上打个大转,举棍向$n的胸腹间戳去",
"$N伏地一个滚翻一招<HIB>「伏虎听风」</HIB>$w挟呼呼风声迅猛扫向$n的足胫",
"$N一招<HIW>「流星赶月」</HIW>,身棍合一,棍端逼成一条直线,流星般向顶向$n的$l",
"$N双手持棍划了个天地大圈一招<RED>「红霞贯日」</RED>,一棍从圆心正中击出,撞向$n的胸口",
"$N一招<YEL>「投鞭断流」</YEL>$w高举以雷霆万钧之势对准$n的天灵当头劈下",
"$N潜运真力一招<HIW>「苍龙归海」</HIW>$w顿时长了数丈矫龙般直射$n的胸口"
];
this.desc = "少林寺七十二绝技之韦陀棍";
//"(\w+)"(.+?)"NOR"
//<$1>$2</$1>
this.can_enables = ["club"];
this.learn_condition = {
max_mp: 700,
skill: {
club: 50
}
};
this.query_enable_prop = function (lv) {
return {
club: {
gj: lv + 15
}
};
}
this.pfm = {
wu:
{
name: "韦陀伏魔",
distime: 20000,
enable_skill: "club",
mp: 20,
use: function (me, target, lv) {
var p = 120 + Math.round((lv / 50));
var t = (lv * 10 + 2000);
if (t > 12000) t = 12000;
if (me.do_attack({
target: target,
attack_msg: "<hiy>$N脸色柔和尽显一派慈祥之意手中的$W轻旋恍惚中显出佛家韦陀神像神光四射笼罩住$n<hiy>",
gj: me.gj * p / 100,
mz: me.mz
})) {
me.end_attack(target);
target.add_status({
id: "busy",
is_busy: true,
name: "忙乱",
duration: t,
downside: true,
desc:"你手忙脚乱无法招架,攻击"
});
}
},
query_desc: function (me, lv) {
var p = 120 + Math.round((lv / 50));
var t = (lv * 10 + 2000) / 1000;
if (t > 12) t = 12;
return "韦陀棍之韦陀伏魔,造成" + p + "%攻击力的伤害,命中后震慑敌人使敌人忙乱" + (t) + "秒。";
}
}
};