Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Slish562 committed Nov 12, 2023
1 parent 4b355ea commit 69be868
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions mod.hjson
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
displayName: "Azaria"
name: "az"
displayName: "Project HPL"
name: "hpl"
author: "HPL Team"
main: "az.Azaria"
main: "hpl.HPL"
description: "A Mindustry Java mod that contains a full of content planet. This is the beta version so it may not display the final version of the project."
version: 0.2.3.1A
minGameVersion: 146
Expand Down
8 changes: 4 additions & 4 deletions src/hpl/world/blocks/power/LightningPowerNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public class LightningPowerNode extends PowerNode {

// minimal energy delta per tile required for lightning
public float thresholdPerTile;
public Effect lightningFx = AZFx.lightning2;
public Color lightningColor = AZPal.lightningNodeColor;
public Effect lightningFx = HPLFx.lightning2;
public Color lightningColor = HPLPal.lightningNodeColor;
AStats aStats = new AStats();

public LightningPowerNode(String name, int maxNodes) {
Expand All @@ -44,7 +44,7 @@ public LightningPowerNode(String name, int maxNodes) {
update = true;
stats = aStats.copy(stats);
if(maxNodes == 0) configurable = false;
laserColor2 = AZPal.lightningNodeColor;
laserColor2 = HPLPal.lightningNodeColor;
}

@Override
Expand Down Expand Up @@ -147,7 +147,7 @@ public void update() {
node.power.status += toGive / capacity;
power.status -= toGive / thisCap;

AZFx.lightning(x, y, node.x, node.y, lightningColor, 3, 12f, lightningFx);
HPLFx.lightning(x, y, node.x, node.y, lightningColor, 3, 12f, lightningFx);
}
nodes.clear();
}
Expand Down

0 comments on commit 69be868

Please sign in to comment.