init: add workspace files
This commit is contained in:
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);
|
||||
}
|
||||
Reference in New Issue
Block a user