init: add workspace files
This commit is contained in:
20
world/obj/sp/new/ksunarmed.js
Normal file
20
world/obj/sp/new/ksunarmed.js
Normal file
@@ -0,0 +1,20 @@
|
||||
this.inherits(OBJ);
|
||||
this.set({
|
||||
unit: "本",
|
||||
name: "拳脚快速入门",
|
||||
desc: "一本可以快速学些拳脚功夫的书",
|
||||
value: 0,
|
||||
max_level: 1,
|
||||
combined: false,
|
||||
skill: "unarmed",
|
||||
no_drop: true
|
||||
});
|
||||
this.on_study = function (me,skill_base) {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
this.do_study = function (me, skill_base) {
|
||||
|
||||
skill_base.add_exp(me, 10);
|
||||
}
|
||||
Reference in New Issue
Block a user