Added damage boost and attack speed penalty for the Destructive sentient armour
This commit is contained in:
parent
d7191d9f2e
commit
b1a532950d
3 changed files with 76 additions and 3 deletions
|
@ -258,6 +258,16 @@ public class ItemSoulGem extends Item implements IDemonWillGem, IMeshProvider, I
|
|||
|
||||
NBTTagCompound tag = soulGemStack.getTagCompound();
|
||||
|
||||
if (type == EnumDemonWillType.DEFAULT)
|
||||
{
|
||||
if (tag.hasKey(Constants.NBT.WILL_TYPE))
|
||||
{
|
||||
tag.removeTag(Constants.NBT.WILL_TYPE);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
tag.setString(Constants.NBT.WILL_TYPE, type.toString());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue