![]() |
Developer's Diary
Software development, with Terry Ebdon
|
Energy use should be easier to determine from the log. With the log at level debug and using a filter of (fire)|(energy)|(unit), with the Atom language-log package, I can see course changes correctly modifying energy levels, but changes due to damage / enemy-fire are less obvious.
Logged as enhancement issue #8.
Currently the player's ship will never have its energy reduced due to a hit from an enemy attack. See also enhancement issue #8. The problem is apparently due to Battle.phaserAttackFleet() passing an empty fleetAttackReporter closure to enemyFleet.attack() See this line in Battle.groovy.

Logged as issue #9.
23-FEB-2019 👈 Top of page 👉 25-FEB-2019
© 2020 Terry Ebdon.
Find me coding on GitHub, networking on LinkedIn, answering questions on Stack Exchange and hanging out on twitter.