More achievement cleanup
This commit is contained in:
@@ -17,14 +17,12 @@ public class EventType{
|
||||
phaseDeflectHit,
|
||||
impactPower,
|
||||
thoriumReactorOverheat,
|
||||
itemLaunch,
|
||||
fireExtinguish,
|
||||
newGame,
|
||||
tutorialComplete,
|
||||
flameAmmo,
|
||||
turretCool,
|
||||
enablePixelation,
|
||||
drown,
|
||||
exclusionDeath,
|
||||
suicideBomb,
|
||||
openWiki,
|
||||
|
||||
@@ -233,7 +233,7 @@ public class SectorDamage{
|
||||
//first, calculate the total health of blocks in the path
|
||||
|
||||
//radius around the path that gets counted
|
||||
int radius = 9;
|
||||
int radius = 8;
|
||||
IntSet counted = new IntSet();
|
||||
|
||||
for(Tile t : sparse2){
|
||||
@@ -337,7 +337,7 @@ public class SectorDamage{
|
||||
//enemy units like to aim for a lot of non-essential things, so increase resulting health slightly
|
||||
info.sumHealth = sumHealth * 1.2f;
|
||||
//players tend to have longer range units/turrets, so assume DPS is higher
|
||||
info.sumDps = sumDps * 1.5f;
|
||||
info.sumDps = sumDps * 1.2f;
|
||||
info.sumRps = sumRps;
|
||||
|
||||
info.wavesSurvived = getWavesSurvived(info);
|
||||
|
||||
@@ -374,6 +374,8 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
|
||||
stable.add("[accent]Difficulty: " + (int)(sector.baseCoverage * 10)).row();
|
||||
}
|
||||
|
||||
//TODO put most info in submenu
|
||||
|
||||
if(sector.isAttacked()){
|
||||
//TODO localize when finalized
|
||||
//these mechanics are likely to change and as such are not added to the bundle
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package mindustry.world.blocks.units;
|
||||
|
||||
import arc.*;
|
||||
import arc.graphics.*;
|
||||
import arc.graphics.g2d.*;
|
||||
import arc.scene.style.*;
|
||||
@@ -12,6 +13,7 @@ import mindustry.*;
|
||||
import mindustry.content.*;
|
||||
import mindustry.entities.*;
|
||||
import mindustry.entities.units.*;
|
||||
import mindustry.game.EventType.*;
|
||||
import mindustry.gen.*;
|
||||
import mindustry.ui.*;
|
||||
import mindustry.world.*;
|
||||
@@ -33,6 +35,7 @@ public class CommandCenter extends Block{
|
||||
config(UnitCommand.class, (CommandBuild build, UnitCommand command) -> {
|
||||
build.team.data().command = command;
|
||||
effect.at(build);
|
||||
Events.fire(new CommandIssueEvent(build, command));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user