Added an auto-crafting ritual
Fixed Blood Light sigil glitches Fixed some issues with the Reagent HP bar not draining correctly - what was I thinking?!?
This commit is contained in:
parent
d1fc806113
commit
3d89bd6b90
13 changed files with 503 additions and 55 deletions
|
@ -66,9 +66,13 @@ public class RitualEffectSoulBound extends RitualEffect
|
|||
if (BindingRegistry.isRequiredItemValid(itemStack))
|
||||
{
|
||||
ritualStone.setVar1(BindingRegistry.getIndexForItem(itemStack) + 1);
|
||||
itemStack.stackSize--;
|
||||
world.addWeatherEffect(new EntityLightningBolt(world, x, y + 1, z));
|
||||
ritualStone.setCooldown(ritualStone.getCooldown() - 1);
|
||||
item.setDead();
|
||||
if(itemStack.stackSize <= 0)
|
||||
{
|
||||
item.setDead();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue