You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is problem with big number of small cargo, heavy cargo, and recycler,
attacker :
small cargo : 7,000,000
battlecruiser : 40,000
defender:
small cargo : 2,700,000
battlecruiser : 15,000
after battle
attacker :
small cargo : 6440792
battlecruiser : 39857
defender:
small cargo : 2,700,000
battlecruiser : 15,000
result :
The battle ended in a draw
The attacker has lost a total of 2 246 842 000 units.
The defender has lost a total of 0 units.
problem : attacker has bigger number of ships, more battlecruisers but he cannot drop even 1 ship of defender.
test code used : <?php require ("../../RunnableTest.php"); class MyTest extends RunnableTest { public function getAttachers() { $fleet = new Fleet(1,array( $this->getShipType(202, 7000000), $this->getShipType(215, 40000))); $player = new Player(1, array($fleet)); return new PlayerGroup(array($player)); } public function getDefenders() { $fleet = new Fleet(2,array( $this->getShipType(202, 2700000), $this->getShipType(215, 15000))); $player = new Player(2, array($fleet)); return new PlayerGroup(array($player)); } } new MyTest(); ?>
The text was updated successfully, but these errors were encountered:
I checked again.
It seems that the problem occurs regardless of the number of ships in battle.
It looks like you need a quick fix.
I need help from someone who can solve it.
There is problem with big number of small cargo, heavy cargo, and recycler,
attacker :
small cargo : 7,000,000
battlecruiser : 40,000
defender:
small cargo : 2,700,000
battlecruiser : 15,000
after battle
attacker :
small cargo : 6440792
battlecruiser : 39857
defender:
small cargo : 2,700,000
battlecruiser : 15,000
result :
The battle ended in a draw
The attacker has lost a total of 2 246 842 000 units.
The defender has lost a total of 0 units.
problem : attacker has bigger number of ships, more battlecruisers but he cannot drop even 1 ship of defender.
test code used :
<?php require ("../../RunnableTest.php"); class MyTest extends RunnableTest { public function getAttachers() { $fleet = new Fleet(1,array( $this->getShipType(202, 7000000), $this->getShipType(215, 40000))); $player = new Player(1, array($fleet)); return new PlayerGroup(array($player)); } public function getDefenders() { $fleet = new Fleet(2,array( $this->getShipType(202, 2700000), $this->getShipType(215, 15000))); $player = new Player(2, array($fleet)); return new PlayerGroup(array($player)); } } new MyTest(); ?>
The text was updated successfully, but these errors were encountered: