init: add workspace files

This commit is contained in:
2026-05-26 16:41:20 +08:00
commit f4f2393f72
1041 changed files with 67405 additions and 0 deletions

View 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("女官家挡住了你。");
}