1
0
Fork 0

Fixed enemy player's name

This commit is contained in:
Michaël Lemaire 2017-05-10 19:31:33 +02:00
parent 962621c231
commit 35d48eef4f
2 changed files with 2 additions and 1 deletions

1
TODO
View file

@ -44,6 +44,7 @@
* Map: remove jump links that cross the radius of other systems
* Map: disable interaction (zoom, selection) while moving/jumping
* Add ship personality (with icons to identify ?)
* Add factions and reputation
* Tutorial
* Missions/quests system
* Main story arc

View file

@ -67,7 +67,7 @@ module TS.SpaceTac {
if (this.encounter_random.random() < 0.8) {
var fleet_generator = new FleetGenerator(this.encounter_random);
var ship_count = this.encounter_random.randInt(1, 5);
this.encounter = fleet_generator.generate(this.star.level, undefined, ship_count, true);
this.encounter = fleet_generator.generate(this.star.level, new Player(this.star.universe, "Enemy"), ship_count, true);
}
}