This commit is contained in:
2024-09-05 14:49:52 +08:00
parent d2a6ab3dce
commit 6191703970
4 changed files with 272 additions and 203 deletions

View File

@@ -93,6 +93,16 @@ export class SingletonModuleComp extends ecs.Comp {
max: 5,
speed:1,
},
item_box:{
hp:0,
atk:0,
atk_cd:0,
power:0,
name:"",
skillcd:0,
skillsd:0,
info:"",
}
};
vmAdd() {

View File

@@ -1,13 +1,7 @@
/*
* @Author: dgflash
* @Date: 2021-11-23 15:28:39
* @LastEditors: dgflash
* @LastEditTime: 2022-01-26 16:42:00
CardList type: 1:精灵 2:技能 3:装备
*/
export const CardType = {
1: "前排",
2: "后排",
}
export const CardList={
1:[
{uuid:1101,type:1},{uuid:1102,type:1},{uuid:1201,type:1},{uuid:1202,type:1},{uuid:1301,type:1},{uuid:1302,type:1},
@@ -38,6 +32,10 @@ export const CardList={
// 5:[5001,5002,5003,5004],
}
/*
CardSet type: 1:近战 2:远程 3:法术 暂定
*/
export const CardSet = {
1101:{uuid: 1101,path: "1101",type: 1,level: 1,name: "守护犬",atk: 4,hp: 8,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 2,word: "守护", info: "自身护盾",atktype: "攻击型", mon: "狗"},
1102:{uuid: 1102,path: "1102",type: 1,level: 1,name: "狂暴犬",atk: 4,hp: 8,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 2,word: "狂暴", info: "全体攻击",atktype: "攻击型", mon: "狗"},