forked from MagicBane/Server
Values are floats
This commit is contained in:
@@ -21,8 +21,8 @@ public class PowerEntry {
|
|||||||
public String excludeType;
|
public String excludeType;
|
||||||
public String costType;
|
public String costType;
|
||||||
public float cost;
|
public float cost;
|
||||||
public int difficulty;
|
public float difficulty;
|
||||||
public int precision;
|
public float precision;
|
||||||
public float init_time;
|
public float init_time;
|
||||||
public float release_time;
|
public float release_time;
|
||||||
public float recycle_time;
|
public float recycle_time;
|
||||||
|
|||||||
@@ -94,8 +94,8 @@ public class PowersParser {
|
|||||||
powerEntry.excludeType = iterator.next();
|
powerEntry.excludeType = iterator.next();
|
||||||
powerEntry.costType = iterator.next();
|
powerEntry.costType = iterator.next();
|
||||||
powerEntry.cost = Float.parseFloat(iterator.next());
|
powerEntry.cost = Float.parseFloat(iterator.next());
|
||||||
powerEntry.difficulty = Integer.parseInt(iterator.next());
|
powerEntry.difficulty = Float.parseFloat(iterator.next());
|
||||||
powerEntry.precision = Integer.parseInt(iterator.next());
|
powerEntry.precision = Float.parseFloat(iterator.next());
|
||||||
powerEntry.init_time = Float.parseFloat(iterator.next());
|
powerEntry.init_time = Float.parseFloat(iterator.next());
|
||||||
powerEntry.release_time = Float.parseFloat(iterator.next());
|
powerEntry.release_time = Float.parseFloat(iterator.next());
|
||||||
powerEntry.recycle_time = Float.parseFloat(iterator.next());
|
powerEntry.recycle_time = Float.parseFloat(iterator.next());
|
||||||
|
|||||||
Reference in New Issue
Block a user