假期修改
This commit is contained in:
@@ -23,27 +23,45 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
/** 游戏地图 */
|
||||
map: GameMap = null!;
|
||||
cards: any = [
|
||||
{uuid:9001,type:1},{uuid:9011,type:1},{uuid:9021,type:1},{uuid:9031,type:1},{uuid:9041,type:1}
|
||||
{uuid:9001,type:1},{uuid:9002,type:1},{uuid:9011,type:1},{uuid:9021,type:1},{uuid:9031,type:1},{uuid:9041,type:1}
|
||||
];
|
||||
items: any = [
|
||||
{uuid:1001,type:2},{uuid:1002,type:2},{uuid:4011,type:2},{uuid:4012,type:2},
|
||||
|
||||
{uuid:6210,type:3},{uuid:6211,type:3},{uuid:6005,type:3},{uuid:6006,type:3},{uuid:6101,type:3},{uuid:6102,type:3},
|
||||
item_list: any = [
|
||||
{uuid:6005,type:2},{uuid:6006,type:2},{uuid:6101,type:2},{uuid:6102,type:2}, {uuid:6210,type:2},{uuid:6211,type:2},{uuid:6212,type:2},
|
||||
// {uuid:6213,type:2},{uuid:6214,type:2},{uuid:6215,type:2},
|
||||
// {uuid:6216,type:2},{uuid:6217,type:2},{uuid:6218,type:2}
|
||||
];
|
||||
items: any = []
|
||||
player_skills: any = [
|
||||
];
|
||||
player_buffs: any = [
|
||||
|
||||
{x:-BoxSet.CSKILL_X,y:BoxSet.CSKILL_Y,eid:0},
|
||||
{x:-BoxSet.CSKILL_X+55,y:BoxSet.CSKILL_Y,eid:0},
|
||||
{x:-BoxSet.CSKILL_X+110,y:BoxSet.CSKILL_Y,eid:0},
|
||||
{x:-BoxSet.CSKILL_X+165,y:BoxSet.CSKILL_Y,eid:0},
|
||||
{x:-BoxSet.CSKILL_X,y:BoxSet.CSKILL_Y,eid:0},
|
||||
|
||||
{x:-BoxSet.CSKILL_X,y:BoxSet.CSKILL_Y+55,eid:0},
|
||||
{x:-BoxSet.CSKILL_X+55,y:BoxSet.CSKILL_Y+55,eid:0},
|
||||
{x:-BoxSet.CSKILL_X+110,y:BoxSet.CSKILL_Y+55,eid:0},
|
||||
{x:-BoxSet.CSKILL_X+165,y:BoxSet.CSKILL_Y+55,eid:0},
|
||||
];
|
||||
role_heros: any = [
|
||||
{x:BoxSet.ROLE_FUX,y:50,eid:0},
|
||||
{x:BoxSet.ROLE_FUX,y:0,eid:0},
|
||||
{x:BoxSet.ROLE_FUX,y:-50,eid:0},
|
||||
|
||||
{x:BoxSet.ROLE_FUX+40,y:50,eid:0},
|
||||
{x:BoxSet.ROLE_FUX+40,y:0,eid:0},
|
||||
{x:BoxSet.ROLE_FUX+40,y:-50,eid:0},
|
||||
|
||||
{x:BoxSet.ROLE_BUX,y:50,eid:0},
|
||||
{x:BoxSet.ROLE_BUX,y:0,eid:0},
|
||||
{x:BoxSet.ROLE_BUX,y:-50,eid:0},
|
||||
|
||||
{x:BoxSet.ROLE_BUX-40,y:50,eid:0},
|
||||
{x:BoxSet.ROLE_BUX-40,y:0,eid:0},
|
||||
{x:BoxSet.ROLE_BUX-40,y:-50,eid:0},
|
||||
|
||||
];
|
||||
monster_buffs: any = [];
|
||||
/** 游戏主角 */
|
||||
Role: Role = null;
|
||||
@@ -80,14 +98,19 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
role:{
|
||||
hp:3000,
|
||||
hp_max:3000,
|
||||
speed:30,
|
||||
atk:10,
|
||||
atk_cd:2,
|
||||
atk_range:1000,
|
||||
buff_atk:0,
|
||||
mission_atk:0,
|
||||
atk_cd:1,
|
||||
atk_cd_up:0,
|
||||
mission_atk_cd_up:0,
|
||||
atk_range:400,
|
||||
lv:1,
|
||||
exp:0,
|
||||
next_exp:100,
|
||||
power:300,
|
||||
skill:1001,
|
||||
skill:8001,
|
||||
skills:{
|
||||
1:{uuid:8001,cd:2,alive:true },
|
||||
2:{uuid:9002,cd:2,alive:false},
|
||||
@@ -105,9 +128,9 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
up_cost:4,
|
||||
},
|
||||
gold: {
|
||||
min: 1,
|
||||
min: 200,
|
||||
max: 200,
|
||||
max_limit:10,
|
||||
max_limit:200,
|
||||
time:0,
|
||||
cd:1,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user