mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-24 05:54:49 +00:00
Nerfed the Bands of Aura. A lot.
This commit is contained in:
1 parent
d04e21a5f0
commit
0f0751eb8a
2 files changed
+13
-13
No files matched your search
@@ -20,16 +20,24 @@ import baubles.api.BaubleType;
|
||||
|
||||
public class ItemAuraRing extends ItemBauble {
|
||||
|
||||
public ItemAuraRing(String name) {
|
||||
super(name);
|
||||
}
|
||||
|
||||
public ItemAuraRing() {
|
||||
super(LibItemNames.AURA_RING);
|
||||
this(LibItemNames.AURA_RING);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onWornTick(ItemStack stack, EntityLivingBase player) {
|
||||
super.onWornTick(stack, player);
|
||||
if(player instanceof EntityPlayer && player.ticksExisted % 2 == 0)
|
||||
if(player instanceof EntityPlayer && player.ticksExisted % getDelay() == 0)
|
||||
ManaItemHandler.dispatchManaExact(stack, (EntityPlayer) player, 1, true);
|
||||
}
|
||||
|
||||
int getDelay() {
|
||||
return 10;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaubleType getBaubleType(ItemStack itemstack) {
|
||||
|
||||
@@ -18,22 +18,14 @@ import vazkii.botania.api.mana.ManaItemHandler;
|
||||
import vazkii.botania.common.lib.LibItemNames;
|
||||
import baubles.api.BaubleType;
|
||||
|
||||
public class ItemGreaterAuraRing extends ItemBauble {
|
||||
public class ItemGreaterAuraRing extends ItemAuraRing {
|
||||
|
||||
public ItemGreaterAuraRing() {
|
||||
super(LibItemNames.AURA_RING_GREATER);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onWornTick(ItemStack stack, EntityLivingBase player) {
|
||||
super.onWornTick(stack, player);
|
||||
if(player instanceof EntityPlayer)
|
||||
ManaItemHandler.dispatchManaExact(stack, (EntityPlayer) player, player.ticksExisted % 3 == 0 ? 2 : 1, true);
|
||||
int getDelay() {
|
||||
return 3;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaubleType getBaubleType(ItemStack itemstack) {
|
||||
return BaubleType.RING;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user