init: add workspace files
This commit is contained in:
51
world/npc/shaolin/chengjing.js
Normal file
51
world/npc/shaolin/chengjing.js
Normal file
@@ -0,0 +1,51 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "澄净",
|
||||
desc: "他是一位须发花白的老僧,身穿一袭金边黑布袈裟。他身材瘦高,太阳穴高高鼓起,似乎身怀绝世武功。",
|
||||
title: "少林寺第三十七代弟子",
|
||||
gender: 1,
|
||||
age: 60,
|
||||
per: 26,
|
||||
mp: 400,
|
||||
hp: 1500,
|
||||
score: 10,
|
||||
family: FAMILIES.SHAOLIN,
|
||||
family_level: 3,
|
||||
level: 2,
|
||||
max_mp: 727400,
|
||||
max_hp: 791500,
|
||||
prop: {
|
||||
gj: 8000,
|
||||
mz: 8000,
|
||||
ds: 8000
|
||||
}
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 800],
|
||||
["parry", 800],
|
||||
["force", 800],
|
||||
["unarmed", 800],
|
||||
["sword", 800],
|
||||
["club", 800],
|
||||
["blade", 800],
|
||||
["literate", 800],
|
||||
["jingangquan", 800, "parry"],
|
||||
["yijinjing", 800, "force"],
|
||||
["weituogun", 800, "club"],
|
||||
["ranmudao", 800, "blade"],
|
||||
["shaolinshenfa", 800, "dodge"],
|
||||
["yizhichan", 800, "unarmed"]);
|
||||
this.on_master = function (me) {
|
||||
if (me.gender == 2) return me.notify_fail("澄净说道:阿弥陀佛,少林寺不收女弟子。");
|
||||
if (me.query_skill("ranmudao", 0) >= 500 || me.query_skill("ranmudao2", 0) >= 500) {
|
||||
if (me.query_skill("yizhichan", 0) >= 500 || me.query_skill("yizhichan2", 0) >= 500) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if (me.query_skill("ranmudao", 0) < 500 && me.query_skill("ranmudao2", 0) < 500) return me.notify_fail("澄净说道:你的燃木刀掌握程度还不够,需要多加练习。");
|
||||
if (me.query_skill("yizhichan", 0) < 500 && me.query_skill("yizhichan2", 0) < 500) return me.notify_fail("澄净说道:你的一指禅掌握程度还不够,需要多加练习。");
|
||||
return false;
|
||||
}
|
||||
45
world/npc/shaolin/daojue.js
Normal file
45
world/npc/shaolin/daojue.js
Normal file
@@ -0,0 +1,45 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "道觉禅师",
|
||||
desc: "他是一位身材高大的中年僧人,两臂粗壮,膀阔腰圆。他手持兵刃,身穿一袭灰布镶边袈裟,似乎有一身武艺。",
|
||||
title: "少林寺第三十九代弟子",
|
||||
gender: 1,
|
||||
age: 40,
|
||||
per: 26,
|
||||
mp: 400,
|
||||
hp: 1500,
|
||||
score: 10,
|
||||
family: FAMILIES.SHAOLIN,
|
||||
family_level: 5,
|
||||
level: 2,
|
||||
max_mp:127400,
|
||||
max_hp: 191500,
|
||||
prop: {
|
||||
gj: 2000,
|
||||
mz: 2000,
|
||||
ds: 2000
|
||||
}
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
], [
|
||||
"eq/lv0/mugun", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 300],
|
||||
["parry", 300],
|
||||
["force", 300],
|
||||
["unarmed", 300],
|
||||
["sword", 300],
|
||||
["club", 300],
|
||||
["literate", 300],
|
||||
["weituogun", 300, "club"],
|
||||
["hunyuanyiqi", 300, "force"],
|
||||
["damojian", 300, "sword"],
|
||||
["shaolinshenfa", 300, "dodge"],
|
||||
["fuhuquan", 300, "unarmed"]);
|
||||
this.on_master = function (me) {
|
||||
if (me.gender == 2) return me.notify_fail("道觉禅师说道:阿弥陀佛,少林寺不收女弟子。");
|
||||
if (me.query_skill("hunyuanyiqi", 0) < 100) return me.notify_fail("道觉禅师说道:你的混元一气掌握程度还不够,需要多加练习。");
|
||||
return true;
|
||||
}
|
||||
49
world/npc/shaolin/huihe.js
Normal file
49
world/npc/shaolin/huihe.js
Normal file
@@ -0,0 +1,49 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "慧合尊者",
|
||||
desc: "他是一位两鬓斑白的老僧,身穿一袭青布镶边袈裟。他身材略高,太阳穴微凸,双目炯炯有神。",
|
||||
title: "少林寺第三十九代弟子",
|
||||
gender: 1,
|
||||
age: 50,
|
||||
per: 26,
|
||||
mp: 400,
|
||||
hp: 1500,
|
||||
score: 10,
|
||||
family: FAMILIES.SHAOLIN,
|
||||
family_level: 4,
|
||||
level: 2,
|
||||
max_mp: 327400,
|
||||
max_hp: 391500,
|
||||
prop: {
|
||||
gj: 4000,
|
||||
mz: 4000,
|
||||
ds: 4000
|
||||
}
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
], [
|
||||
"eq/lv0/dao", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 500],
|
||||
["parry", 500],
|
||||
["force", 500],
|
||||
["unarmed", 500],
|
||||
["sword", 500],
|
||||
["blade", 500],
|
||||
["club", 500],
|
||||
["literate", 500],
|
||||
["weituogun", 500, "club"],
|
||||
["ranmudao", 500, "blade"],
|
||||
["hunyuanyiqi", 500, "force"],
|
||||
["damojian", 500, "sword"],
|
||||
["jingangquan", 500, "parry"],
|
||||
["shaolinshenfa", 500, "dodge"],
|
||||
["yizhichan", 500, "unarmed"]);
|
||||
this.on_master = function (me) {
|
||||
if (me.gender == 2) return me.notify_fail("慧合尊者说道:阿弥陀佛,少林寺不收女弟子。");
|
||||
if (me.query_skill("hunyuanyiqi", 0) < 300) return me.notify_fail("慧合尊者说道:你的混元一气掌握程度还不够,需要多加练习。");
|
||||
if (me.query_skill("shaolinshenfa", 0) < 300) return me.notify_fail("慧合尊者说道:你的少林身法掌握程度还不够,需要多加练习。");
|
||||
return true;
|
||||
}
|
||||
38
world/npc/shaolin/qingle.js
Normal file
38
world/npc/shaolin/qingle.js
Normal file
@@ -0,0 +1,38 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "清乐比丘",
|
||||
desc: "他是一位体格强健的壮年僧人,他身得虎背熊腰,全身似乎蕴含着无穷劲力。他身穿一袭白布黑边袈裟,似乎身怀武艺。",
|
||||
title:"少林寺第四十代弟子",
|
||||
gender: 1,
|
||||
age: 30,
|
||||
per: 26,
|
||||
mp: 400,
|
||||
max_mp: 400,
|
||||
hp: 1500,
|
||||
max_hp: 1500,
|
||||
score: 10,
|
||||
family: FAMILIES.SHAOLIN,
|
||||
family_level: 6,
|
||||
level: 1
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
], [
|
||||
"eq/lv0/mugun", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 100],
|
||||
["parry", 100],
|
||||
["force", 100],
|
||||
["unarmed", 100],
|
||||
["sword", 100],
|
||||
["club", 100],
|
||||
["literate", 100],
|
||||
["hunyuanyiqi", 100, "force"],
|
||||
["weituogun", 100, "club"],
|
||||
["shaolinshenfa", 100, "dodge"],
|
||||
["fuhuquan", 100, "unarmed"]);
|
||||
this.on_master = function (me) {
|
||||
if (me.gender == 2) return me.notify_fail("清乐比丘说道:阿弥陀佛,少林寺不收女弟子。");
|
||||
return true;
|
||||
}
|
||||
51
world/npc/shaolin/xuannan.js
Normal file
51
world/npc/shaolin/xuannan.js
Normal file
@@ -0,0 +1,51 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "玄难",
|
||||
desc: "他是一位须发花白的老僧,身穿一袭金边黑布袈裟。",
|
||||
title: "少林寺方丈",
|
||||
gender: 1,
|
||||
age: 60,
|
||||
per: 26,
|
||||
mp: 400,
|
||||
score: 10,
|
||||
family: FAMILIES.SHAOLIN,
|
||||
family_level: 2,
|
||||
level:3,
|
||||
max_mp: 827400,
|
||||
max_hp: 891500,
|
||||
prop: {
|
||||
gj: 8000,
|
||||
mz: 9000,
|
||||
ds: 9000
|
||||
}
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
],[
|
||||
"eq/lv0/dao", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 800],
|
||||
["parry", 800],
|
||||
["force", 800],
|
||||
["unarmed", 800],
|
||||
["sword", 800],
|
||||
["club", 800],
|
||||
["blade", 800],
|
||||
["hunyuanyiqi", 800],
|
||||
["literate", 800],
|
||||
["jingangquan", 800, "parry"],
|
||||
["yijinjing", 800, "force"],
|
||||
["weituogun", 800, "club"],
|
||||
["ranmudao", 800, "blade"],
|
||||
["damojian", 800, "sword"],
|
||||
["shaolinshenfa", 800, "dodge"],
|
||||
["yizhichan", 800, "unarmed"]);
|
||||
this.on_master = function (me) {
|
||||
if (me.gender == 2) return me.notify_fail("玄难说道:阿弥陀佛,少林寺不收女弟子。");
|
||||
if (me.query_skill("yijinjing", 0) >= 500 || me.query_skill("yijinjing2", 0) >= 500) {
|
||||
return true;
|
||||
}
|
||||
if (me.query_skill("yijinjing", 0) < 500 && me.query_skill("yijinjing2", 0) < 500) return me.notify_fail("玄难说道:你的易筋经掌握程度还不够,需要多加练习。");
|
||||
return false;
|
||||
}
|
||||
Reference in New Issue
Block a user