File: |
core/Battle.php |
Role: |
Class source |
Content type: |
text/plain |
Description: |
Class source |
Class: |
OPBE
Ogame probabilistic battle engine |
Author: |
By Nicola Covolo |
Last change: |
Decrease random fire from 50% to 10%.
Added fleet composition to debug information.
Moved some functions from battle report to round.
Added a test case.
Formatted the report in 3 parts: presentation,battle and end of battle
updated README.-
standardized some name functions.-
Round now have __toString template.-
Updated the test Runnable based on the above.-
Fixed a <br \> in debug mode.-
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: |
4,365 bytes |
|
|
|