<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://manicpop.org/gewiki/index.php?action=history&amp;feed=atom&amp;title=DAMF</id>
	<title>DAMF - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://manicpop.org/gewiki/index.php?action=history&amp;feed=atom&amp;title=DAMF"/>
	<link rel="alternate" type="text/html" href="https://manicpop.org/gewiki/index.php?title=DAMF&amp;action=history"/>
	<updated>2026-10-20T14:42:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://manicpop.org/gewiki/index.php?title=DAMF&amp;diff=2136&amp;oldid=prev</id>
		<title>Manicpop at 04:29, 18 October 2026</title>
		<link rel="alternate" type="text/html" href="https://manicpop.org/gewiki/index.php?title=DAMF&amp;diff=2136&amp;oldid=prev"/>
		<updated>2026-10-18T04:29:25Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;DAMF&amp;#039;&amp;#039;&amp;#039; (damage factor) is a configurable ship-class value that scales damage from the weapons that use it. It describes resistance to those hits, not the ship&amp;#039;s cargo capacity or current cargo load.&lt;br /&gt;
&lt;br /&gt;
== Introduction in classic GE ==&lt;br /&gt;
The [[GEREADME.DOC#As_Released_(3.2c)|classic 3.2c release notes]] (December 1993) introduce the &amp;lt;code&amp;gt;SnnDAMF&amp;lt;/code&amp;gt; ship-class option in place of the former &amp;lt;code&amp;gt;SnnRES1&amp;lt;/code&amp;gt; reserved field. The stated goal was to let a large ship be fragile or a small ship be tough, rather than making damage resistance follow ship size. The setting remains in the 3.2e class table as &amp;lt;code&amp;gt;SnnDAMF&amp;lt;/code&amp;gt; in [[MBMGESHP.MSG]].&lt;br /&gt;
&lt;br /&gt;
Classic applies DAMF to [[Mines|mine]], [[Torpedoes|torpedo]], and [[Missiles|missile]] damage through &amp;lt;code&amp;gt;ton_fact()&amp;lt;/code&amp;gt;. Despite that helper&amp;#039;s old name, it uses the target class&amp;#039;s DAMF:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
adjusted damage = raw damage / (DAMF / 100)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus DAMF 100 leaves that damage unchanged, DAMF 200 halves it, and DAMF 50 doubles it. These are &amp;#039;&amp;#039;damage&amp;#039;&amp;#039; ratios, not exact survival times: shields and other combat mechanics still matter.&lt;br /&gt;
&lt;br /&gt;
== The classic phaser exception ==&lt;br /&gt;
Classic standard and hyper-phasers do &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; use DAMF. They divide their calculated damage by &amp;lt;code&amp;gt;1 + (class maximum cargo tons / 15000)&amp;lt;/code&amp;gt;. The class&amp;#039;s configured cargo &amp;#039;&amp;#039;capacity&amp;#039;&amp;#039; is used even when its hold is empty. This is the incomplete transition documented in [[Classic bug: Phaser durability uses cargo capacity]].&lt;br /&gt;
&lt;br /&gt;
The stock Sarten Obliterator illustrates the difference. Its maximum cargo capacity is 234,000 tons and its DAMF is 500, so classic uses these divisors:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
Mine, torpedo, missile:  500 / 100 = 5       (20% of raw damage)&lt;br /&gt;
Standard, hyper-phaser: 1 + 234000 / 15000 = 16.6  (about 6% of raw damage)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For comparison, the stock Cyberquad has 12,500 tons of cargo capacity, giving it a phaser divisor of about 1.83. For equal pre-divisor phaser damage, the Obliterator therefore takes roughly one-ninth as much as the Cyberquad. Its phaser resistance behaves like a DAMF of 1660, not its configured 500. This does not describe a Sarten-specific defense; it follows from the old cargo-based phaser formula, before any other hit or shield effects.&lt;br /&gt;
&lt;br /&gt;
== Damage outside DAMF ==&lt;br /&gt;
DAMF is not a universal reduction to every form of damage. In classic, the phaser exception above is the most important ordinary-weapon case. [[Ion cannons]] also use their own damage calculation rather than the target&amp;#039;s DAMF. A planet collision destroys the ship directly, while [[Wormholes|wormhole]] damage, [[Galactic perimeter|perimeter]] damage, [[Enforcer Planet]] damage, and overspeed damage are applied by separate paths. [[Self-destruct]] blast damage likewise does not use the &amp;#039;&amp;#039;target&amp;#039;s&amp;#039;&amp;#039; DAMF as a defensive divisor. These examples should not be read as promising that every future or administrator-created damage source uses DAMF.&lt;br /&gt;
&lt;br /&gt;
== ge-next ==&lt;br /&gt;
Since ge-next 0.2, standard and hyper-phasers use the same DAMF-based helper as mines, torpedoes, and missiles. Cargo capacity no longer acts as hidden phaser armor. This changes the balance of large-capacity and high-DAMF classes compared with classic. Installed [[Ship upgrades#Armor plating|armor plating]] can further reduce applicable incoming weapon damage after that scaling.&lt;br /&gt;
&lt;br /&gt;
ge-next also uses the &amp;#039;&amp;#039;exploding ship&amp;#039;s&amp;#039;&amp;#039; DAMF when sizing its outgoing self-destruct blast. That is an offensive use of the value, not protection granted by the &amp;#039;&amp;#039;target&amp;#039;s&amp;#039;&amp;#039; DAMF.&lt;br /&gt;
&lt;br /&gt;
== Minimum configurable value ==&lt;br /&gt;
ge-next limits &amp;lt;code&amp;gt;SnnDAMF&amp;lt;/code&amp;gt; to 77 or higher. This protects a 16-bit missile-energy field from the amplified result of applying a very low DAMF to a maximum-strength &amp;#039;&amp;#039;classic&amp;#039;&amp;#039; missile. Classic permits a missile with 50,000 energy; on impact, it applies the target&amp;#039;s DAMF to that energy and stores the result back in an unsigned 16-bit field, whose maximum is 65,535.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
DAMF 76: 50000 / (76 / 100) = 65789.47...  (too large)&lt;br /&gt;
DAMF 77: 50000 / (77 / 100) = 64935.06...  (fits)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus 77 is the first whole-number DAMF that keeps the classic maximum within the field. This prevents an out-of-range conversion, not division by zero or arithmetic underflow. ge-next normally limits newly launched missiles to 20,000 energy; even at DAMF 77, their adjusted energy is only about 25,974. The 77 bound is therefore conservative for the current normal launch path.&lt;br /&gt;
&lt;br /&gt;
The lower launch-energy limit does not mean ge-next missiles deal only two-fifths as much damage. After DAMF adjusts the stored energy, ge-next divides it by 20,000 when calculating missile damage, where classic divided it by 50,000. A 20,000-energy ge-next missile therefore reaches the same fraction of this calculation as a 50,000-energy classic missile. ge-next also raises the default &amp;lt;code&amp;gt;MDAMMAX&amp;lt;/code&amp;gt; from 25 to 35, so their actual damage is not identical. The 77 limit concerns the energy stored in the unsigned 16-bit field before the later damage calculation.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Classic bug: Phaser durability uses cargo capacity]]&lt;br /&gt;
* [[Ship class configuration]]&lt;br /&gt;
* [[Hull damage]]&lt;br /&gt;
&lt;br /&gt;
{{GE navigation}}&lt;br /&gt;
[[Category:Game reference]]&lt;br /&gt;
[[Category:Ships]]&lt;br /&gt;
[[Category:Combat]]&lt;/div&gt;</summary>
		<author><name>Manicpop</name></author>
	</entry>
</feed>