mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-14 01:04:16 +00:00
Endoflame now does passive generation at double the speed.
This commit is contained in:
1 parent
990f6686c7
commit
1ef572148a
2 files changed
+10
-1
No files matched your search
@@ -55,7 +55,7 @@ public class SubTileGenerating extends SubTileEntity {
|
||||
if(canGeneratePassively()) {
|
||||
int delay = getDelayBetweenPassiveGeneration();
|
||||
if(delay > 0 && supertile.worldObj.getWorldTime() % delay == 0)
|
||||
addMana(1);
|
||||
addMana(getValueForPassiveGeneration());
|
||||
emptyManaIntoCollector();
|
||||
}
|
||||
|
||||
@@ -114,6 +114,10 @@ public class SubTileGenerating extends SubTileEntity {
|
||||
public int getDelayBetweenPassiveGeneration() {
|
||||
return 30;
|
||||
}
|
||||
|
||||
public int getValueForPassiveGeneration() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onWanded(EntityPlayer player, ItemStack wand) {
|
||||
|
||||
@@ -75,6 +75,11 @@ public class SubTileEndoflame extends SubTileGenerating {
|
||||
return 300;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getValueForPassiveGeneration() {
|
||||
return 2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getColor() {
|
||||
return 0x785000;
|
||||
|
||||
Reference in new issue
Block a user