Touched up Divination Sigil -> Incense Altar interaction
This commit is contained in:
parent
4e054224ac
commit
a0b5571f96
|
@ -60,12 +60,12 @@ public class ItemSigilDivination extends ItemSigilBase implements IAltarReader
|
|||
int capacity = altar.getCapacity();
|
||||
altar.checkTier();
|
||||
ChatUtil.sendNoSpam(player, TextHelper.localize(tooltipBase + "currentAltarTier", tier), TextHelper.localize(tooltipBase + "currentEssence", currentEssence), TextHelper.localize(tooltipBase + "currentAltarCapacity", capacity));
|
||||
|
||||
} else if (tile != null && tile instanceof TileIncenseAltar)
|
||||
{
|
||||
TileIncenseAltar altar = (TileIncenseAltar) tile;
|
||||
altar.recheckConstruction();
|
||||
double tranquility = altar.tranquility;
|
||||
ChatUtil.sendNoSpam(player, TextHelper.localize(tooltipBase + "currentTranquility", ((int) (100 * tranquility)) / 100d), TextHelper.localize(tooltipBase + "currentBonus", (int) (100 * altar.incenseAddition)));
|
||||
ChatUtil.sendNoSpam(player, TextHelper.localize(tooltipBase + "currentTranquility", (int) ((100D * (int) (100 * tranquility)) / 100d)), TextHelper.localize(tooltipBase + "currentBonus", (int) (100 * altar.incenseAddition)));
|
||||
} else
|
||||
{
|
||||
ChatUtil.sendNoSpam(player, TextHelper.localize(tooltipBase + "currentEssence", currentEssence));
|
||||
|
|
|
@ -208,7 +208,7 @@ tooltip.BloodMagic.sigil.divination.otherNetwork=Peering into the soul of %s
|
|||
tooltip.BloodMagic.sigil.divination.currentAltarTier=Current Tier: %d
|
||||
tooltip.BloodMagic.sigil.divination.currentEssence=Current Essence: %,d LP
|
||||
tooltip.BloodMagic.sigil.divination.currentAltarCapacity=Current Capacity: %,d LP
|
||||
tooltip.BloodMagic.sigil.divination.currentTranquility=Current Tranquility: %,f
|
||||
tooltip.BloodMagic.sigil.divination.currentTranquility=Current Tranquility: %,d
|
||||
tooltip.BloodMagic.sigil.divination.currentBonus=Current Bonus: +%,d%%
|
||||
tooltip.BloodMagic.sigil.water.desc=&oInfinite water, anyone?
|
||||
tooltip.BloodMagic.sigil.lava.desc=&oHOT! DO NOT EAT
|
||||
|
|
Loading…
Reference in a new issue