$resy = $hasfedbounty->fields; if ($resy['btytotal'] > 0) { $btyamount = $resy['btytotal']; echo $l_scan_fedbounty . "<br>"; } } } } // Player will get a Federation Bounty on themselves if they attack a player who's score is less than bounty_ratio of // themselves. If the target has a Federation Bounty, they can attack without attracting a bounty on themselves. if ($btyamount == 0 && ($targetscore / $playerscore < $bounty_ratio || $targetinfo['turns_used'] < $bounty_minturns)) { echo $l_by_fedbounty . "<br><br>"; } else { echo $l_by_nofedbounty . "<br><br>"; } $sc_error = SCAN_ERROR($playerinfo['sensors'], $targetinfo['cloak']); echo "{$l_scan_ron} {$targetinfo['ship_name']}, {$l_scan_capt} {$targetinfo['character_name']}<br><br>"; echo "<strong>{$l_ship_levels}:</strong><br><br>"; echo "<table width=\"\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\">"; echo "<tr><td>{$l_hull}:</td>"; $roll = mt_rand(1, 100); if ($roll < $success) { $sc_hull = round($targetinfo['hull'] * $sc_error / 100); echo "<td>{$sc_hull}</td></tr>"; } else { echo "<td>???</td></tr>"; } echo "<tr><td>{$l_engines}:</td>"; $roll = mt_rand(1, 100); if ($roll < $success) { $sc_engines = round($targetinfo['engines'] * $sc_error / 100);
echo $l_scan_fedbounty . "<BR>"; } } } } // Player will get a Federation Bounty on themselves if they attack a player who's score is less than bounty_ratio of // themselves. If the target has a Federation Bounty, they can attack without attracting a bounty on themselves. if($btyamount == 0 && ((($targetscore / $playerscore) < $bounty_ratio) || $targetinfo[turns_used] < $bounty_minturns) && !("furangee" == substr($targetinfo[email], -8) ) ) { echo $l_by_fedbounty . "<BR><BR>"; } else { echo $l_by_nofedbounty . "<BR><BR>"; } $sc_error= SCAN_ERROR($playerinfo[sensors], $targetinfo[cloak]); echo "$l_scan_ron $targetinfo[ship_name], $l_scan_capt $targetinfo[character_name]<BR><BR>"; echo "<b>$l_ship_levels:</b><BR><BR>"; echo "<table width=\"\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\">"; echo "<tr><td>$l_hull:</td>"; $roll=rand(1,100); if ($roll<$success) { $sc_hull=round($targetinfo[hull] * $sc_error / 100); echo "<td>$sc_hull</td></tr>"; } else {echo"<td>???</td></tr>";} echo "<tr><td>$l_engines:</td>"; $roll=rand(1,100); if ($roll<$success) {
{ echo $l_scan_fedbounty . "<BR>"; $btyamount = 1; // Just a flag } // Player will get a Federation Bounty on themselves if they attack a player who's score is less than bounty_ratio of // themselves. If the target has a Federation Bounty, they can attack without attracting a bounty on themselves. if ($btyamount > 0 || $targetscore > 500000 || ($targetinfo[turns_used] > $bounty_minturns && ($targetscore / $playerscore) > $bounty_ratio) || (substr($targetinfo[email], -8)=="furangee")) { echo $l_by_nofedbounty . "<BR><BR>"; } else { echo $l_by_fedbounty . "<BR><BR>"; } $sc_error= SCAN_ERROR($shipinfo[sensors], $targetshipinfo[cloak]); echo "$l_scan_ron $targetshipinfo[ship_name], $l_scan_capt $targetinfo[character_name]<BR><BR>"; echo "<b>$l_ship_levels:</b><BR><BR>"; echo "<table width=\"\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\">"; echo "<tr><td>$l_hull:</td>"; $roll=rand(1,100); if ($roll<$success) { $sc_hull=round($targetshipinfo[hull] * $sc_error / 100); echo "<td>$sc_hull</td></tr>"; } else {echo"<td>???</td></tr>";} echo "<tr><td>$l_engines:</td>"; $roll=rand(1,100); if ($roll<$success) {