Getting ready for release candidate
This commit is contained in:
parent
084e3dd348
commit
96930fc47a
18 changed files with 477 additions and 69 deletions
|
@ -144,6 +144,10 @@ public class ItemRitualDiviner extends EnergyItems
|
|||
{
|
||||
TEMasterStone masterStone = (TEMasterStone) tileEntity;
|
||||
List<RitualComponent> ritualList = Rituals.getRitualList(this.getCurrentRitual(par1ItemStack));
|
||||
if(ritualList == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
int playerInvRitualStoneLocation = -1;
|
||||
|
||||
for (int i = 0; i < playerInventory.length; i++)
|
||||
|
|
|
@ -417,7 +417,7 @@ public class ItemSpellMultiTool extends Item
|
|||
@Override
|
||||
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4)
|
||||
{
|
||||
par3List.add("Here's a 'Tool Tip' :D");
|
||||
par3List.add("A mace filled with ancient alchemy");
|
||||
|
||||
if (!(par1ItemStack.stackTagCompound == null))
|
||||
{
|
||||
|
@ -434,7 +434,7 @@ public class ItemSpellMultiTool extends Item
|
|||
par3List.add("");
|
||||
float damage = this.getCustomItemAttack(par1ItemStack);
|
||||
par3List.add("\u00A79+" + ((int)(damage*10))/10.0f + " " + "Attack Damage");
|
||||
float critChance = ((int)(this.getCritChance(par1ItemStack)*1000))/10;
|
||||
float critChance = ((int)(this.getCritChance(par1ItemStack)*1000))/10.0f;
|
||||
par3List.add("\u00A79+" + critChance + "% " + "Crit Chance");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue