Add a description to the gryo particle

This commit is contained in:
Sam 2017-10-26 00:46:24 +01:00 committed by Alexander Meech
parent 40186d3383
commit b414a308fe

View File

@ -43,7 +43,6 @@ public class ParticleGryo extends ParticleGadget
private static final double STARTING_RADIUS = 0.7;
private static final double SEPARATING_RADIUS = 0.1;
private static final double MAX_THETA = 2 * Math.PI;
private static final double DELTA_VECTOR = Math.PI / 10;
private static final double VECTOR_THETA = Math.PI / 200;
private final AchievementManager _achievementManager;
@ -55,9 +54,15 @@ public class ParticleGryo extends ParticleGadget
{
super(manager, "Rainbow Aura", new String[]
{
C.cWhite + "Bask in the light of",
C.cWhite + "your dedication with a",
C.cWhite + "set of rainbows that get",
C.cWhite + "cooler the more you level up",
C.blankLine,
C.cWhite + "+1 Ring per " + RING_PER + " Mineplex Levels",
C.blankLine,
C.cBlue + "Only purchasable during November 2017",
C.cBlue + "Only purchasable during",
C.cBlue + "November 2017",
}, CostConstants.NO_LORE, Material.WOOL, (byte) (UtilMath.r(14) + 1));
_achievementManager = achievementManager;
@ -111,7 +116,7 @@ public class ParticleGryo extends ParticleGadget
{
DustSpellColor colour = COLOURS[i];
int j = i + 1;
double vectorTheta = _vectorTheta + DELTA_VECTOR * i;
double vectorTheta = _vectorTheta + (MAX_THETA / j);
double r = STARTING_RADIUS + SEPARATING_RADIUS * j;
double d = MAX_THETA / (7 * r);