Added the same ability to the Seer sigil.
This commit is contained in:
parent
820418558e
commit
4bb7faabb1
|
@ -2,6 +2,9 @@
|
|||
Version 2.0.0-12
|
||||
------------------------------------------------------
|
||||
- Added recipes and temp textures for path blocks. More path blocks to come.
|
||||
- Tweaked the Incense altar and added its recipe.
|
||||
- Fixed Blood Light sigil not providing the right coloured particles
|
||||
- Added the ability for the divination sigil to look up information about the incense altar.
|
||||
|
||||
------------------------------------------------------
|
||||
Version 2.0.0-11
|
||||
|
|
|
@ -12,6 +12,7 @@ import WayofTime.bloodmagic.api.altar.IBloodAltar;
|
|||
import WayofTime.bloodmagic.api.iface.IAltarReader;
|
||||
import WayofTime.bloodmagic.api.util.helper.BindableHelper;
|
||||
import WayofTime.bloodmagic.api.util.helper.NetworkHelper;
|
||||
import WayofTime.bloodmagic.tile.TileIncenseAltar;
|
||||
import WayofTime.bloodmagic.util.ChatUtil;
|
||||
import WayofTime.bloodmagic.util.helper.TextHelper;
|
||||
|
||||
|
@ -65,6 +66,11 @@ public class ItemSigilSeer extends ItemSigilBase implements IAltarReader
|
|||
ChatUtil.sendNoSpam(player, TextHelper.localize(tooltipBase + "currentAltarTier", tier), TextHelper.localize(tooltipBase + "currentEssence", currentEssence), TextHelper.localize(tooltipBase + "currentAltarCapacity", capacity), TextHelper.localize(tooltipBase + "currentCharge", charge));
|
||||
}
|
||||
}
|
||||
} else if (tile != null && tile instanceof TileIncenseAltar)
|
||||
{
|
||||
TileIncenseAltar altar = (TileIncenseAltar) tile;
|
||||
double tranquility = altar.tranquility;
|
||||
ChatUtil.sendNoSpam(player, TextHelper.localize(tooltipBase + "currentTranquility", ((int) (100 * tranquility)) / 100d), TextHelper.localize(tooltipBase + "currentBonus", (int) (100 * altar.incenseAddition)));
|
||||
} else
|
||||
{
|
||||
ChatUtil.sendNoSpam(player, TextHelper.localize(tooltipBase + "currentEssence", currentEssence));
|
||||
|
|
Loading…
Reference in a new issue