Fix EBF coil buff
This commit is contained in:
parent
f361360e06
commit
443806f73a
1 changed files with 5 additions and 5 deletions
|
@ -113,17 +113,17 @@ public class GT_MetaTileEntity_ElectricBlastFurnace
|
|||
this.mEfficiency = (10000 - (getIdealStatus() - getRepairStatus()) * 1000);
|
||||
this.mEfficiencyIncrease = 10000;
|
||||
int tHeatCapacityDivTiers = (mHeatingCapacity - tRecipe.mSpecialValue)/900;
|
||||
calculateOverclockedNessMulti(tRecipe.mEUt, tRecipe.mDuration, 1, tVoltage);
|
||||
calculateOverclockedNessMulti(tRecipe.mEUt, tRecipe.mDuration, 1, tVoltage);
|
||||
//In case recipe is too OP for that machine
|
||||
if (mMaxProgresstime == Integer.MAX_VALUE - 1 && mEUt == Integer.MAX_VALUE - 1)
|
||||
return false;
|
||||
if (this.mEUt > 0) {
|
||||
this.mEUt = (-this.mEUt);
|
||||
}
|
||||
if(tHeatCapacityDivTiers>0){
|
||||
this.mEUt = (int) (this.mEUt * (Math.pow(0.95, tHeatCapacityDivTiers)));
|
||||
this.mMaxProgresstime /= (tHeatCapacityDivTiers>=i ? 4 : 2);
|
||||
}
|
||||
if(tHeatCapacityDivTiers>0){
|
||||
this.mEUt = (int) (this.mEUt * (Math.pow(0.95, tHeatCapacityDivTiers)));
|
||||
this.mMaxProgresstime /=(int)Math.pow((tHeatCapacityDivTiers+2)/ 2,2);//TODO CHECK
|
||||
}
|
||||
this.mMaxProgresstime = Math.max(1, this.mMaxProgresstime);
|
||||
this.mOutputItems = new ItemStack[]{tRecipe.getOutput(0), tRecipe.getOutput(1)};
|
||||
updateSlots();
|
||||
|
|
Loading…
Reference in a new issue