This commit is contained in:
2024-12-21 11:03:54 +08:00
parent e34eb5452b
commit e6e3db0f80
30 changed files with 3206 additions and 1814 deletions

View File

@@ -50,10 +50,13 @@ export class SingletonModuleComp extends ecs.Comp {
9001:{uuid:9001,lv:1,exp:0,slv:0,stone:0,num:100,x1:1,x10:0},
9002:{uuid:9002,lv:2,exp:0,slv:1,stone:0,num:80,x1:2,x10:0},
9003:{uuid:9003,lv:3,exp:0,slv:2,stone:0,num:90,x1:3,x10:0},
9004:{uuid:9004,lv:1,exp:0,slv:0,stone:0,num:100,x1:1,x10:0},
9005:{uuid:9005,lv:2,exp:0,slv:1,stone:0,num:80,x1:2,x10:0},
9006:{uuid:9006,lv:3,exp:0,slv:2,stone:0,num:90,x1:3,x10:0},
};
goods:any={
free: [ {uuid:9001,num:100000}, {uuid:9002,num:10}, {uuid:9003,num:10}],
goods1:[ {uuid:1001,num:100}, {uuid:9002,num:1} ],
free: [ {uuid:9001,num:100000}, {uuid:9003,num:500}],
goods1:[ {uuid:9003,num:1} ],
herochips:[ {uuid:9001,num:2}, {uuid:9002,num:1} ],
skillchips:[ {uuid:1001,num:100}, {uuid:1002,num:1} ],
goods4:[ {uuid:9001,num:100}, {uuid:9002,num:1} ],
@@ -76,7 +79,7 @@ export class SingletonModuleComp extends ecs.Comp {
1015:{uuid:1015,num:1000,x1:0,x10:0},
1016:{uuid:1016,num:1000,x1:0,x10:0},
};
fight_heros=[9001,9002]
fight_heros=[9003,9002]
mheros:any = [];
monsters:any = [];
sk_info:any = []
@@ -112,15 +115,15 @@ export class SingletonModuleComp extends ecs.Comp {
reward_gold:0,
reward_exp:0,
},
gold:{num:9999999,x1:1,x10:0},
gold:{num:999999,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,},
herochips:{ cost:3000,num:4,buy:3,},
skillchips:{ cost:4000,num:5,buy:3,},
goods1:{ cost:20000,num:3,buy:3,},
herochips:{ cost:30000,num:4,buy:3,},
skillchips:{ cost:500000,num:5,buy:3,},
};
vmAdd() {