mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 05:02:30 +00:00
Ok, that feels about right.
This commit is contained in:
1 parent
5dc5e2c6c7
commit
f9e5b50828
1 file changed
+2
-2
@@ -45,9 +45,9 @@ public class ItemTinyPlanet extends ItemBauble {
|
||||
IManaBurst burst = (IManaBurst) entity;
|
||||
int orbitTime = getEntityOrbitTime(entity);
|
||||
if(orbitTime == 0)
|
||||
burst.setMinManaLoss(burst.getMinManaLoss() * 2);
|
||||
burst.setMinManaLoss(burst.getMinManaLoss() * 3);
|
||||
|
||||
float radius = (float) (Math.max(40, orbitTime) - 40) / 40F + 1F;
|
||||
float radius = (float) (Math.max(40, orbitTime) - 40) / 40F + 1.5F;
|
||||
int angle = orbitTime % 360;
|
||||
|
||||
float xTarget = (float) (player.posX + Math.cos((angle * 10) * Math.PI / 180F) * radius);
|
||||
|
||||
Reference in new issue
Block a user