init: add workspace files
This commit is contained in:
27
world/obj/cash/sm.js
Normal file
27
world/obj/cash/sm.js
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
this.inherits(OBJ);
|
||||
this.set({
|
||||
name: "副本补给包",
|
||||
desc: "包含328个扫荡符,18个天师符,100精力",
|
||||
unit: "个",
|
||||
value: 0,
|
||||
grade: 5
|
||||
});
|
||||
this.on_open = function (me) {
|
||||
var result = [
|
||||
{
|
||||
obj: "cash/saodang",
|
||||
count: 328
|
||||
},
|
||||
{
|
||||
obj: "cash/tianshifu",
|
||||
count: 18
|
||||
},
|
||||
{
|
||||
obj: "cash/jing#4"
|
||||
}
|
||||
];
|
||||
|
||||
return OBJ.create_by_odds(result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user