示例#1
0
    if (isLvl5("Heavy Drone Operation")) {
        echo "Has T2 Heavies<br>\n";
    } else {
        test_has_skill("Heavy Drone Operation", "Heavy Drones");
    }
    if (isLvl5("Sentry Drone Interfacing")) {
        echo "Has T2 Sentries<br>\n";
    } else {
        test_has_skill("Sentry Drone Interfacing", "Sentry Drones");
    }
    if (isLvl5("Fighters") && skillLvl("Fighter Bombers") != -1) {
        test_has_skill("Fighter Bombers", "Fighter Bombers");
    } else {
        test_has_skill("Fighters", "Fighters");
    }
    test_has_skill("Drone Interfacing");
}
$delim = "&nbsp;";
$delim = "</td><td>";
echo "<br><table><tr><td>WU/AWU:</td><td>";
echo skillLvl("Weapon Upgrades") . $delim;
echo skillLvl("Advanced Weapon Upgrades");
echo "</td></tr><tr><td>CPUM/PGM:</td><td>";
echo skillLvl("CPU Management") . $delim;
echo skillLvl("Power Grid Management");
echo "</td></tr></table><br>Support skills:\n<br><table style=\"font-size:95%\"><tr>";
echo "<td>turr&nbsp;</td><td>";
echo skillLvl("Controlled Bursts") . $delim;
echo skillLvl("Gunnery") . $delim;
echo skillLvl("Motion Prediction") . $delim;
echo skillLvl("Rapid Firing") . $delim;
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
//
// ****************************************************************************
echo "<h4>Modules</h4><hr><span style=\"font-size:90%\">\n";
if (isLvl5("Anchoring") && skillLvl("Starbase Defense Management") != -1) {
    test_has_skill("Starbase Defense Management", "Pos Guns");
}
test_module_fit("21096", "Cyno Gen");
echo "<br>";
if (!test_module_fit_true("12084", "T2 MWDs")) {
    test_module_fit("12054", "T1 MWDs");
}
test_module_fit("3841", "LSE II");
test_module_fit("2281", "Invuln II");
test_module_fit("11269", "EANM II");
test_module_fit("2048", "DCU II");
test_module_fit("11325", "1600mm RT");
test_module_fit("1952", "SB II");
test_module_fit("1978", "TC II");
test_module_fit("1999", "TE II");
test_module_fit("1541", "PDU II");