Added Charging rune and associated necessities, such as having the Seer's Sigil detect total charge.

This commit is contained in:
WayofTime 2016-01-01 17:36:50 -05:00
parent 142cefd9be
commit 318e3a03c7
13 changed files with 145 additions and 22 deletions

View file

@ -51,6 +51,10 @@ public class Constants
public static final String ALTAR_ACCELERATION_UPGRADES = "accelerationUpgrades";
public static final String ALTAR_DEMON_BLOOD_DURATION = "demonBloodDuration";
public static final String ALTAR_COOLDOWN_AFTER_CRAFTING = "cooldownAfterCrafting";
public static final String ALTAR_TOTAL_CHARGE = "totalCharge";
public static final String ALTAR_MAX_CHARGE = "maxCharge";
public static final String ALTAR_CHARGE_RATE = "chargeRate";
public static final String ALTAR_CHARGE_FREQUENCY = "chargeFrequency";
public static final String ALTARMAKER_CURRENT_TIER = "currentTier";

View file

@ -18,6 +18,7 @@ public class AltarUpgrade
private int orbCapacityCount;
private int betterCapacityCount;
private int accelerationCount;
private int chargingCount;
// Adders
@ -74,4 +75,10 @@ public class AltarUpgrade
accelerationCount++;
return this;
}
public AltarUpgrade addCharging()
{
chargingCount++;
return this;
}
}

View file

@ -22,6 +22,12 @@ public interface IBloodAltar
float getConsumptionRate();
int getChargingRate();
int getChargingFrequency();
int getTotalCharge();
int getLiquidRequired();
int getBufferCapacity();
@ -44,7 +50,7 @@ public interface IBloodAltar
* This can only be set while the altar is not active.
*
* @param cooldown
* - How long the cooldown should last
* - How long the cooldown should last
*/
void requestPauseAfterCrafting(int cooldown);
}