Skip to content

Commit b4ae3cc

Browse files
committed
Wrong scale guard
1 parent d4e1e59 commit b4ae3cc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

common/src/main/kotlin/com/lambda/util/combat/DamageUtils.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ object DamageUtils {
132132
*/
133133
fun World.scaleDamage(damage: Double): Double =
134134
when (difficulty) {
135-
Difficulty.PEACEFUL -> 0.0
136135
Difficulty.EASY -> min(damage / 2 + 1, damage)
137136
Difficulty.HARD -> damage * 3 / 2
138137
else -> damage

0 commit comments

Comments
 (0)