Remove schematic upgrades and module and ship levels
This commit is contained in:
@@ -231,7 +231,7 @@ void ArenaSimulation::spawnShips()
|
||||
for (int i = 0; i < entry.count; ++i)
|
||||
{
|
||||
const QVector2D pos(xDist(m_rng), yDist(m_rng));
|
||||
m_shipSystem->spawn(entry.schematicId, entry.level, pos, false,
|
||||
m_shipSystem->spawn(entry.schematicId, pos, false,
|
||||
entry.layout);
|
||||
}
|
||||
}
|
||||
@@ -248,7 +248,7 @@ void ArenaSimulation::spawnShips()
|
||||
for (int i = 0; i < entry.count; ++i)
|
||||
{
|
||||
const QVector2D pos(xDist(m_rng), yDist(m_rng));
|
||||
m_shipSystem->spawn(entry.schematicId, entry.level, pos, true,
|
||||
m_shipSystem->spawn(entry.schematicId, pos, true,
|
||||
entry.layout);
|
||||
}
|
||||
}
|
||||
@@ -500,7 +500,7 @@ void ArenaSimulation::updateStatus()
|
||||
{
|
||||
ArenaStatus::Entry entry;
|
||||
entry.displayName = shipEntry.schematicId;
|
||||
entry.level = shipEntry.level;
|
||||
// Ships no longer carry a level (level suffix stays empty).
|
||||
entry.total = shipEntry.count;
|
||||
|
||||
int surviving = 0;
|
||||
@@ -512,7 +512,6 @@ void ArenaSimulation::updateStatus()
|
||||
{
|
||||
if (f.isEnemy == isEnemyTeam
|
||||
&& si.schematicId == shipEntry.schematicId
|
||||
&& si.level == shipEntry.level
|
||||
&& h.hp > 0.0f)
|
||||
{
|
||||
++surviving;
|
||||
|
||||
Reference in New Issue
Block a user