Added Whirlwind to the potion registry - fixing a bug where the fast miner sigil would also cause the whirlwind effect. Increased the effect of the fast miner sigil to haste 2, to correspond with what the Sanguine Scientium states. (#1552)

This commit is contained in:
Phil 2019-02-28 15:13:48 -05:00 committed by Nick Ignoffo
parent 22ac5b0da5
commit c8b004c9b6
2 changed files with 2 additions and 1 deletions

View file

@ -89,6 +89,7 @@ public class RegistrarBloodMagic
{
event.getRegistry().registerAll(
new PotionBloodMagic("Boost", false, 0xFFFFFF, 0, 0).setRegistryName("boost"),
new PotionBloodMagic("Whirlwind", false, 0xFFFFFF, 0, 0).setRegistryName("whirlwind"),
new PotionBloodMagic("Planar Binding", false, 0, 2, 0).setRegistryName("planar_binding"),
new PotionBloodMagic("Soul Snare", false, 0xFFFFFF, 3, 0).setRegistryName("soul_snare"),
new PotionBloodMagic("Soul Fray", true, 0xFFFFFF, 4, 0).setRegistryName("soul_fray"),

View file

@ -21,7 +21,7 @@ public class ItemSigilFastMiner extends ItemSigilToggleableBase {
public void onSigilUpdate(ItemStack stack, World world, EntityPlayer player, int itemSlot, boolean isSelected) {
if (PlayerHelper.isFakePlayer(player))
return;
player.addPotionEffect(new PotionEffect(MobEffects.HASTE, 2, 0, true, false));
player.addPotionEffect(new PotionEffect(MobEffects.HASTE, 2, 1, true, false));
}
@Override