Compare commits
No commits in common. "7ce6f8aaf4f1334a4c65fd68ea3d0a033d06e131" and "5c0be5e27893a3887e25f252372dc9d3ace75ab9" have entirely different histories.
7ce6f8aaf4
...
5c0be5e278
@ -965,11 +965,11 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
||||
//——第二部分:变量定义和初始赋值——
|
||||
// 每回合怪物对勇士造成的战斗伤害
|
||||
let per_damage = Math.max(mon_atk - hero_def, 0);
|
||||
//if (enemyInfo.magic) per_damage = Math.max(mon_atk - hero_mdef, 0);
|
||||
if (enemyInfo.magic) per_damage = Math.max(mon_atk - hero_mdef, 0);
|
||||
|
||||
//
|
||||
let hero_per_damage = Math.max(hero_atk - mon_def, 0);
|
||||
//if (hero_magic) hero_per_damage = Math.max(hero_atk - mon_mdef, 0);
|
||||
if (hero_magic) hero_per_damage = Math.max(hero_atk - mon_mdef, 0);
|
||||
|
||||
let damage = 0,
|
||||
hero_turn = 0,
|
||||
|
Loading…
Reference in New Issue
Block a user