This commit is contained in:
2024-08-11 23:56:18 +08:00
parent 6355d80a2c
commit 21b559abcf
13 changed files with 1561 additions and 1284 deletions

View File

@@ -32,11 +32,11 @@ export class SingletonModuleComp extends ecs.Comp {
vm_data: any = {
name : "数据测试",
/** 当前等级 */
porwer: 0,
/** 当前经验 */
def : 0,
/** 下级经验 */
speed : 0,
cards:{
level:1,
level_max:10,
eid:0,
},
hp: {
min:20,
max:30
@@ -46,18 +46,15 @@ export class SingletonModuleComp extends ecs.Comp {
max: 30
},
gold: {
min: 0,
max: 10
min: 3,
max: 3,
time:0,
cd:30,
},
shuaxin: {
min: 0,
max: 2,
speed:1,
},
gold_add: {
min: 0,
max: 10,
speed:2,
speed:1,
},
};

View File

@@ -8,12 +8,13 @@
export const CardSet = {
1001:{
uuid:1001,
name:'嬴政',
name:'护盾战士',
level:1,
prefab_path:'yinzheng',
hp:100,
power:100,
speed:100,
atk:2,
hp:10,
power:50, //每0.1秒增加1能量
speed:50,
skill:{ }
},