]> git.pond.sub.org Git - empserver/commitdiff
Make launch command require only 40% plane efficiency
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 2 Aug 2008 19:03:44 +0000 (15:03 -0400)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 2 Aug 2008 19:03:44 +0000 (15:03 -0400)
This is to make it consistent with automatic missile launch.

info/launch.t
src/lib/commands/laun.c

index 8ccb9349a7f8db04a32f5b8d8488cbf3908c51e9..bb39b0cbe478a9b6db141d9cc13c736ee2c4e77a 100644 (file)
@@ -37,7 +37,7 @@ Once a satellite has been launched, it can not be moved again.
 .s1
 Note here that it is much safer to use 100% missiles than those which
 are less efficient,
-and missiles below 60% cannot be launched.
+and missiles below 40% cannot be launched.
 .s1
 The formula for the chance that a missile hits its target is in
 \*Qinfo Hitchance\*U.
index 01d03c0543f3ba9d312e21e9414a01a7ce9800e4..3c028376f55f6b90a7f0db2f47b1f7128f86789a 100644 (file)
@@ -93,7 +93,7 @@ laun(void)
            }
        }
 
-       if (plane.pln_effic < 60) {
+       if (plane.pln_effic < 40) { 
            pr("%s is damaged (%d%%)\n", prplane(&plane), plane.pln_effic);
            continue;
        }