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,38 @@
this.inherits(NPC);
this.set({
name: "流氓",
desc: "流氓巷里的大流氓。",
title: "",
gender: 1,
age: 18,
per: 20,
mp: 300,
max_mp: 300,
hp: 300,
max_hp: 300,
score: 10
}); this.set_objects(
["eq/lv1/lm_cloth", 1, 1]
);
this.skill_map(
["unarmed", 50],
["dodge", 50],
["sword", 50],
["parry", 50]);
this.set_drop({
obj: "money/coin",
min: 20,
max: 240
}, {
obj: ["eq/lv0/cloth", "eq/lv0/jian", "eq/lv0/mugun"],
odds: 3000
});
this.on_kill = function (me) {
me.each_item(item => {
if (item != this && item.path == this.path) {
this.send_room("$N喊道兄弟们有人搞事并肩子上");
item.do_kill(me);
}
}, me.environment);
}