init: add workspace files
This commit is contained in:
42
world/npc/xiaoyao/suxinghe.js
Normal file
42
world/npc/xiaoyao/suxinghe.js
Normal file
@@ -0,0 +1,42 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "苏星河",
|
||||
desc: "此人就是号称聪辩老人的苏星河,据说他能言善辩,是一个武林中的智者,而他的武功也是无人能知。",
|
||||
title: "聪辩老人",
|
||||
gender: 1,
|
||||
age: 60,
|
||||
per: 40,
|
||||
str: 27,
|
||||
con: 27,
|
||||
dex: 27,
|
||||
int: 27,
|
||||
family: FAMILIES.XIAOYAO,
|
||||
family_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],
|
||||
["blade", 500],
|
||||
["literate", 500],
|
||||
["xiaoyaoxinfa", 500],
|
||||
["beimingshengong", 500, "force"],
|
||||
["lingboweibu", 500, "dodge"],
|
||||
["ruyidao", 500, "blade"],
|
||||
["zhemeishou", 500, "parry"],
|
||||
["liuyangzhang", 500, "unarmed"]);
|
||||
|
||||
this.on_master = function (me) {
|
||||
|
||||
if (me.query_skill("xiaoyaoxinfa", 0) < 100) return me.notify_fail("苏星河说道:你的逍遥心法掌握程度还不够,需要多加练习。");
|
||||
return true;
|
||||
}
|
||||
50
world/npc/xiaoyao/xiaoyaozi.js
Normal file
50
world/npc/xiaoyao/xiaoyaozi.js
Normal file
@@ -0,0 +1,50 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "逍遥子",
|
||||
desc: "他就是逍遥派开山祖师、但是因为逍遥派属于一个在江湖中的秘密教派,所以他在江湖中不是很多人知道,但其实他的功夫却是。。。。他年满七旬,满脸红光,须眉皆白。",
|
||||
title: "逍遥派开山祖师",
|
||||
gender: 1,
|
||||
age: 80,
|
||||
per: 40,
|
||||
str: 27,
|
||||
con: 27,
|
||||
dex: 27,
|
||||
int: 27,
|
||||
family: FAMILIES.XIAOYAO,
|
||||
family_level: 1,
|
||||
level: 3,
|
||||
max_mp: 827400,
|
||||
max_hp: 991500,
|
||||
prop: {
|
||||
gj: 8000,
|
||||
mz: 8000,
|
||||
ds: 9000
|
||||
}
|
||||
});
|
||||
this.set_objects(["eq/lv0/cloth", 1, 1]);
|
||||
this.skill_map(
|
||||
["dodge", 800],
|
||||
["parry", 800],
|
||||
["force", 800],
|
||||
["unarmed", 800],
|
||||
["blade", 800],
|
||||
["sword", 800],
|
||||
["literate", 800],
|
||||
["xiaoyaoxinfa", 800],
|
||||
["beimingshengong", 800, "force"],
|
||||
["lingboweibu", 800, "dodge"],
|
||||
["ruyidao", 800, "blade"],
|
||||
["zhemeishou", 800, "parry"],
|
||||
["xiaowuxianggong", 800, "sword"],
|
||||
["liuyangzhang", 800, "unarmed"]);
|
||||
|
||||
this.on_master = function (me) {
|
||||
if (me.query_skill("beimingshengong", 0) >= 500 || me.query_skill("beimingshengong2", 0) >= 500) {
|
||||
if (me.query_skill("lingboweibu", 0) >= 500 || me.query_skill("lingboweibu2", 0) >= 500) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if (me.query_skill("beimingshengong", 0) < 500) return me.notify_fail("逍遥子说道:你的北冥神功掌握程度还不够,需要多加练习。");
|
||||
if (me.query_skill("lingboweibu", 0) < 500) return me.notify_fail("逍遥子说道:你的凌波微步掌握程度还不够,需要多加练习。");
|
||||
return false;
|
||||
}
|
||||
31
world/npc/xiaoyao/xuemuhua.js
Normal file
31
world/npc/xiaoyao/xuemuhua.js
Normal file
@@ -0,0 +1,31 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "薛慕华",
|
||||
desc: "他就是号称阎王敌的神医——薛慕华,据说他精通医理,可以起死回生。",
|
||||
title: "逍遥派 函谷八友",
|
||||
gender: 1,
|
||||
age: 50,
|
||||
per: 40,
|
||||
max_mp: 1400,
|
||||
str: 27,
|
||||
con: 27,
|
||||
dex: 27,
|
||||
int: 27,
|
||||
family: FAMILIES.XIAOYAO,
|
||||
family_level: 3
|
||||
});
|
||||
this.set_objects(["eq/lv0/cloth", 1, 1]);
|
||||
this.skill_map(
|
||||
["dodge", 100],
|
||||
["parry", 100],
|
||||
["force", 100],
|
||||
["unarmed", 100],
|
||||
["sword", 100],
|
||||
["literate", 100],
|
||||
["xiaoyaoxinfa", 100, "force"],
|
||||
["zhemeishou", 100, ["unarmed","parry"]]);
|
||||
|
||||
this.on_master = function (me) {
|
||||
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user