1
0
Fork 0
This commit is contained in:
Michaël Lemaire 2018-07-20 21:42:50 +02:00
parent 884e51d035
commit 6d414a8f5e
2 changed files with 1 additions and 3 deletions

View File

@ -53,9 +53,7 @@ Battle
* [WIP] Add an hexagonal grid
* Use the grid for "border" exclusion areas
* Fix repel effect to snap to grid and use grid units (beware of two ships being moved to the same location!)
* Display the grid in targetting mode, with colors (replaces range hint)
* Fix move-fire simulator's scanCircle
* Fix occupied space in move action targetting being displayed as "not enough power"
* Apply to action's default targets
* Add engine trail effect, and sound
* Find incentives to move from starting position (permanent drones or anomalies?)

View File

@ -169,7 +169,7 @@ module TK.SpaceTac {
// TODO Split in "this turn" part and "next turn" part if needed
result.parts.push({ action: move_action, target: move_target, ap: result.total_move_ap, possible: result.can_move });
if (!result.can_end_move) {
if (result.status == MoveFireStatus.OK && !result.can_end_move) {
result.status = MoveFireStatus.NOT_ENOUGH_POWER;
}