fix: 修正了宝石使用错误的问题。easy难度增加5%减伤(之前是没有的)
This commit is contained in:
parent
4cf95f5621
commit
97700bc3a3
@ -782,6 +782,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
|||||||
|
|
||||||
// 最终伤害:初始伤害 + 怪物对勇士造成的伤害 + 反击伤害
|
// 最终伤害:初始伤害 + 怪物对勇士造成的伤害 + 反击伤害
|
||||||
var damage = init_damage + (turn - 1) * per_damage + turn * counterDamage;
|
var damage = init_damage + (turn - 1) * per_damage + turn * counterDamage;
|
||||||
|
if (flags.hard == 1) damage = Math.ceil(damage * 0.95 - 0.01)
|
||||||
// 再扣去护盾
|
// 再扣去护盾
|
||||||
damage -= hero_mdef;
|
damage -= hero_mdef;
|
||||||
|
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 55 KiB |
Loading…
Reference in New Issue
Block a user