Compare commits
No commits in common. "ad7489932e1261f44a0b1409738d978f48fe73ed" and "8797b32e94467bdfc24e8ed0443400add0c7fad0" have entirely different histories.
ad7489932e
...
8797b32e94
@ -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