Parm changed to float.

This commit is contained in:
2024-08-15 16:01:50 -04:00
parent e092d764bd
commit 28e3769d1e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ public class PowerEntry {
public int radius;
public String groupReq;
public String costType;
public int cost;
public float cost;
public int unknown01;
public int unknown02;
public float cast_time;
+1 -1
View File
@@ -68,7 +68,7 @@ public class PowersParser {
powerEntry.radius = Integer.parseInt(powerHeader.get(8));
powerEntry.groupReq = powerHeader.get(9);
powerEntry.costType = powerHeader.get(10);
powerEntry.cost = Integer.parseInt(powerHeader.get(11));
powerEntry.cost = Float.parseFloat(powerHeader.get(11));
powerEntry.unknown01 = Integer.parseInt(powerHeader.get(12));
powerEntry.unknown02 = Integer.parseInt(powerHeader.get(13));
powerEntry.cast_time = Float.parseFloat(powerHeader.get(14));