Revert "Fixed Teleposers"

This reverts commit da9866ac8f.
This commit is contained in:
Arcaratus 2015-05-11 19:05:14 -04:00
parent da9866ac8f
commit 307184fb85
15 changed files with 116 additions and 78 deletions

View file

@ -10,7 +10,7 @@ import WayofTime.alchemicalWizardry.api.tile.IBloodAltar;
public class PlayerSacrificeHandler
{
public static float scalingOfSacrifice = 0.0025f;
public static float scalingOfSacrifice = 0.001f;
public static int soulFrayDuration = 400;
public static float getPlayerIncense(EntityPlayer player)
{
@ -22,7 +22,7 @@ public class PlayerSacrificeHandler
APISpellHelper.setCurrentIncense(player, amount);
}
public static boolean incrementIncense(EntityPlayer player, float min, float max)
public static boolean incrementIncense(EntityPlayer player, float min, float max, float increment)
{
float amount = getPlayerIncense(player);
if(amount < min || amount >= max)
@ -30,7 +30,7 @@ public class PlayerSacrificeHandler
return false;
}
amount++;
amount = amount + Math.max(increment, max - amount);
setPlayerIncense(player, amount);
return true;