Plane
%damage = damage
+Nuke
+can't be damaged by conventional weapons
+nuclear damage may destroy it (chance in percent equal to damage)
+
Sector
sectdamage = damage / ((sectdef - 2) * eff + 2)
%damage = (100 * sectdamage / (sectdamage + 100))
Commodity
%damage = (100 * damage / (damage + 50))
+Note: when a ship, plane, land unit or bridge is destroyed, its
+contents is lost. This includes nukes.
+
.fi
.SA "fire, launch, torpedo, lmine, bomb, Hitchance, Attacking, Combat"
*
* Known contributors to this file:
* Steve McClure, 1998-2000
- * Markus Armbruster, 2004-2010
+ * Markus Armbruster, 2004-2012
*/
#include <config.h>
continue;
if ((damage = nukedamage(ncp, ni.curdist, airburst)) <= 0)
continue;
- if (roll(100) >= damage)
+ if (roll(100) > damage)
continue;
nuke.nuk_effic = 0;
if (own == player->cnum) {