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

37
world/npc/shashou/her.js Normal file
View File

@@ -0,0 +1,37 @@
this.inherits(NPC);
this.set({
name: "何小二",
desc: "他是杀手楼的弟子,负责新入门的杀手训练",
title: "杀手教习",
gender: 1,
age: 25,
per: 26,
mp: 400,
max_mp: 400,
hp: 1500,
max_hp: 1500,
score: 10,
family: FAMILIES.SHASHOU,
family_level: 3,
level: 1
});
this.set_objects(["eq/lv0/cloth", 1, 1], ["eq/lv0/fei", 1, 1]);
this.skill_map(
["dodge", 100],
["parry", 100],
["force", 100],
["unarmed", 100],
["throwing", 100],
["literate", 100],
["shashouxinfa", 100, "force"],
["shashoubufa", 100, "dodge"],
["feidao", 100, "throwing"]);
this.on_master = function (me) {
return true;
}
this.set_chat_msg([
"何小二说道:江湖上的其他门派都防着我们,所以他们战斗的时候你就去浑水摸鱼吧,楼主会奖励你的。",
"",
""
]);

41
world/npc/shashou/lisi.js Normal file
View File

@@ -0,0 +1,41 @@
this.inherits(NPC);
this.set({
name: "李四",
desc: "他是杀手楼的银牌杀手,看上去是一个走在大街上你绝对不会看上一眼的普通人",
title: "鬼手",
gender: 1,
age: 43,
per: 26,
mp: 400,
max_mp: 400,
hp: 1500,
max_hp: 1500,
score: 10,
family: FAMILIES.SHASHOU,
family_level: 2,
level: 1
});
this.set_objects(["eq/lv0/cloth", 1, 1], ["eq/lv0/fei", 1, 1]);
this.skill_map(
["dodge", 500],
["parry", 500],
["force", 500],
["unarmed", 500],
["throwing", 500],
["literate", 500],
["shashengjue", 500, "force"],
["taxuexunmei", 500, "dodge"],
["feidao", 500, "throwing"],
["chuanxinzhang", 500, "unarmed"]);
this.on_master = function (me) {
if (me.query_skill("shashouxinfa", 0) < 100) return me.notify_fail("李四说道:你的杀手心法掌握程度还不够,需要多加练习。");
if (me.query_skill("feidao", 0) < 100) return me.notify_fail("李四说道:你的飞刀掌握程度还不够,还需多加努力。");
return true;
}
this.set_chat_msg([
"李四说道:江湖上的其他门派都防着我们,所以他们战斗的时候你就去浑水摸鱼吧,楼主会奖励你的。",
"",
""
]);

View File

@@ -0,0 +1,36 @@
this.inherits(NPC);
this.set({
name: "守卫",
desc: "他是杀手楼的守卫,警惕的观望着四周",
gender: 1,
age: 25,
per: 26,
mp: 400,
max_mp: 400,
hp: 1500,
max_hp: 1500,
score: 10,
family: FAMILIES.SHASHOU
});
this.set_objects(["eq/lv0/cloth", 1, 1], ["eq/lv0/fei", 1, 1]);
this.skill_map(
["dodge", 100],
["parry", 100],
["force", 100],
["unarmed", 100],
["throwing", 100],
["literate", 100],
["shashouxinfa", 100, "force"],
["shashoubufa", 100, "dodge"],
["feidao", 100, "throwing"]);
this.on_leave = function (me, dir) {
if (dir == "north") {
if (me.family != FAMILIES.NONE && me.family != FAMILIES.SHASHOU) {
me.notify("守卫拦住你:这位" + me.call() + ",请留步。");
return false;
}
}
}

43
world/npc/shashou/wu.js Normal file
View File

@@ -0,0 +1,43 @@
this.inherits(NPC);
this.set({
name: "雾中楼",
desc: "他是杀手楼的楼主雾中楼,他看上去平平常常一个老头,两眼却湛然若神",
title: "杀手楼主",
gender: 1,
age: 67,
per: 33,
max_mp: 20000,
str: 30,
con: 30,
dex: 30,
int: 30,
family: FAMILIES.SHASHOU,
family_level: 1,
level: 3,
max_mp: 927400,
max_hp: 991500,
prop: {
gj: 9000,
mz: 9000,
ds: 9000
}
});
this.set_objects(["eq/lv0/cloth", 1, 1]);
this.skill_map(
["dodge", 800],
["parry", 800],
["force", 800],
["unarmed", 800],
["throwing", 800],
["literate", 800],
["shashengjue", 800, "force"],
["taxuexunmei", 800, "dodge"],
["mantianhuayu", 800, "throwing"],
["chuanxinzhang", 800, "unarmed"]);
this.on_master = function (me) {
if (me.query_skill("shashengjue", 0) < 500 && me.query_skill("shashengjue2", 0) < 500) return me.notify_fail("雾中楼说道:你的杀生决掌握程度还不够,需要多加练习。");
if (me.query_skill("taxuexunmei", 0) < 500 && me.query_skill("taxuexunmei2", 0) < 500) return me.notify_fail("雾中楼说道:你的踏雪寻梅掌握程度还不够,还需多加努力。");
return true;
}