Added the utmost LP configs
This commit is contained in:
parent
6b8942730c
commit
3793327f0c
2 changed files with 9 additions and 4 deletions
|
@ -268,6 +268,11 @@ public class BloodMagicConfiguration
|
||||||
AlchemicalWizardry.ritualCostPhantomHands = config.get(lpCosts, "Orchestra of the Phantom Hands", new int[]{10000, 0}).getIntList();
|
AlchemicalWizardry.ritualCostPhantomHands = config.get(lpCosts, "Orchestra of the Phantom Hands", new int[]{10000, 0}).getIntList();
|
||||||
AlchemicalWizardry.ritualCostSphereIsland = config.get(lpCosts, "Blood of the New Moon", new int[]{10000, 0}).getIntList();
|
AlchemicalWizardry.ritualCostSphereIsland = config.get(lpCosts, "Blood of the New Moon", new int[]{10000, 0}).getIntList();
|
||||||
|
|
||||||
|
AlchemicalWizardry.ritualWeakCostNight = config.get(lpCosts, "[Weak Ritual] Night", 5000).getInt();
|
||||||
|
AlchemicalWizardry.ritualWeakCostResistance = config.get(lpCosts, "[Weak Ritual] Resistance", 5000).getInt();
|
||||||
|
AlchemicalWizardry.ritualWeakCostThunderstorm = config.get(lpCosts, "[Weak Ritual] Thunderstorm", 5000).getInt();
|
||||||
|
AlchemicalWizardry.ritualWeakCostZombie = config.get(lpCosts, "[Weak Ritual] Zombie", 5000).getInt();
|
||||||
|
|
||||||
Side side = FMLCommonHandler.instance().getSide();
|
Side side = FMLCommonHandler.instance().getSide();
|
||||||
if (side == Side.CLIENT)
|
if (side == Side.CLIENT)
|
||||||
{
|
{
|
||||||
|
|
|
@ -48,7 +48,7 @@ public class ImperfectRitualStone extends Block
|
||||||
{
|
{
|
||||||
if (!player.capabilities.isCreativeMode && !world.isRemote)
|
if (!player.capabilities.isCreativeMode && !world.isRemote)
|
||||||
{
|
{
|
||||||
EnergyItems.drainPlayerNetwork(player, 5000);
|
EnergyItems.drainPlayerNetwork(player, AlchemicalWizardry.ritualWeakCostThunderstorm);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!world.isRemote)
|
if (!world.isRemote)
|
||||||
|
@ -70,7 +70,7 @@ public class ImperfectRitualStone extends Block
|
||||||
} else if (block == Blocks.coal_block && !AlchemicalWizardry.ritualWeakDisabledZombie) {
|
} else if (block == Blocks.coal_block && !AlchemicalWizardry.ritualWeakDisabledZombie) {
|
||||||
if (!player.capabilities.isCreativeMode && !world.isRemote)
|
if (!player.capabilities.isCreativeMode && !world.isRemote)
|
||||||
{
|
{
|
||||||
EnergyItems.drainPlayerNetwork(player, 5000);
|
EnergyItems.drainPlayerNetwork(player, AlchemicalWizardry.ritualWeakCostZombie);
|
||||||
}
|
}
|
||||||
|
|
||||||
EntityZombie zomb = new EntityZombie(world);
|
EntityZombie zomb = new EntityZombie(world);
|
||||||
|
@ -90,7 +90,7 @@ public class ImperfectRitualStone extends Block
|
||||||
{
|
{
|
||||||
if (!player.capabilities.isCreativeMode && !world.isRemote)
|
if (!player.capabilities.isCreativeMode && !world.isRemote)
|
||||||
{
|
{
|
||||||
EnergyItems.drainPlayerNetwork(player, 5000);
|
EnergyItems.drainPlayerNetwork(player, AlchemicalWizardry.ritualWeakCostNight);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!world.isRemote)
|
if (!world.isRemote)
|
||||||
|
@ -102,7 +102,7 @@ public class ImperfectRitualStone extends Block
|
||||||
{
|
{
|
||||||
if (!player.capabilities.isCreativeMode && !world.isRemote)
|
if (!player.capabilities.isCreativeMode && !world.isRemote)
|
||||||
{
|
{
|
||||||
EnergyItems.drainPlayerNetwork(player, 5000);
|
EnergyItems.drainPlayerNetwork(player, AlchemicalWizardry.ritualWeakCostResistance);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!world.isRemote)
|
if (!world.isRemote)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue