Skip to content

Commit

Permalink
Correct halberd stat display
Browse files Browse the repository at this point in the history
  • Loading branch information
MEEPofFaith committed Nov 2, 2024
1 parent f6288dc commit 1760423
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/progressed/entities/bullet/energy/BeamBulletType.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,12 @@ public BeamBulletType(float damage, String beamSprite){
super();
this.damage = damage;
this.beamSprite = beamSprite;
}

{
lifetime = 32f;
optimalLifeFract = 0.5f;
laserAbsorb = false; //Apparently laser and pierce aren't applied at the same time.
pierceCap = 4;
ammoMultiplier = 1;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,12 @@ public void setStats(){
super.setStats();

stats.remove(Stat.ammo);
stats.add(Stat.ammo, PMStatValues.ammo(ObjectMap.of(this, shootType)));
//TODO looks bad
stats.add(Stat.ammo, table -> {
table.row();
StatValues.number(liquidConsumed * 60f, StatUnit.perSecond, true).display(table);
});
stats.add(Stat.ammo, PMStatValues.ammo(ammoTypes));
}

@Override
Expand Down

0 comments on commit 1760423

Please sign in to comment.