Fix EMP antenna's chat reports
authorTheSaminator <TheSaminator@users.noreply.github.com>
Fri, 10 Jun 2022 18:19:09 +0000 (14:19 -0400)
committerTheSaminator <TheSaminator@users.noreply.github.com>
Fri, 10 Jun 2022 18:19:09 +0000 (14:19 -0400)
src/commonMain/kotlin/net/starshipfights/game/ship_weapons.kt

index f96d84c7ff5d8e8b570a9870c36a55c173f06700..bf29d36e758e5eb4dd1b9de4504d79bb2fc27ee2 100644 (file)
@@ -464,7 +464,7 @@ fun ShipInstance.afterTargeted(by: ShipInstance, weaponId: Id<ShipWeapon>) = whe
                                weaponAmount = (0..weaponAmount).random(),
                                shieldAmount = (0..shieldAmount).random(),
                        ),
-                       ImpactDamage.OtherEffect
+                       ImpactDamage.Success(0)
                )
        }
 }