init: add workspace files
This commit is contained in:
59
world/npc/bj/ao/aobai.js
Normal file
59
world/npc/bj/ao/aobai.js
Normal file
@@ -0,0 +1,59 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "鳌拜",
|
||||
desc: "他就是满洲第一勇士,身穿一袭金边锦缎。他身材魁梧,相貌狰狞,太阳穴高高鼓起,似乎身怀绝世武功。",
|
||||
title: "满洲第一勇士",
|
||||
gender: 1,
|
||||
age: 50,
|
||||
per: 22,
|
||||
mp: 400,
|
||||
str: 30,
|
||||
max_mp: 1000,
|
||||
hp: 3000,
|
||||
max_hp: 3000,
|
||||
score: 30,
|
||||
prop: {
|
||||
gj: 100
|
||||
}
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv2/ao_jia", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 200],
|
||||
["feiyanzoubi", 200, "dodge"],
|
||||
["parry", 200],
|
||||
["force", 200],
|
||||
["unarmed", 200],
|
||||
["sword", 300],
|
||||
["blade", 300],
|
||||
["fuhuquan", 200, "unarmed"],
|
||||
["hunyuanyiqi", 200, "force"]);
|
||||
this.on_die = function () {
|
||||
this.send_message("\n鳌拜狂叫道:想不到我一世威名竟然毁于你手!\n鳌拜顿了一顿,叹道:唉,只可惜我的那么多宝贝啊!\n");
|
||||
}
|
||||
this.on_enter = function (me) {
|
||||
me.notify("鳌拜怒道:你敢不让我睡觉,老子宰了你 !");
|
||||
this.do_kill(me);
|
||||
}
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 10,
|
||||
max: 15
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/mugun", "eq/lv0/jian", "sp/bj/laofangkey"],
|
||||
odds: 8000
|
||||
},
|
||||
{
|
||||
obj: ["book/bc#hunyuanyiqi", "book/bc#feiyanzoubi", "book/bc#fuhuquan"],
|
||||
odds: 5000
|
||||
}, {
|
||||
obj: ["eq/lv2/ao_jia", "eq/lv2/ao_bishou"],
|
||||
odds: 1000
|
||||
}, {
|
||||
obj: "sp/npc#aobai",
|
||||
odds: 30
|
||||
}, {
|
||||
obj: "sp/fb/tiao",
|
||||
odds: 1000
|
||||
});
|
||||
20
world/npc/bj/ao/chushi.js
Normal file
20
world/npc/bj/ao/chushi.js
Normal file
@@ -0,0 +1,20 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "厨师",
|
||||
desc: "他原是归安县的知县,因贪赃枉法,百姓恨之切齿,终被告发革职。他长得尖嘴猴腮,一看就知不是好人 。",
|
||||
gender: 1,
|
||||
age: 45,
|
||||
per: 19,
|
||||
mp: 100,
|
||||
max_mp: 200,
|
||||
hp: 200,
|
||||
max_hp: 200,
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 100],
|
||||
["parry", 100],
|
||||
["force", 100],
|
||||
["unarmed", 100]);
|
||||
34
world/npc/bj/ao/guanjia.js
Normal file
34
world/npc/bj/ao/guanjia.js
Normal file
@@ -0,0 +1,34 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "女管家",
|
||||
desc: "她是鳌拜府上的管家,精明干练",
|
||||
gender: 2,
|
||||
age: 44,
|
||||
per: 34,
|
||||
mp: 100,
|
||||
max_mp: 100,
|
||||
hp: 400,
|
||||
max_hp: 400,
|
||||
score: 10
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 100],
|
||||
["parry", 100],
|
||||
["force", 100],
|
||||
["unarmed", 100]);
|
||||
|
||||
this.on_kill = function (me) {
|
||||
this.send_room("$N喊道:还愣着干嘛,快给我上!", me);
|
||||
this.each_item(item => {
|
||||
if ( item.path == "bj/ao/jiading") {
|
||||
item.do_kill(me);
|
||||
}
|
||||
}, this.environment);
|
||||
}
|
||||
this.on_leave = function (me, dir) {
|
||||
if (dir == "south" || dir == "north")
|
||||
return me.notify_fail("女官家挡住了你。");
|
||||
}
|
||||
37
world/npc/bj/ao/jiading.js
Normal file
37
world/npc/bj/ao/jiading.js
Normal file
@@ -0,0 +1,37 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "家将",
|
||||
desc: "鳌拜府上的家将,看上去有两下子",
|
||||
gender: 1,
|
||||
age: 25,
|
||||
per: 15,
|
||||
mp: 100,
|
||||
max_mp: 500,
|
||||
hp: 500,
|
||||
max_hp: 500,
|
||||
score: 10
|
||||
});
|
||||
this.skill_map(
|
||||
["club", 150],
|
||||
["dodge", 150],
|
||||
["sword", 150],
|
||||
["parry", 150],
|
||||
["juemengun", 150,["club","dodge"]]);
|
||||
this.set_objects(
|
||||
["eq/lv1/guanfu", 1, 1],
|
||||
["eq/lv0/tiegun", 1, 1]
|
||||
);
|
||||
this.set_drop({
|
||||
obj: "money/coin",
|
||||
min: 10,
|
||||
max: 30
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/tiegun", "eq/lv0/shoes"],
|
||||
odds: 3000
|
||||
}, {
|
||||
obj: ["eq/lv0/jd_cloth", "eq/lv0/jd_shoes", "eq/lv1/guanfu"],
|
||||
odds: 3000
|
||||
}, {
|
||||
obj: ["book/bc#juemengun"],
|
||||
odds: 3000
|
||||
});
|
||||
36
world/npc/bj/ao/wu.js
Normal file
36
world/npc/bj/ao/wu.js
Normal file
@@ -0,0 +1,36 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "吴之荣",
|
||||
desc: "他原是归安县的知县,因贪赃枉法,百姓恨之切齿,终被告发革职。他长得尖嘴猴腮,一看就知不是好人 。",
|
||||
gender: 1,
|
||||
age: 44,
|
||||
per: 12,
|
||||
mp: 100,
|
||||
max_mp: 400,
|
||||
hp: 400,
|
||||
max_hp: 400,
|
||||
score: 10
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 100],
|
||||
["parry", 100],
|
||||
["force", 100],
|
||||
["unarmed", 100]);
|
||||
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 10,
|
||||
max: 15
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian"],
|
||||
odds: 8000
|
||||
}, {
|
||||
obj: ["sp/bj/wu"],
|
||||
odds: 1000
|
||||
});
|
||||
this.on_die = function (killer) {
|
||||
killer.set_temp("fb/ao/wu", 1);
|
||||
}
|
||||
52
world/npc/bj/ao/zhuangyu.js
Normal file
52
world/npc/bj/ao/zhuangyu.js
Normal file
@@ -0,0 +1,52 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "庄允城",
|
||||
desc: "这是个饱读诗书,却手无搏鸡之力的书生。因编辑‘明史辑略’,被吴之荣告发,全家逮入京中。",
|
||||
gender: 1,
|
||||
age: 40,
|
||||
per: 33,
|
||||
mp: 100,
|
||||
max_mp: 100,
|
||||
hp: 10,
|
||||
max_hp: 100
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
]);
|
||||
this.set_chat_msg([
|
||||
"庄允城说道:只怪我当初好心,在书中夹了金叶送与他,谁想这狼心狗肺的家伙竟然就去告发了我。唉...",
|
||||
"庄允城说道:谁要把吴之荣抓到庄府就好了。",
|
||||
"庄允城叹了口气说道:谁要救了我,我一定把我知道的都告诉他。"
|
||||
]);
|
||||
this.set_ask("明史辑略", function (me) {
|
||||
|
||||
me.notify("庄允城叹了口气说道:谁能想到这本书惹来这么大的祸。");
|
||||
|
||||
});
|
||||
this.set_ask("密室", function (me) {
|
||||
|
||||
me.notify("庄允城说道:我曾见过鳌拜进密室,把书房的画卷移动一下就行了。");
|
||||
|
||||
});
|
||||
this.set_ask("吴之荣", function (me) {
|
||||
|
||||
me.notify("庄允城说道:只怪我当初好心,在书中夹了金叶送与他,谁想这狼心狗肺的家伙竟然就去告发了我。唉...");
|
||||
if (me.query_temp("fb/ao/wu")) {
|
||||
var obj = OBJ.create_by_odds([
|
||||
{
|
||||
obj: ["sp/bj/jing#5", "sp/bj/jing#6", "sp/bj/jing#7", "sp/bj/jing#8"]
|
||||
}
|
||||
])[0];
|
||||
me.remove_temp("fb/ao/wu");
|
||||
obj = me.add_obj(obj);
|
||||
if (obj) {
|
||||
me.notify("顿了顿,庄允城对你说道:多谢这位" + me.call() + "替我报了大仇,这里有一本鳌拜不小心丢在这里的经书就送给你了。");
|
||||
me.notify("庄允城给了你" + obj.unit_name(1) + "。");
|
||||
|
||||
}
|
||||
} else {
|
||||
me.notify("顿了顿,庄允城叹了口气说道:替我把吴之荣这厮杀掉吧,我不行了。");
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
45
world/npc/bj/guanwai/asi.js
Normal file
45
world/npc/bj/guanwai/asi.js
Normal file
@@ -0,0 +1,45 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "平四",
|
||||
desc: "他是胡家忠心耿耿的仆役。",
|
||||
title: "胡家仆佣",
|
||||
gender: 1,
|
||||
age: 45,
|
||||
per: 26,
|
||||
mp: 1400,
|
||||
max_mp: 4400,
|
||||
hp: 5500,
|
||||
max_hp: 5500
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
], [
|
||||
"eq/lv0/dao", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 300],
|
||||
["parry", 300],
|
||||
["force", 300],
|
||||
["unarmed", 300],
|
||||
["blade", 300],
|
||||
["sixiangbu", 300, "dodge"],
|
||||
["hujiadaofa", 300, "blade"],
|
||||
["lengyueshengong", 300, "force"]);
|
||||
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 10,
|
||||
max: 20
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian"],
|
||||
odds: 8000
|
||||
}, {
|
||||
obj: ["book/bc#hujiadaofa", "book/bc#sixiangbu", "book/bc#lengyueshengong"],
|
||||
odds: 3000
|
||||
});
|
||||
this.on_leave = function (me, dir) {
|
||||
if (dir == "north") {
|
||||
me.notify("平四拦住你恭敬的说道:" + me.call() + ",有什么事情吗?");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
38
world/npc/bj/guanwai/chuanfu.js
Normal file
38
world/npc/bj/guanwai/chuanfu.js
Normal file
@@ -0,0 +1,38 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "船夫",
|
||||
desc: "这是一个松花江上的船夫。饱经风霜的脸上透出东北人的豪爽。",
|
||||
gender: 1,
|
||||
age: 45,
|
||||
per: 26,
|
||||
mp: 400,
|
||||
max_mp: 400,
|
||||
hp: 500,
|
||||
max_hp: 500
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
]);
|
||||
this.set_drop({
|
||||
obj: "sp/tool/diao#1",
|
||||
odds:500
|
||||
}, {
|
||||
obj: "sp/tool/diao#2",
|
||||
odds: 50
|
||||
});
|
||||
this.on_leave = function (me, dir) {
|
||||
if (dir == "east" || dir == "west") {
|
||||
me.notify("船夫对你说道:坐船到江对面1两黄金。");
|
||||
me.set_temp("fb/guanwai/jiang", dir);
|
||||
me.send_commands("give " + this.id + " 10000 money", "交钱坐船");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
this.on_accept = function (me, obj, count) {
|
||||
if (obj == "money" && count == 10000) {
|
||||
if (me.moveto("bj/guanwai/jiang") != false) {
|
||||
me.send_room("船夫和$N上了船,一声「起锚」船就张帆离岸了......");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
25
world/npc/bj/guanwai/diao.js
Normal file
25
world/npc/bj/guanwai/diao.js
Normal file
@@ -0,0 +1,25 @@
|
||||
this.inherits(MONSTER);
|
||||
this.set({
|
||||
name: "金雕",
|
||||
desc: "一只大金雕,正立在树枝上仰视长天。",
|
||||
gender: 1,
|
||||
mp: 100,
|
||||
max_mp: 100,
|
||||
hp: 4500,
|
||||
max_hp: 4500,
|
||||
score: 10
|
||||
});
|
||||
|
||||
this.skill_map(
|
||||
["bite", 200],
|
||||
["bite2", 200, "bite"]);
|
||||
//drop path,min,max,per
|
||||
this.set_drop({
|
||||
obj: "res/pimao2",
|
||||
min: 1,
|
||||
max: 4
|
||||
});
|
||||
this.on_enter = function (me) {
|
||||
me.notify("一只迅猛的金雕朝你俯冲过来。");
|
||||
this.do_kill(me);
|
||||
}
|
||||
24
world/npc/bj/guanwai/hu.js
Normal file
24
world/npc/bj/guanwai/hu.js
Normal file
@@ -0,0 +1,24 @@
|
||||
this.inherits(MONSTER);
|
||||
this.set({
|
||||
name: "东北虎",
|
||||
desc:"一只矫捷的斑斓猛虎,形体巨大,状极威猛,雄伟极了",
|
||||
gender: 1,
|
||||
mp: 100,
|
||||
max_mp: 100,
|
||||
hp: 6500,
|
||||
max_hp: 6500,
|
||||
score: 10
|
||||
});
|
||||
this.skill_map(
|
||||
["bite", 270],
|
||||
["bite2", 270,"bite"]);
|
||||
//drop path,min,max,per
|
||||
this.set_drop({
|
||||
obj: "res/pimao2",
|
||||
min: 1,
|
||||
max: 4
|
||||
});
|
||||
this.on_enter = function(me) {
|
||||
me.notify("一只凶猛的东北虎朝你扑了过来。");
|
||||
this.do_kill(me);
|
||||
}
|
||||
81
world/npc/bj/guanwai/hufei.js
Normal file
81
world/npc/bj/guanwai/hufei.js
Normal file
@@ -0,0 +1,81 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "胡斐",
|
||||
desc: "他就是胡一刀之子胡斐,因其武功高强神出鬼没。在江湖上人送外号「雪山飞狐」。他身穿一件白色长衫,腰间别着一把看起来很旧的刀。 ",
|
||||
title: "雪山飞狐",
|
||||
gender: 1,
|
||||
age: 25,
|
||||
per: 26,
|
||||
mp: 9500,
|
||||
max_mp: 9500,
|
||||
hp: 13500,
|
||||
max_hp: 18500,
|
||||
prop: {
|
||||
gj: 600,
|
||||
mz: 800,
|
||||
ds: 800,
|
||||
fy: 900
|
||||
}
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
], [
|
||||
"eq/lv0/dao", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 400],
|
||||
["parry", 400],
|
||||
["force", 400],
|
||||
["unarmed", 400],
|
||||
["staff", 300],
|
||||
["blade", 400],
|
||||
["throwing", 400],
|
||||
["sixiangbu", 400, "dodge"],
|
||||
["hujiadaofa", 400, "blade"],
|
||||
["lengyueshengong", 400, "force"],
|
||||
["mantianxing", 400, "throwing"]);
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 10,
|
||||
max: 30
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian"],
|
||||
odds: 8000
|
||||
});
|
||||
this.on_accept = function (me, obj, count) {
|
||||
if (!obj || !obj.path) return;
|
||||
if (obj.is("sp/bj/yanji")) {
|
||||
me.notify("\n<HIC>胡斐大喜道:狗贼!想不到你也有今天!!手起刀落,将阎基的头颅剁为两段。</hic>");
|
||||
me.notify("<HIC>胡斐说道:这位" + me.call() + ",如此大恩大德,在下实不知何以为报。</hic>");
|
||||
me.set_temp("fb/guanwai/hu", 1);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
this.set_ask("阎基", function (me) {
|
||||
var obj = me.find_obj_bypath("sp/bj/yanji");
|
||||
if (obj) {
|
||||
me.notify("胡斐说道:阎基是我的杀父仇人,如果你把他杀掉,在下必有重谢。");
|
||||
me.send_commands("give " + this.id + " " + obj.id, "把阎基的头颅给胡斐");
|
||||
} else {
|
||||
me.notify("胡斐说道:阎基是我的杀父仇人。");
|
||||
}
|
||||
});
|
||||
this.set_ask("闯王宝刀", function (me) {
|
||||
|
||||
if (me.query_temp("fb/guanwai/hu")) {
|
||||
me.notify("胡斐说道:这把宝刀是我家祖上当闯王护卫时候,闯王亲手赐予的,其中隐藏着关于闯王宝藏的秘密。");
|
||||
} else {
|
||||
me.notify("胡斐说道:这把宝刀是我家祖上当闯王护卫时候,被闯王亲手赐予的。");
|
||||
}
|
||||
});
|
||||
this.set_ask("胡家刀谱", function (me) {
|
||||
|
||||
if (me.query_temp("fb/guanwai/hu") == 1) {
|
||||
me.notify("胡斐说道:既然" + me.call() + "有兴趣,这几份残篇就给你参悟吧。");
|
||||
var obj = me.add_obj("book/bc#hujiadaofa");
|
||||
if (obj) me.notify("胡斐给你一" + obj.unit + obj.color_name + "。");
|
||||
me.set_temp("fb/guanwai/hu", 2);
|
||||
} else {
|
||||
me.notify("胡斐说道:胡家刀法是我祖上飞天狐狸所创,可惜刀谱丢了几页。");
|
||||
}
|
||||
});
|
||||
35
world/npc/bj/guanwai/xiong.js
Normal file
35
world/npc/bj/guanwai/xiong.js
Normal file
@@ -0,0 +1,35 @@
|
||||
this.inherits(MONSTER);
|
||||
this.set({
|
||||
name: "<blk>黑熊</blk>",
|
||||
desc: "一只凶猛的黑熊,形体硕大,人立而行。",
|
||||
gender: 1,
|
||||
mp: 100,
|
||||
max_mp: 9000,
|
||||
hp:18500,
|
||||
max_hp: 18500,
|
||||
score: 20,
|
||||
prop: {
|
||||
gj: 300,
|
||||
mz: 400,
|
||||
ds: 600,
|
||||
fy: 900
|
||||
}
|
||||
});
|
||||
this.skill_map(
|
||||
["bite", 400],
|
||||
["bite2", 400, "bite"]);
|
||||
//drop path,min,max,per
|
||||
this.set_drop({
|
||||
obj: "res/pimao2",
|
||||
min: 1,
|
||||
max: 4
|
||||
}, {
|
||||
obj: "st/xuanjing"
|
||||
}, {
|
||||
obj: "drug/xiongdan",
|
||||
odds:1000
|
||||
});
|
||||
this.on_enter = function(me) {
|
||||
me.notify("一只凶猛的黑熊朝你扑了过来。");
|
||||
this.do_kill(me);
|
||||
}
|
||||
47
world/npc/bj/guanwai/yanji.js
Normal file
47
world/npc/bj/guanwai/yanji.js
Normal file
@@ -0,0 +1,47 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "阎基",
|
||||
desc: "他是一个没落江湖医生。自从得了胡家刀谱几页残篇后,武功大进。",
|
||||
title:"江湖医生",
|
||||
gender: 1,
|
||||
age: 45,
|
||||
per: 26,
|
||||
mp: 400,
|
||||
max_mp: 4000,
|
||||
hp: 12500,
|
||||
max_hp: 15500,
|
||||
score: 20,
|
||||
prop: {
|
||||
gj: 500,
|
||||
mz: 600,
|
||||
ds: 600,
|
||||
fy: 900
|
||||
}
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
], [
|
||||
"eq/lv0/dao", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 500],
|
||||
["parry", 400],
|
||||
["force", 400],
|
||||
["unarmed", 400],
|
||||
["parry", 300],
|
||||
["blade", 400],
|
||||
["sixiangbu", 400, "dodge"],
|
||||
["hujiadaofa", 400, "blade"],
|
||||
["lengyueshengong", 400, "force"]);
|
||||
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 10,
|
||||
max: 30
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian"],
|
||||
odds: 8000
|
||||
}, {
|
||||
obj: ["book/bc#hujiadaofa", "sp/bj/yanji"],
|
||||
odds: 3000
|
||||
});
|
||||
134
world/npc/bj/lm/heilong.js
Normal file
134
world/npc/bj/lm/heilong.js
Normal file
@@ -0,0 +1,134 @@
|
||||
this.inherits(MONSTER);
|
||||
|
||||
|
||||
this.name = "黑龙";
|
||||
this.desc = "它被玄铁锁链捆在盘龙柱上,鳞甲黯淡,挣扎时锁链摩擦作响,发出低哑悲鸣";
|
||||
this.gender = 0;
|
||||
|
||||
this.age = 200;
|
||||
this.per = 20;
|
||||
|
||||
this.mp = 500000;
|
||||
this.max_mp = 500000;
|
||||
this.hp = 55000;
|
||||
this.max_hp = 5000000;
|
||||
this.score = 29;
|
||||
this.prop = {
|
||||
gj: 4900,
|
||||
mz: 4900,
|
||||
ds: 1900,
|
||||
fy: 4900,
|
||||
zj: 1900
|
||||
};
|
||||
this.on_create = function () {
|
||||
this.hp = 55000;
|
||||
}
|
||||
this.set_drop({
|
||||
obj: "st/xuanjing",
|
||||
min: 1,
|
||||
max: 10
|
||||
}, {
|
||||
obj: ['eq/lv2/lm_jian', 'sp/bj/zhu', 'book/bc#qinlong'],
|
||||
odds: 300
|
||||
});
|
||||
this.skill_map(
|
||||
["dodge", 380],
|
||||
["parry", 380],
|
||||
["force", 380],
|
||||
["bite", 380],
|
||||
["heilong", 380, ["bite", "dodge", "parry"]]);
|
||||
this.on_kill = function (me) {
|
||||
if (this.is_free) return false;
|
||||
if (!this.fight_type) {
|
||||
this.environment.set_temp(me, 'kill_hl', 1);
|
||||
me.send(this.name + "轻蔑道:找死!\n");
|
||||
this.do_kill(me);
|
||||
}
|
||||
}
|
||||
|
||||
this.is_free = false;
|
||||
this.fight_time = 0;
|
||||
this.heart_beat = function (dt) {
|
||||
if (this.fight_type > 0) {
|
||||
this.fight_time++;
|
||||
if (this.fight_time > 60) {
|
||||
this.destroy("\n<yel>" + this.name + "身躯腾空而起,随即遁入深潭。</yel>");
|
||||
}
|
||||
} else {
|
||||
this.mp = this.max_mp;
|
||||
this.hp = this.is_free ? 5000000 : 55000;
|
||||
}
|
||||
}
|
||||
|
||||
this.on_enter = function (me) {
|
||||
let room = this.environment;
|
||||
if (room.query_temp(me, 'kill_hl')) {
|
||||
this.do_kill(me);
|
||||
} else {
|
||||
me.send(this.name + '虚弱的抬起脑袋看着你:人类,你想做什么?');
|
||||
me.send_commands('kill ' + this.id, '击杀它', 'free ' + this.id, '放了它');
|
||||
}
|
||||
}
|
||||
this.add_action('free', '放了它', function (me) {
|
||||
me.send(this.name + '挣扎双翼连接的锁链哗啦作响:狡猾的人类,又想骗我什么?这根柱子灵纹封印,单靠蛮力无法破坏。');
|
||||
|
||||
});
|
||||
|
||||
this.on_free = function (me) {
|
||||
this.is_free = true;
|
||||
this.send_room('$N猛地昂起头颅,修长的龙身顺着石柱盘旋,玄铁锁链在龙爪的撕扯接连崩裂。');
|
||||
|
||||
me.add_fbscore(100);
|
||||
this.call_out(this.to_next, 3000, me);
|
||||
|
||||
}
|
||||
this.to_next = function (me) {
|
||||
this.full();
|
||||
this.send_room('$N身躯如墨色闪电般绷直,借反冲之力腾空而起,修长的身躯在空中蜿蜒盘旋,低沉的龙吟响彻锁龙井。');
|
||||
|
||||
this.call_out(this.to_next2, 3000, me);
|
||||
}
|
||||
this.to_next2 = function (me) {
|
||||
if (!this.is_here(me))
|
||||
return this.destroy(this.name + '飞走了。');
|
||||
this.send_room('$N悬在半空低头审视着$n,最终什么也没说,庞大身躯骤然腾空,转瞬间便消失在锁龙井深处。', me);
|
||||
this.send_room('布满裂痕的柱体在巨力撕扯下迸出蛛网般的碎纹,"咔嚓" 声中裂成无数碎石裂片,混着玄铁锁链的残片砸落满地,扬起的烟尘里再无半分龙脉气息。', me);
|
||||
this.destroy();
|
||||
|
||||
let items = me.team || [me];
|
||||
let index = me.environment.parent.fb_index;
|
||||
const eqs = ['eq/lv2/lm_cloth',
|
||||
'eq/lv2/lm_tou',
|
||||
'eq/lv2/lm_shoes',
|
||||
'eq/lv2/lm_pifeng',
|
||||
'eq/lv2/lm_pei'];
|
||||
for (let item of items) {
|
||||
if (item.environment !== me.environment)
|
||||
continue;
|
||||
if (!item.is_player) continue;
|
||||
if (!item.query_temp('fb_sao' + index, 0)) {
|
||||
item.notify("你释放了被锁禁的黑龙,获得称号【黑龙使】。");
|
||||
item.add_title('黑龙使', 'lm');
|
||||
item.notify("<hic>单人(普通)模式扫荡解锁。</hic>");
|
||||
item.set_temp("fb_sao" + index, 1);
|
||||
let obj = item.add_obj(eqs.random());
|
||||
if (obj) {
|
||||
item.send('你从碎裂的锁龙柱下找到' + obj.unit_name(1) + "。");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!WORLD.DATA.query_temp('longmai')) {
|
||||
WORLD.DATA.set_temp('longmai', 1, UTIL.diff_time(20));
|
||||
WORLD.DATA.set_temp("study_per", 50, 3600000 * 2);
|
||||
COMMAND.DO("rumor",
|
||||
"听说" + me.name + "解锁了龙脉,所有人的学习效率增加了。");
|
||||
EVENTS.add({
|
||||
id: "longmai",
|
||||
name: "龙脉解锁",
|
||||
desc: me.name + '解锁了龙脉,接下来的两小时所有人的学习效率+50%。',
|
||||
time: Date.now() + 3600000 * 2,
|
||||
grade: 1
|
||||
});
|
||||
}
|
||||
}
|
||||
40
world/npc/bj/lm/xiezi.js
Normal file
40
world/npc/bj/lm/xiezi.js
Normal file
@@ -0,0 +1,40 @@
|
||||
this.inherits(MONSTER);
|
||||
this.name = "石甲蝎";
|
||||
this.desc = "通体青黑如岩石,甲壳上布满尖刺,尾钩泛着幽蓝毒光。";
|
||||
this.gender = 0;
|
||||
|
||||
this.age = 200;
|
||||
this.per = 20;
|
||||
|
||||
this.mp = 5000;
|
||||
this.max_mp = 5000;
|
||||
this.hp = 14000;
|
||||
this.max_hp = 14000;
|
||||
this.score = 10;
|
||||
this.prop = {
|
||||
gj: 900,
|
||||
mz: 1100,
|
||||
ds: 900,
|
||||
fy: 900,
|
||||
zj: 900,
|
||||
gjsd: 2000
|
||||
};
|
||||
|
||||
this.skill_map(
|
||||
["dodge", 200],
|
||||
["parry", 250],
|
||||
["force", 300],
|
||||
["bite", 300],
|
||||
["xiezigongji", 280, "bite"]);
|
||||
this.set_drop({
|
||||
obj: "st/xuanjing",
|
||||
min: 1,
|
||||
max: 3
|
||||
});
|
||||
|
||||
|
||||
this.on_enter = function (me) {
|
||||
if (me.is_player && !this.fight_type) {
|
||||
this.do_kill(me);
|
||||
}
|
||||
}
|
||||
41
world/npc/bj/lm/yongwei.js
Normal file
41
world/npc/bj/lm/yongwei.js
Normal file
@@ -0,0 +1,41 @@
|
||||
this.inherits(NPC);
|
||||
this.name = "披甲俑卫";
|
||||
this.desc = "身着残破铁甲,头盔遮住大半面容,仅露一双空洞眼窝。手持锈迹斑斑的长刀。";
|
||||
this.gender = 1;
|
||||
|
||||
this.age = 200;
|
||||
this.per = 20;
|
||||
|
||||
this.mp = 5000;
|
||||
this.max_mp = 5000;
|
||||
this.hp = 22000;
|
||||
this.max_hp = 22000;
|
||||
|
||||
this.score = 20;
|
||||
this.prop = {
|
||||
gj: 1000,
|
||||
mz: 1500,
|
||||
fy: 2000,
|
||||
ds: 1000,
|
||||
zj: 1000,
|
||||
gjsd: 1500
|
||||
};
|
||||
this.skill_map(
|
||||
["dodge", 200],
|
||||
["parry", 250],
|
||||
["unarmed", 300],
|
||||
["force", 300],
|
||||
["daidaokuilei", 380,
|
||||
["unarmed", "parry", "force", "dodge"]]);
|
||||
this.set_drop({
|
||||
obj: "st/xuanjing",
|
||||
min: 1,
|
||||
max: 3
|
||||
}, {
|
||||
obj: ['eq/lv2/lm_cloth',
|
||||
'eq/lv2/lm_tou',
|
||||
'eq/lv2/lm_shoes',
|
||||
'eq/lv2/lm_pifeng',
|
||||
'eq/lv2/lm_pei'],
|
||||
odds: 500
|
||||
});
|
||||
47
world/npc/bj/shenlong/dizi.js
Normal file
47
world/npc/bj/shenlong/dizi.js
Normal file
@@ -0,0 +1,47 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "神龙教弟子",
|
||||
desc: "这是一个神龙教弟子,一袭黑衣,混身透着一股邪气。",
|
||||
gender: 1,
|
||||
age: 25,
|
||||
per: 26,
|
||||
mp: 400,
|
||||
max_mp: 400,
|
||||
hp: 1500,
|
||||
max_hp: 1500,
|
||||
score: 1
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
], [
|
||||
"eq/lv0/jian", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 150],
|
||||
["parry", 150],
|
||||
["force", 150],
|
||||
["unarmed", 150],
|
||||
["sword", 150],
|
||||
["staff", 150],
|
||||
["shenlongjian", 150, "sword"],
|
||||
["yixingbufa", 150, "dodge"],
|
||||
["shenlongxinfa", 150, "force"]);
|
||||
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 10,
|
||||
max: 15
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian", "eq/lv0/tiezhang"],
|
||||
odds: 8000
|
||||
}, {
|
||||
obj: ["book/bc#shenlongxinfa", "book/bc#yixingbufa", "book/bc#shenlongjian"],
|
||||
odds: 3000
|
||||
});
|
||||
this.set_chat_msg([
|
||||
"年轻弟子忽然高声叫道:教主宝训,时刻在心,建功克敌,无事不成!",
|
||||
"年轻弟子忽然齐声叫道:众志齐心可成城,威震天下无比伦!",
|
||||
"年轻弟子忽然齐声叫道:神龙飞天齐仰望,教主声威盖八方!",
|
||||
"年轻弟子忽然齐声叫道:乘风破浪逞英豪,教主如同日月光!",
|
||||
"年轻弟子齐声叫道:教主永享仙福,寿与天齐!"
|
||||
]);
|
||||
23
world/npc/bj/shenlong/dushe.js
Normal file
23
world/npc/bj/shenlong/dushe.js
Normal file
@@ -0,0 +1,23 @@
|
||||
this.inherits(MONSTER);
|
||||
this.set({
|
||||
name: "毒蛇",
|
||||
desc: "一只昂首挺胸,吐着信子的毒蛇正盯着你。",
|
||||
gender: 1,
|
||||
mp: 180,
|
||||
max_mp: 180,
|
||||
hp: 380,
|
||||
max_hp: 380,
|
||||
score: 5
|
||||
});
|
||||
this.skill_map(
|
||||
["bite", 200],
|
||||
["dushegongji", 200,"bite"]);
|
||||
//drop path,min,max,per
|
||||
this.set_drop({
|
||||
obj: "res/pimao1",
|
||||
min: 1,
|
||||
max: 4
|
||||
});
|
||||
this.on_enter = function (me) {
|
||||
this.do_kill(me);
|
||||
}
|
||||
58
world/npc/bj/shenlong/hong.js
Normal file
58
world/npc/bj/shenlong/hong.js
Normal file
@@ -0,0 +1,58 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "洪安通",
|
||||
desc: "他就是武功盖世、令江湖人等谈之色变的神龙教教主洪安通。",
|
||||
title: "神龙教教主",
|
||||
gender: 1,
|
||||
age: 50,
|
||||
per: 26,
|
||||
mp: 1400,
|
||||
max_mp: 7400,
|
||||
hp: 10500,
|
||||
max_hp: 10500,
|
||||
pfm_rate: 1,
|
||||
score: 40,
|
||||
prop: {
|
||||
zj: -300,
|
||||
gj: 400
|
||||
}
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
], [
|
||||
"eq/lv2/sl_zhang", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 350],
|
||||
["parry", 350],
|
||||
["force", 350],
|
||||
["unarmed", 350],
|
||||
["sword", 350],
|
||||
["staff", 350],
|
||||
["huagumianzhang", 450],
|
||||
["yixingbufa", 350, "dodge"],
|
||||
["shenlongxinfa", 350, "force"],
|
||||
["shedaoqigong", 350, ["parry", "staff"]]);
|
||||
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 1,
|
||||
max: 5
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian", "eq/lv0/tiezhang"],
|
||||
odds: 8000
|
||||
}, {
|
||||
obj: ["eq/lv2/sl_cloth", "eq/lv2/sl_tou", "eq/lv2/sl_shoes", "eq/lv2/sl_shou", "eq/lv2/sl_yao", "eq/lv2/sl_zhang", "eq/lv2/sl_ling"],
|
||||
odds: 3000
|
||||
}, {
|
||||
obj: ["book/bc#shenlongxinfa", "book/bc#yixingbufa", "book/bc#shedaoqigong", "book/bc#shenlongjian", "book/bc#huagumianzhang"],
|
||||
odds: 5000
|
||||
});
|
||||
this.on_kill = function (me) {
|
||||
this.send_room("洪安通喝到:来我们神龙教撒野?给我上!");
|
||||
this.each_item(item => {
|
||||
if (!item.is_player && item.hp > 0 && !item.master) {
|
||||
item.do_kill(me);
|
||||
}
|
||||
}, this.environment);
|
||||
}
|
||||
50
world/npc/bj/shenlong/lu.js
Normal file
50
world/npc/bj/shenlong/lu.js
Normal file
@@ -0,0 +1,50 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "陆高轩",
|
||||
desc: "他天庭饱满,地阔方圆,容貌颇为英俊.然而满面愁容,恰似顷刻间便有杀身之祸一般.",
|
||||
title: "神龙教军师",
|
||||
gender: 1,
|
||||
age: 37,
|
||||
per: 26,
|
||||
mp: 1400,
|
||||
max_mp: 4400,
|
||||
hp: 8500,
|
||||
max_hp: 8500,
|
||||
score: 10,
|
||||
prop: {
|
||||
zj: 100,
|
||||
gj: 300
|
||||
}
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
], [
|
||||
"eq/lv0/jian", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 250],
|
||||
["parry", 250],
|
||||
["force", 250],
|
||||
["unarmed", 250],
|
||||
["sword", 250],
|
||||
["staff", 250],
|
||||
["huagumianzhang", 250, "unarmed"],
|
||||
["shenlongjian", 250, "sword"],
|
||||
["yixingbufa", 250, "dodge"],
|
||||
["shenlongxinfa", 250, "force"],
|
||||
["shedaoqigong", 250, "parry"]);
|
||||
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 1,
|
||||
max: 5
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian", "eq/lv0/tiezhang"],
|
||||
odds: 8000
|
||||
}, {
|
||||
obj: ["eq/lv2/sl_cloth", "eq/lv2/sl_tou", "eq/lv2/sl_shoes", "eq/lv2/sl_shou", "eq/lv2/sl_yao"],
|
||||
odds: 2000
|
||||
}, {
|
||||
obj: ["book/bc#shenlongxinfa", "book/bc#yixingbufa", "book/bc#shedaoqigong", "book/bc#shenlongjian", "book/bc#huagumianzhang"],
|
||||
odds: 5000
|
||||
});
|
||||
47
world/npc/bj/shenlong/nvdizi.js
Normal file
47
world/npc/bj/shenlong/nvdizi.js
Normal file
@@ -0,0 +1,47 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "神龙教女弟子",
|
||||
desc: "这是一个神龙教女弟子,一袭红衣,长得颇为可爱。",
|
||||
gender: 2,
|
||||
age: 25,
|
||||
per: 26,
|
||||
mp: 400,
|
||||
max_mp: 400,
|
||||
hp: 1500,
|
||||
max_hp: 1500,
|
||||
score: 1
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
], [
|
||||
"eq/lv0/jian", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 150],
|
||||
["parry", 150],
|
||||
["force", 150],
|
||||
["unarmed", 150],
|
||||
["sword", 150],
|
||||
["staff", 150],
|
||||
["shenlongjian", 150, "sword"],
|
||||
["yixingbufa", 150, "dodge"],
|
||||
["shenlongxinfa", 150, "force"]);
|
||||
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 1,
|
||||
max: 5
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian", "eq/lv0/tiezhang"],
|
||||
odds: 8000
|
||||
}, {
|
||||
obj: ["book/bc#shenlongxinfa", "book/bc#yixingbufa", "book/bc#shenlongjian"],
|
||||
odds: 3000
|
||||
});
|
||||
this.set_chat_msg([
|
||||
"年轻弟子忽然高声叫道:教主宝训,时刻在心,建功克敌,无事不成!",
|
||||
"年轻弟子忽然齐声叫道:众志齐心可成城,威震天下无比伦!",
|
||||
"年轻弟子忽然齐声叫道:神龙飞天齐仰望,教主声威盖八方!",
|
||||
"年轻弟子忽然齐声叫道:乘风破浪逞英豪,教主如同日月光!",
|
||||
"年轻弟子齐声叫道:教主永享仙福,寿与天齐!"
|
||||
]);
|
||||
58
world/npc/bj/shenlong/wugen.js
Normal file
58
world/npc/bj/shenlong/wugen.js
Normal file
@@ -0,0 +1,58 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "无根道长",
|
||||
desc: "这是个五十来岁的黑须道长,相貌威武,眼中略带杀气。",
|
||||
title: "神龙教赤龙使",
|
||||
gender: 1,
|
||||
age: 55,
|
||||
per: 26,
|
||||
mp: 1400,
|
||||
max_mp: 4400,
|
||||
hp: 8500,
|
||||
max_hp: 8500,
|
||||
score: 10,
|
||||
prop: {
|
||||
zj: 100,
|
||||
gj: 300
|
||||
}
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
], [
|
||||
"eq/lv0/jian", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 250],
|
||||
["parry", 250],
|
||||
["force", 250],
|
||||
["unarmed", 250],
|
||||
["sword", 250],
|
||||
["staff", 250],
|
||||
["huagumianzhang", 250, "unarmed"],
|
||||
["shenlongjian", 250, "sword"],
|
||||
["yixingbufa", 250, "dodge"],
|
||||
["shenlongxinfa", 250, "force"],
|
||||
["shedaoqigong", 250, "parry"]);
|
||||
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 10,
|
||||
max: 20
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian", "eq/lv0/tiezhang"],
|
||||
odds: 8000
|
||||
}, {
|
||||
obj: ["eq/lv2/sl_cloth", "eq/lv2/sl_tou", "eq/lv2/sl_shoes", "eq/lv2/sl_shou", "eq/lv2/sl_yao"],
|
||||
odds: 2000
|
||||
}, {
|
||||
obj: ["book/bc#shenlongxinfa", "book/bc#yixingbufa", "book/bc#shedaoqigong", "book/bc#shenlongjian", "book/bc#huagumianzhang"],
|
||||
odds: 5000
|
||||
});
|
||||
this.on_kill = function (me) {
|
||||
this.send_room("洪安通喝到:来我们神龙教撒野?给我上!");
|
||||
this.each_item(item => {
|
||||
if (!item.is_player && item.hp > 0 && !item.master) {
|
||||
item.do_kill(me);
|
||||
}
|
||||
}, this.environment);
|
||||
}
|
||||
55
world/npc/bj/shenlong/xu.js
Normal file
55
world/npc/bj/shenlong/xu.js
Normal file
@@ -0,0 +1,55 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "许雪亭",
|
||||
desc: "这是个五十来岁的高瘦汉子,着一袭青衣,昂然挺立。",
|
||||
title: "神龙教青龙使",
|
||||
gender: 1,
|
||||
age: 55,
|
||||
per: 26,
|
||||
mp: 1400,
|
||||
max_mp: 4400,
|
||||
hp: 8500,
|
||||
max_hp: 8500,
|
||||
score: 10,
|
||||
prop: {
|
||||
zj: 100,
|
||||
gj: 300
|
||||
}
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
], [
|
||||
"eq/lv0/jian", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 250],
|
||||
["parry", 250],
|
||||
["force", 250],
|
||||
["unarmed", 250],
|
||||
["sword", 250],
|
||||
["staff", 250],
|
||||
["huagumianzhang", 250, "unarmed"],
|
||||
["shenlongjian", 250, "sword"],
|
||||
["yixingbufa", 250, "dodge"],
|
||||
["shenlongxinfa", 250, "force"],
|
||||
["shedaoqigong", 250, "parry"]);
|
||||
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 10,
|
||||
max: 20
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian", "eq/lv0/tiezhang"],
|
||||
odds: 8000
|
||||
}, {
|
||||
obj: ["eq/lv2/sl_cloth", "eq/lv2/sl_tou", "eq/lv2/sl_shoes", "eq/lv2/sl_shou", "eq/lv2/sl_yao"],
|
||||
odds: 2000
|
||||
}, {
|
||||
obj: ["book/bc#shenlongxinfa", "book/bc#yixingbufa", "book/bc#shedaoqigong", "book/bc#shenlongjian"],
|
||||
odds: 5000
|
||||
});
|
||||
this.set_chat_msg([
|
||||
"许雪亭忽然一怕脑袋,说:对了,可以用百花腹蛇膏!",
|
||||
"许雪亭怒道:唉,偌大一个神龙教,都毁在一个娘么手里了!",
|
||||
"许雪亭叹口气,说道:唉,不杀了洪安通,谁也活不了。"
|
||||
]);
|
||||
58
world/npc/bj/shenlong/zhang.js
Normal file
58
world/npc/bj/shenlong/zhang.js
Normal file
@@ -0,0 +1,58 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "张淡月",
|
||||
desc: "这是一个黑衣大汉,脸色大变,身子发颤,似乎恐惧已极",
|
||||
title: "神龙教黑龙使",
|
||||
gender: 1,
|
||||
age: 55,
|
||||
per: 26,
|
||||
mp: 1400,
|
||||
max_mp: 4400,
|
||||
hp: 8500,
|
||||
max_hp: 8500,
|
||||
score: 10,
|
||||
prop: {
|
||||
zj: 100,
|
||||
gj: 300
|
||||
}
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
], [
|
||||
"eq/lv0/jian", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 250],
|
||||
["parry", 250],
|
||||
["force", 250],
|
||||
["unarmed", 250],
|
||||
["sword", 250],
|
||||
["staff", 250],
|
||||
["huagumianzhang", 250, "unarmed"],
|
||||
["shenlongjian", 250, "sword"],
|
||||
["yixingbufa", 250, "dodge"],
|
||||
["shenlongxinfa", 250, "force"],
|
||||
["shedaoqigong", 250, "parry"]);
|
||||
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 10,
|
||||
max: 20
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian", "eq/lv0/tiezhang"],
|
||||
odds: 8000
|
||||
}, {
|
||||
obj: ["eq/lv2/sl_cloth", "eq/lv2/sl_tou", "eq/lv2/sl_shoes", "eq/lv2/sl_shou", "eq/lv2/sl_yao"],
|
||||
odds: 2000
|
||||
}, {
|
||||
obj: ["book/bc#shenlongxinfa", "book/bc#yixingbufa", "book/bc#shedaoqigong", "book/bc#shenlongjian"],
|
||||
odds: 5000
|
||||
});
|
||||
this.on_kill = function (me) {
|
||||
this.send_room("洪安通喝到:来我们神龙教撒野?给我上!");
|
||||
this.each_item(item => {
|
||||
if (!item.is_player && item.hp > 0 && !item.master) {
|
||||
item.do_kill(me);
|
||||
}
|
||||
}, this.environment);
|
||||
}
|
||||
23
world/npc/bj/shenlong/zyshe.js
Normal file
23
world/npc/bj/shenlong/zyshe.js
Normal file
@@ -0,0 +1,23 @@
|
||||
this.inherits(MONSTER);
|
||||
this.set({
|
||||
name: "竹叶青",
|
||||
desc: "一只昂首挺胸,吐着信子的毒蛇正盯着你。",
|
||||
gender: 1,
|
||||
mp: 180,
|
||||
max_mp: 180,
|
||||
hp: 380,
|
||||
max_hp: 380,
|
||||
score: 5
|
||||
});
|
||||
this.skill_map(
|
||||
["bite", 200],
|
||||
["dushegongji", 200, "bite"]);
|
||||
//drop path,min,max,per
|
||||
this.set_drop({
|
||||
obj: "res/pimao1",
|
||||
min: 1,
|
||||
max: 4
|
||||
});
|
||||
this.on_enter = function (me) {
|
||||
this.do_kill(me);
|
||||
}
|
||||
42
world/npc/bj/tdh/chen.js
Normal file
42
world/npc/bj/tdh/chen.js
Normal file
@@ -0,0 +1,42 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "陈近南",
|
||||
desc: "这是一个文士打扮的中年书生,神色和蔼。他就是天下闻名的天地会总舵主陈近南,据说十八般武艺,样样精通。偶尔向这边看过来,顿觉他目光如电,英气逼人。",
|
||||
title: "<hiw>天地会总舵主</hiw>",
|
||||
gender: 1,
|
||||
age: 45,
|
||||
per: 22,
|
||||
mp: 400,
|
||||
max_mp: 400,
|
||||
hp: 5000,
|
||||
max_hp: 5000,
|
||||
score: 55
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
], ["eq/lv0/jian", 1, 1]);
|
||||
this.skill_map(
|
||||
["dodge", 300],
|
||||
["parry", 300],
|
||||
["force", 300],
|
||||
["unarmed", 300],
|
||||
["sword", 300],
|
||||
["yunlongjian", 300, "sword"],
|
||||
["yunlongshenfa", 300, "dodge"],
|
||||
["yunlongxinfa", 300, "force"]);
|
||||
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 10,
|
||||
max: 20
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian"],
|
||||
odds: 8000
|
||||
},
|
||||
{
|
||||
obj: ["book/bc#yunlongjian", "book/bc#yunlongshenfa", "book/bc#yunlongxinfa"],
|
||||
odds: 8000
|
||||
}, {
|
||||
obj: ["eq/lv2/yunlongjian"],
|
||||
odds: 1000
|
||||
});
|
||||
55
world/npc/bj/tdh/dubi.js
Normal file
55
world/npc/bj/tdh/dubi.js
Normal file
@@ -0,0 +1,55 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "独臂神尼",
|
||||
desc: "这是一位白衣女尼,手握拂尘,目视前方。一只长袖空空如也,显是断了一臂,尽管如此,仍然掩不住她迷人的风采。",
|
||||
gender: 2,
|
||||
age: 37,
|
||||
per: 38,
|
||||
mp: 400,
|
||||
max_mp: 400,
|
||||
hp: 2500,
|
||||
max_hp: 2500,
|
||||
score: 10
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1,
|
||||
"eq/lv1/fuchen", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 300],
|
||||
["parry", 300],
|
||||
["force", 300],
|
||||
["unarmed", 300],
|
||||
["whip", 300],
|
||||
["shenxingbaibian", 300, "dodge"],
|
||||
["qiufengfuchen", 300, "whip"]);
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 10,
|
||||
max: 30
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian", "eq/lv1/fuchen"],
|
||||
odds: 8000
|
||||
},
|
||||
{
|
||||
obj: ["book/bc#shenxingbaibian", "book/bc#qiufengfuchen"],
|
||||
odds: 5000
|
||||
});
|
||||
this.on_checkskill = function (me) {
|
||||
if (me.query_temp("fb/tdh/dubi") == 2) {
|
||||
if (me.query_temp("fb/tdh/shenxing")) return me.notify_fail("独臂神尼说道:虽然不完整,也是秘籍,还请" + me.call() + "不要嫌弃。");
|
||||
|
||||
me.notify("独臂神尼说道:这位" + me.call() + ",如果你想学的话,我这里有份神行百变的秘籍残页,你可以拿去参悟。");
|
||||
var obj = me.add_obj("book/bc#shenxingbaibian");
|
||||
me.set_temp("fb/tdh/shenxing", 1);
|
||||
if (obj) {
|
||||
me.notify("独臂神尼给了你" + obj.unit + obj.color_name + "。");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return me.query_temp("fb/tdh/dubi") == 1;
|
||||
}
|
||||
this.on_teach = function (me, sk) {
|
||||
if (sk != "shenxingbaibian") return me.notify_fail("独臂神尼说道:贫尼只能教你神行百变。");
|
||||
return true;
|
||||
}
|
||||
38
world/npc/bj/tdh/guan.js
Normal file
38
world/npc/bj/tdh/guan.js
Normal file
@@ -0,0 +1,38 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "关安基",
|
||||
desc: "只见他长长的胡子飘在胸前,模样甚是威严。因此人称关夫子。",
|
||||
title: "关夫子",
|
||||
gender: 1,
|
||||
age: 35,
|
||||
per: 26,
|
||||
mp: 400,
|
||||
max_mp: 400,
|
||||
hp: 1000,
|
||||
max_hp: 1000,
|
||||
score: 10
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 200],
|
||||
["parry", 200],
|
||||
["force", 200],
|
||||
["unarmed", 200],
|
||||
["houquan", 200, "unarmed"],
|
||||
["yunlongshenfa", 200, "dodge"],
|
||||
["yunlongxinfa", 200, "force"]);
|
||||
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 10,
|
||||
max: 20
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian"],
|
||||
odds: 8000
|
||||
});
|
||||
this.set_chat_msg([
|
||||
"关安基忽然说:唉,我的脾气不大好,大家可要小心了。",
|
||||
"关安基忽然说:本堂的香主谁来当,还轮不到我说话。"
|
||||
]);
|
||||
31
world/npc/bj/tdh/huoji.js
Normal file
31
world/npc/bj/tdh/huoji.js
Normal file
@@ -0,0 +1,31 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "药铺伙计",
|
||||
desc: "他十分强壮,看上去会几分武功,对药铺生意似乎并不在乎。",
|
||||
gender: 1,
|
||||
age: 28,
|
||||
per: 22,
|
||||
mp: 400,
|
||||
max_mp: 400,
|
||||
hp:500,
|
||||
max_hp: 500,
|
||||
score: 5
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 100],
|
||||
["parry", 100],
|
||||
["force", 100],
|
||||
["unarmed", 100],
|
||||
["houquan", 100,"unarmed"]);
|
||||
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 10,
|
||||
max: 20
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian"],
|
||||
odds: 8000
|
||||
});
|
||||
68
world/npc/bj/tdh/lama.js
Normal file
68
world/npc/bj/tdh/lama.js
Normal file
@@ -0,0 +1,68 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "喇嘛",
|
||||
desc: "这是一个高大喇嘛,两臂粗壮,膀阔腰圆,似乎不是中土人士。",
|
||||
gender: 1,
|
||||
age: 37,
|
||||
per: 22,
|
||||
mp: 400,
|
||||
max_mp: 400,
|
||||
hp: 1500,
|
||||
max_hp: 1500,
|
||||
score: 10
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1,
|
||||
"eq/lv0/dao", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 200],
|
||||
["parry", 200],
|
||||
["force", 200],
|
||||
["unarmed", 200],
|
||||
["blade", 200],
|
||||
["mizongxinfa", 200, "force"],
|
||||
["dashouyin", 200, "unarmed"]);
|
||||
this.on_enter = function (me) {
|
||||
if (this.is_fighting()) return;
|
||||
me.notify("喇嘛说道:你是谁,居然敢破坏大爷的好事,不想活了是不是?!");
|
||||
this.each_item(item => {
|
||||
if (item.path == this.path) {
|
||||
item.do_kill(me);
|
||||
}
|
||||
}, this.environment);
|
||||
}
|
||||
this.on_die = function (killer) {
|
||||
var ishas = false;
|
||||
var dubi = null;
|
||||
this.each_item(item => {
|
||||
if (item != this && item.path == this.path) {
|
||||
ishas = true;
|
||||
} else if (item.path == "bj/tdh/dubi") {
|
||||
dubi = item;
|
||||
}
|
||||
}, this.environment);
|
||||
if (!ishas && dubi && killer) {
|
||||
var rd = this.random(killer.kar / 2) + killer.kar / 2 > 20;
|
||||
if (rd) {
|
||||
|
||||
killer.notify("白衣女尼对你说道:“多谢这位" + killer.call() + "拔刀相助,贫尼感激不尽,无以为报。这里有一套神行百变身法,你若愿学,贫尼定倾囊以授。");
|
||||
killer.set_temp("fb/tdh/dubi", 1);
|
||||
} else {
|
||||
killer.set_temp("fb/tdh/dubi", 2);
|
||||
killer.notify("白衣女尼对你说道:“多谢这位" + killer.call() + "拔刀相助,贫尼感激不尽。");
|
||||
}
|
||||
}
|
||||
}
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 5,
|
||||
max: 12
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian"],
|
||||
odds: 8000
|
||||
},
|
||||
{
|
||||
obj: ["book/bc#mizongxinfa", "book/bc#dashouyin"],
|
||||
odds: 3000
|
||||
});
|
||||
40
world/npc/bj/tdh/li.js
Normal file
40
world/npc/bj/tdh/li.js
Normal file
@@ -0,0 +1,40 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "李力世",
|
||||
desc: "这是一个身材矮小,满连胡须的中年人,身上的衣服又脏又破,脸上满是皱纹,看上去饱经风霜。",
|
||||
gender: 1,
|
||||
age: 55,
|
||||
per: 22,
|
||||
mp: 400,
|
||||
max_mp: 400,
|
||||
hp: 1500,
|
||||
max_hp: 1500,
|
||||
score: 10
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1,
|
||||
"eq/lv0/dao", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 200],
|
||||
["parry", 200],
|
||||
["force", 200],
|
||||
["unarmed", 200],
|
||||
["blade", 200],
|
||||
["houquan", 200, "unarmed"],
|
||||
["yunlongshenfa", 200, "dodge"],
|
||||
["yunlongxinfa", 200, "force"],
|
||||
["wuhuduanmendao", 200, "blade"]);
|
||||
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 10,
|
||||
max: 14
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian"],
|
||||
odds: 8000
|
||||
},
|
||||
{
|
||||
obj: ["book/bc#wuhuduanmendao"],
|
||||
odds: 5000
|
||||
});
|
||||
42
world/npc/bj/tdh/wu.js
Normal file
42
world/npc/bj/tdh/wu.js
Normal file
@@ -0,0 +1,42 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "吴六奇",
|
||||
desc: "这个老叫花,便是天下闻名的“铁丐”吴六奇,向来嫉恶如仇。他在官居广东提督之时,手握一省重兵,受了查伊璜的劝导,心存反清复明之志,暗入天地会,任职洪顺堂香主。",
|
||||
title: "铁丐",
|
||||
gender: 1,
|
||||
age: 55,
|
||||
per: 22,
|
||||
mp: 400,
|
||||
max_mp: 400,
|
||||
hp: 1500,
|
||||
max_hp: 1500,
|
||||
score: 10
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 200],
|
||||
["parry", 200],
|
||||
["force", 200],
|
||||
["unarmed", 200],
|
||||
["houquan", 250, "unarmed"],
|
||||
["yunlongshenfa", 200, "dodge"],
|
||||
["yunlongxinfa", 200, "force"]);
|
||||
|
||||
this.on_enter = function (me) {
|
||||
me.notify("吴六奇对你喝到:你不是我天地会的人,来这里做什么?");
|
||||
this.do_kill(me);
|
||||
}
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 10,
|
||||
max: 20
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian"],
|
||||
odds: 8000
|
||||
},
|
||||
{
|
||||
obj: ["book/bc#houquan"],
|
||||
odds: 5000
|
||||
});
|
||||
38
world/npc/bj/tdh/xu.js
Normal file
38
world/npc/bj/tdh/xu.js
Normal file
@@ -0,0 +1,38 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "徐天川",
|
||||
desc: "他是青木堂数一数二的好手,手上功夫十分了得,尤其擅使一套猴拳。",
|
||||
title: "天地会青木堂护法",
|
||||
gender: 1,
|
||||
age: 55,
|
||||
per: 22,
|
||||
mp: 400,
|
||||
max_mp: 400,
|
||||
hp: 1000,
|
||||
max_hp: 1000,
|
||||
score: 10
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 200],
|
||||
["parry", 200],
|
||||
["force", 200],
|
||||
["unarmed", 200],
|
||||
["houquan", 200, "unarmed"],
|
||||
["yunlongshenfa", 200, "dodge"],
|
||||
["yunlongxinfa", 200, "force"]);
|
||||
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 10,
|
||||
max: 20
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian"],
|
||||
odds: 8000
|
||||
},
|
||||
{
|
||||
obj: ["book/bc#houquan"],
|
||||
odds: 5000
|
||||
});
|
||||
44
world/npc/bj/tdh/xuan.js
Normal file
44
world/npc/bj/tdh/xuan.js
Normal file
@@ -0,0 +1,44 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "玄真道长",
|
||||
desc: "这位沉默寡言的道人,便是天地会青木堂护法。他是青木堂数一数二的好手,一柄长剑使得出神入化。",
|
||||
title: "天地会青木堂护法",
|
||||
gender: 1,
|
||||
age: 55,
|
||||
per: 22,
|
||||
mp: 400,
|
||||
max_mp: 400,
|
||||
hp: 2000,
|
||||
max_hp: 2000,
|
||||
score: 10
|
||||
});
|
||||
this.on_enter = function (me) {
|
||||
me.notify("玄真道长对你喝到:你不是我天地会的人,来这里做什么?");
|
||||
this.do_kill(me);
|
||||
}
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
], ["eq/lv0/jian", 1, 1]);
|
||||
this.skill_map(
|
||||
["dodge", 200],
|
||||
["parry", 200],
|
||||
["force", 200],
|
||||
["unarmed", 200],
|
||||
["sword", 200],
|
||||
["houquan", 200, "unarmed"],
|
||||
["yunlongjian", 200, "sword"],
|
||||
["yunlongshenfa", 200, "dodge"],
|
||||
["yunlongxinfa", 200, "force"]);
|
||||
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 10,
|
||||
max: 20
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian"],
|
||||
odds: 8000
|
||||
},
|
||||
{
|
||||
obj: ["book/bc#yunlongjian"],
|
||||
odds: 1000
|
||||
});
|
||||
63
world/npc/bj/zhuang/furen.js
Normal file
63
world/npc/bj/zhuang/furen.js
Normal file
@@ -0,0 +1,63 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "庄夫人",
|
||||
desc: "只见她约莫二十六七年纪,全身缟素,不施脂粉,脸色苍白",
|
||||
title: "庄家三少奶奶",
|
||||
gender: 2,
|
||||
age: 26,
|
||||
per: 32,
|
||||
mp: 400,
|
||||
max_mp: 400,
|
||||
hp: 1500,
|
||||
max_hp: 1500
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
], [
|
||||
"eq/lv0/dao", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 150],
|
||||
["parry", 150],
|
||||
["force", 150],
|
||||
["unarmed", 150],
|
||||
["sword", 150],
|
||||
["huashanjianfa", 150, "sword"],
|
||||
["shenxingbaibian", 150, "dodge"]);
|
||||
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 10,
|
||||
max: 20
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian", "eq/lv0/tiezhang"],
|
||||
odds: 8000
|
||||
}, {
|
||||
obj: ["book/bc#shenxingbaibian", "book/bc#huashanjianfa", "book/bc#shenlongjian"],
|
||||
odds: 3000
|
||||
});
|
||||
this.set_ask("吴之荣", function (me) {
|
||||
if (me.query_temp("fb/zhuang/shuang")) return me.notify("庄夫人说道:多谢恩公代妾身手刃了次贼。");
|
||||
me.notify("庄夫人说道:这个狗贼害的我家破人亡,我一定要手刃了这个奸贼。");
|
||||
var obj = me.find_obj_bypath("sp/bj/wu");
|
||||
if (obj)
|
||||
me.send_commands("give " + this.id + " 1 " + obj.id, "给她吴之荣的头颅");
|
||||
});
|
||||
this.on_accept = function (me, obj, count) {
|
||||
if (!obj || !obj.path || me.query_temp("fb/zhuang/shuang")) return;
|
||||
if (obj.is("sp/bj/wu")) {
|
||||
me.notify("庄夫人看着吴之荣的头颅,或许是想到了已经阴阳两隔的家人,清丽的脸上有几分愤怒,更多的是悲伤。\n半晌后庄夫人擦了擦眼角对你说道:这位" +
|
||||
me.call() + ",如此大恩大德,妾身实不知何以为报。");
|
||||
if (me.per + me.query_prop("per") > 36) {
|
||||
me.notify("庄夫人拉着双儿对你说道:这小丫头跟随妾身多年,做事也还妥当,就送与恩公代为照料。");
|
||||
me.set_temp("fb/zhuang/shuang", 1);
|
||||
} else {
|
||||
me.notify("庄夫人看了你一会,对你说道:这本书是救妾身这群人的恩公给我的,今日就送与恩公。");
|
||||
var obj = me.add_obj("book/bc#huashanjianfa");
|
||||
if (obj) {
|
||||
me.notify("庄夫人给了你" + obj.unit_name(1) + "。");
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
53
world/npc/bj/zhuang/shuanger.js
Normal file
53
world/npc/bj/zhuang/shuanger.js
Normal file
@@ -0,0 +1,53 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "双儿",
|
||||
desc: "她是一个十分清秀的少女,大约十四五岁年纪,一张雪白的脸庞,眉弯嘴小,笑靥如花,正笑嘻嘻地看着你。",
|
||||
title: "<hiw>天下无双</hiw>",
|
||||
gender: 2,
|
||||
age: 14,
|
||||
per: 39,
|
||||
mp: 400,
|
||||
max_mp: 400,
|
||||
hp: 1500,
|
||||
max_hp: 1500
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
], [
|
||||
"eq/lv0/dao", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 150],
|
||||
["parry", 150],
|
||||
["force", 150],
|
||||
["unarmed", 150],
|
||||
["sword", 150],
|
||||
["huashanjianfa", 150, "sword"],
|
||||
["shenxingbaibian", 150, "dodge"]);
|
||||
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 10,
|
||||
max: 20
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian", "eq/lv0/tiezhang"],
|
||||
odds: 8000
|
||||
}, {
|
||||
obj: ["book/bc#shenxingbaibian", "book/bc#huashanjianfa", "book/bc#shenlongjian"],
|
||||
odds: 3000
|
||||
});
|
||||
|
||||
this.set_ask("跟我走吧", function (me) {
|
||||
if (me.query_temp("fb/zhuang/shuang")) {
|
||||
me.notify("<hiy>双儿道:夫人待我恩重如山,主人对我庄家又有大恩。夫人要我服侍主人,我一定尽心。</hiy>");
|
||||
var obj = me.add_obj("sp/npc#shuang");
|
||||
if (obj) {
|
||||
me.notify("你获得了" + obj.unit_name(1) + "。");
|
||||
|
||||
}
|
||||
me.remove_temp("fb/zhuang/shuang");
|
||||
this.destroy();
|
||||
} else {
|
||||
me.notify("双儿睁大眼睛看着你说道:不行的,夫人没有同意。");
|
||||
}
|
||||
});
|
||||
41
world/npc/bj/zhuang/tufei.js
Normal file
41
world/npc/bj/zhuang/tufei.js
Normal file
@@ -0,0 +1,41 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "土匪",
|
||||
desc: "这家伙满脸横肉一付凶神恶煞的模样,令人望而生畏。",
|
||||
gender: 1,
|
||||
age: 25,
|
||||
per: 26,
|
||||
mp: 400,
|
||||
max_mp: 400,
|
||||
hp: 1500,
|
||||
max_hp: 1500,
|
||||
score: 30
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
], [
|
||||
"eq/lv0/dao", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 150],
|
||||
["parry", 150],
|
||||
["force", 150],
|
||||
["unarmed", 150],
|
||||
["blade", 150],
|
||||
["wuhuduanmendao", 250, "blade"]);
|
||||
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 1,
|
||||
max: 20
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian", "eq/lv0/tiezhang"],
|
||||
odds: 8000
|
||||
}, {
|
||||
obj: ["book/bc#shenlongxinfa", "book/bc#yixingbufa", "book/bc#shenlongjian"],
|
||||
odds: 3000
|
||||
});
|
||||
this.on_enter = function (me) {
|
||||
me.notify("土匪一声大喊: 此山是我开,此树是我栽,若要从此过,留下买路财 !");
|
||||
this.do_kill(me);
|
||||
}
|
||||
40
world/npc/bj/zhuang/zhang.js
Normal file
40
world/npc/bj/zhuang/zhang.js
Normal file
@@ -0,0 +1,40 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "章老三",
|
||||
desc: "这是一个神龙教弟子,一袭黑衣,混身透着一股邪气。",
|
||||
title: "神龙教小头目",
|
||||
gender: 1,
|
||||
age: 44,
|
||||
per: 26,
|
||||
mp: 400,
|
||||
max_mp: 1400,
|
||||
hp: 2500,
|
||||
max_hp: 2500,
|
||||
score: 70
|
||||
});
|
||||
this.set_objects([
|
||||
"eq/lv0/cloth", 1, 1
|
||||
], [
|
||||
"eq/lv0/jian", 1, 1
|
||||
]);
|
||||
this.skill_map(
|
||||
["dodge", 250],
|
||||
["force", 250],
|
||||
["unarmed", 250],
|
||||
["sword", 250],
|
||||
["staff", 200],
|
||||
["shenlongjian", 250, "sword"],
|
||||
["yixingbufa", 150, "dodge"],
|
||||
["shenlongxinfa", 150, "force"]);
|
||||
|
||||
this.set_drop({
|
||||
obj: "money/silver",
|
||||
min: 1,
|
||||
max: 10
|
||||
}, {
|
||||
obj: ["eq/lv0/cloth", "eq/lv0/dao", "eq/lv0/jian", "eq/lv0/tiezhang"],
|
||||
odds: 8000
|
||||
}, {
|
||||
obj: ["book/bc#shenlongxinfa", "book/bc#yixingbufa", "book/bc#shenlongjian"],
|
||||
odds: 3000
|
||||
});
|
||||
Reference in New Issue
Block a user