Drill visual fix

This commit is contained in:
Anuken
2021-07-15 09:13:51 -04:00
parent 103f24d41d
commit ae15d838f0
2 changed files with 3 additions and 3 deletions

View File

@@ -60,7 +60,7 @@ public class CrashSender{
}catch(Throwable ignored){}
//don't create crash logs for custom builds, as it's expected
if(Version.build == -1 || (System.getProperty("user.name").equals("anuke") && "release".equals(Version.modifier))){
if(Version.build == -1 || (System.getProperty("user.name").equals("anuke") && !"steam".equals(Version.modifier))){
ret();
}

View File

@@ -32,7 +32,7 @@ public class BeamDrill extends Block{
public Color sparkColor = Color.valueOf("fd9e81"), glowColor = Color.white;
public float glowIntensity = 0.2f, pulseIntensity = 0.07f;
public float glowScl = 3f;
public int sparks = 12;
public int sparks = 11;
public float sparkRange = 10f, sparkLife = 27f, sparkRecurrence = 4f, sparkSpread = 45f, sparkSize = 3.5f;
public BeamDrill(String name){
@@ -251,7 +251,7 @@ public class BeamDrill extends Block{
Lines.stroke(warmup);
rand.setState(i, id);
Color col = face.wallDrop().color;
for(int j = 0; j < 16; j++){
for(int j = 0; j < sparks; j++){
float fin = (Time.time / sparkLife + rand.random(sparkRecurrence + 1f)) % sparkRecurrence;
float or = rand.range(2f);
Tmp.v1.set(sparkRange * fin, 0).rotate(rotdeg() + rand.range(sparkSpread));