init: add workspace files
This commit is contained in:
42
world/npc/xiangyang/shouwei3.js
Normal file
42
world/npc/xiangyang/shouwei3.js
Normal file
@@ -0,0 +1,42 @@
|
||||
this.inherits(NPC);
|
||||
this.set({
|
||||
name: "守卫",
|
||||
desc: "襄阳城的守卫者,常年驻守襄阳,勇猛异常",
|
||||
title: "<hiy>都头</hiy>",
|
||||
gender: 1,
|
||||
age: 45,
|
||||
per: 27,
|
||||
max_mp: 500000,
|
||||
max_hp: 500000,
|
||||
level: 3,
|
||||
no_refresh: true,
|
||||
no_fight: true,
|
||||
pfm_rate: 1,
|
||||
prop: {
|
||||
gj: 9000,
|
||||
fy: 9000,
|
||||
mz: 9000,
|
||||
zj: 3500,
|
||||
ds: 6000
|
||||
}
|
||||
});
|
||||
|
||||
this.on_kill = function (me) {
|
||||
return false;
|
||||
}
|
||||
this.skill_map(
|
||||
["dodge", 900],
|
||||
["parry", 900],
|
||||
["force", 900],
|
||||
["unarmed", 900],
|
||||
["club", 900],
|
||||
["zhongpingqiang", 900, ["club", "parry"]],
|
||||
["huntianqigong", 900, "force"],
|
||||
["xianglongzhang", 900, "unarmed"],
|
||||
["feiyanzoubi", 900, "dodge"]);
|
||||
this.on_die = function (me) {
|
||||
if (me.is_player) {
|
||||
me.add_temp('jg', -100);
|
||||
me.notify('<red>你击杀了襄阳守军,军功减少100。</red>');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user