物品 和 金币等资源分开
This commit is contained in:
@@ -65,7 +65,25 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
goods2:[ {uuid:1002,num:100}, {uuid:9002,num:1} ],
|
||||
goods3:[ {uuid:1007,num:100}, {uuid:9002,num:1} ],
|
||||
goods4:[ {uuid:9001,num:100}, {uuid:9002,num:1} ],
|
||||
}
|
||||
};
|
||||
items:{
|
||||
1001:{num:1000,x1:1,x10:0},
|
||||
1002:{num:1000,x1:2,x10:0},
|
||||
1003:{num:1000,x1:3,x10:0},
|
||||
1004:{num:1000,x1:0,x10:0},
|
||||
1005:{num:1000,x1:0,x10:0},
|
||||
1006:{num:1000,x1:0,x10:0},
|
||||
1007:{num:1000,x1:0,x10:0},
|
||||
1008:{num:1000,x1:0,x10:0},
|
||||
1009:{num:1000,x1:0,x10:0},
|
||||
1010:{num:1000,x1:0,x10:0},
|
||||
1011:{num:1000,x1:0,x10:0},
|
||||
1012:{num:1000,x1:0,x10:0},
|
||||
1013:{num:1000,x1:0,x10:0},
|
||||
1014:{num:1000,x1:0,x10:0},
|
||||
1015:{num:1000,x1:0,x10:0},
|
||||
1016:{num:1000,x1:0,x10:0},
|
||||
};
|
||||
fight_heros=[9001,9002]
|
||||
mheros:any = [];
|
||||
monsters:any = [];
|
||||
@@ -76,7 +94,6 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
enemy_pos:any =[]
|
||||
vmdata: any = {
|
||||
name : "纸片精灵大乱斗",
|
||||
gold:99999999,
|
||||
game_over:false,
|
||||
game_pause:false,
|
||||
mission:{
|
||||
@@ -103,30 +120,11 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
reward_gold:0,
|
||||
reward_exp:0,
|
||||
},
|
||||
role:{
|
||||
gold:9999999,
|
||||
gems:0,
|
||||
energy:0,
|
||||
},
|
||||
items:{
|
||||
1001:{num:1000,x1:1,x10:0},
|
||||
1002:{num:1000,x1:2,x10:0},
|
||||
1003:{num:1000,x1:3,x10:0},
|
||||
1004:{num:1000,x1:0,x10:0},
|
||||
1005:{num:1000,x1:0,x10:0},
|
||||
1006:{num:1000,x1:0,x10:0},
|
||||
1007:{num:1000,x1:0,x10:0},
|
||||
1008:{num:1000,x1:0,x10:0},
|
||||
1009:{num:1000,x1:0,x10:0},
|
||||
1010:{num:1000,x1:0,x10:0},
|
||||
1011:{num:1000,x1:0,x10:0},
|
||||
1012:{num:1000,x1:0,x10:0},
|
||||
1013:{num:1000,x1:0,x10:0},
|
||||
1014:{num:1000,x1:0,x10:0},
|
||||
1015:{num:1000,x1:0,x10:0},
|
||||
1016:{num:1000,x1:0,x10:0},
|
||||
9001:{num:854587,x1:9999,x10:0},
|
||||
},
|
||||
gold:{num:9999999,x1:1,x10:0},
|
||||
exp:{num:1000,x1:1,x10:0},
|
||||
skp:{num:2000,x1:1,x10:0}, //技能升级点数
|
||||
energy:{num:10,x1:1,x10:0},
|
||||
|
||||
free:{ cost:0,num:3,buy:3,},
|
||||
goods1:{ cost:2000,num:3,buy:3,},
|
||||
goods2:{ cost:3000,num:4,buy:3,},
|
||||
|
||||
Reference in New Issue
Block a user