战斗技能修改为buff

This commit is contained in:
2024-12-23 16:54:00 +08:00
parent ee830b3ed2
commit a79db4d97e
4 changed files with 17417 additions and 3845 deletions

View File

@@ -91,18 +91,24 @@ export class SingletonModuleComp extends ecs.Comp {
name : "纸片精灵大乱斗",
game_over:false,
game_pause:false,
buff_num:[2,2,2,2,2],
buff_num_max:10,
buff_num_less:0,
mission:{
once:6, //每波刷新怪物数量
total:1, //总怪物数
exp:0,
exp_max:100,
mexp:0,
mexp_max:100,
mexp_max:100,
buff_num:0,
hp:0,
ap:0,
def:0,
crit:0,
dodge:0,
dead:0,
mhp:0,
map:0,
@@ -111,6 +117,17 @@ export class SingletonModuleComp extends ecs.Comp {
mdodge:0,
mdead:0,
hp_up:0,
ap_up:0,
def_up:0,
crit_up:0,
dodge_up:0,
mhp_up:0,
map_up:0,
mdef_up:0,
mcrit_up:0,
mdodge_up:0,
reward_num:0, //怪物死亡数
reward_gold:0,
reward_exp:0,

View File

@@ -30,5 +30,12 @@ export const MBSet = {
hp_exp:100,
ap_add:10,
def_add:10,
hp_add:10,
hp_add:50,
crit_add:1,
dodge_add:1,
ap_cost:1,
def_cost:1,
hp_cost:1,
crit_cost:2,
dodge_cost:2,
}