Ok, that feels about right.

This commit is contained in:
Vasco Lavos committed 2014-04-22 14:54:43 +01:00
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);