WIP
This commit is contained in:
parent
884e51d035
commit
6d414a8f5e
2
TODO.md
2
TODO.md
|
@ -53,9 +53,7 @@ Battle
|
||||||
* [WIP] Add an hexagonal grid
|
* [WIP] Add an hexagonal grid
|
||||||
* Use the grid for "border" exclusion areas
|
* 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!)
|
* 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 move-fire simulator's scanCircle
|
||||||
* Fix occupied space in move action targetting being displayed as "not enough power"
|
|
||||||
* Apply to action's default targets
|
* Apply to action's default targets
|
||||||
* Add engine trail effect, and sound
|
* Add engine trail effect, and sound
|
||||||
* Find incentives to move from starting position (permanent drones or anomalies?)
|
* Find incentives to move from starting position (permanent drones or anomalies?)
|
||||||
|
|
|
@ -169,7 +169,7 @@ module TK.SpaceTac {
|
||||||
// TODO Split in "this turn" part and "next turn" part if needed
|
// 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 });
|
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;
|
result.status = MoveFireStatus.NOT_ENOUGH_POWER;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue