dd
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,10 +1,8 @@
|
|||||||
|
|
||||||
export const RewardSet={
|
export const BoxDrop={
|
||||||
1:[
|
1:[
|
||||||
{uuid: 5001,path: "5001",type: 1,lv: 1,name: "攻击强化1",info:"佣兵攻击提升10%",atk:10,hp:0,atk_cd:0,coin:0,},
|
{uuid: 1001,dropRate: 10,num_max: 2},
|
||||||
{uuid: 5002,path: "5002",type: 1,lv: 1,name: "攻速强化1",info:"佣兵攻击速度提升10%",atk:0,hp:0,atk_cd:10,coin:0,},
|
{uuid: 1002,dropRate: 10,num_max: 2},
|
||||||
{uuid: 5003,path: "5003",type: 1,lv: 1,name: "生命强化1",info:"佣兵生命值10%",atk:0,hp:20,atk_cd:0,coin:0,},
|
|
||||||
{uuid: 5004,path: "5004",type: 1,lv: 1,name: "铜币收益",info:"铜币收益 + 10%",atk:0,hp:20,atk_cd:0,coin:30,},
|
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,8 @@ export class LuckHomeCompComp extends CCComp {
|
|||||||
lbn: Node | null = null;
|
lbn: Node | null = null;
|
||||||
@property({ type: Node })
|
@property({ type: Node })
|
||||||
btnno: Node | null = null;
|
btnno: Node | null = null;
|
||||||
|
@property({ type: Node })
|
||||||
|
itmes: Node | null = null;
|
||||||
selected: string = "";
|
selected: string = "";
|
||||||
|
|
||||||
/** 视图层逻辑代码分离演示 */
|
/** 视图层逻辑代码分离演示 */
|
||||||
|
|||||||
Reference in New Issue
Block a user