changed integer calculations for kinglemming

This commit is contained in:
MachineMuse 2013-12-15 18:42:33 -07:00
parent 9bf723a01c
commit 83ba7e0bb0

View file

@ -20,7 +20,7 @@ object ElectricConversions {
def museEnergyFromEU(eu: Double): Double = eu * ModCompatability.getIC2Ratio def museEnergyFromEU(eu: Double): Double = eu * ModCompatability.getIC2Ratio
// TE // TE
def museEnergyToRF(museEnergy: Double): Int = (museEnergy / ModCompatability.getRFRatio).toInt def museEnergyToRF(museEnergy: Double): Int = Math.ceil(museEnergy / ModCompatability.getRFRatio).toInt
def museEnergyFromRF(rf: Int): Double = rf * ModCompatability.getRFRatio def museEnergyFromRF(rf: Int): Double = rf * ModCompatability.getRFRatio