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