PHP Classes

File: models/ShipType.php

Recommend this page to a friend!
  Classes of Nicola Covolo   OPBE   models/ShipType.php  
File: models/ShipType.php
Role: Class source
Content type: text/plain
Description: Class source
Class: OPBE
Ogame probabilistic battle engine
Author: By
Last change: fixed a strange and rare bug, maybe a PHP error
fixed the "negative prob" caused by a techs decrement when merging fleet to split fire.
Added a test case.
added a check for negative counts
fixed and improved checks for techs
Update ShipType.php

fixed double ";"
Added Battle class String rappresentation by template.-
Fixed ships no destroyed.-
Added the ability to create report using external lang.-
Cleaned some code.-
Date: 10 years ago
Size: 7,667 bytes

You need to be a registered user and login to get this file.

1,614,395 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on: