Compare commits
No commits in common. "53bcefb06d32d0a70b859938ad420bba685d29ac" and "ffe7406c48320b0a9615345e39b628dbe1be86dd" have entirely different histories.
53bcefb06d
...
ffe7406c48
@ -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