From 62b15876108558f79c6b197beffcb575759336ff Mon Sep 17 00:00:00 2001 From: Patrick Date: Thu, 9 Jun 2016 23:14:40 -0600 Subject: [PATCH] Xenobe Various fixes --- classes/Xenobe.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/classes/Xenobe.php b/classes/Xenobe.php index 69120b63f..77f08b399 100644 --- a/classes/Xenobe.php +++ b/classes/Xenobe.php @@ -345,18 +345,6 @@ public static function xenobeToPlanet($pdo_db, $db, $planet_id, \Tki\Reg $tkireg } } - if ($attackerbeams > 0) // Attacker has beams left - continue combat - Beams v. shields - { - if ($attackerbeams > $targetshields) // Attacker beams greater than target shields - { - $attackerbeams = $attackerbeams - $targetshields; // Attacker loses beams equal to target shields - } - else // Attacker beams less than or equal to target shields - { - $attackerbeams = 0; // Attacker loses all beams - } - } - if ($targetbeams > 0) // Target has beams left - continue combat - Beams v. shields { if ($targetbeams > $attackershields) // Target beams greater than attacker shields