Done with animation.

This commit is contained in:
Mysticate 2015-10-10 01:43:31 -04:00
parent 9a7357e484
commit 30a9196430
1 changed files with 89 additions and 6 deletions

View File

@ -263,21 +263,104 @@ public class NewsManager extends MiniPlugin
* Myst's sexy ass animation :>
*/
_animationIndex = (_animationIndex + 1) % 40;
_animationIndex = (_animationIndex + 1) % 120;
if (_animationIndex < 20)
if (_animationIndex == 0) text = C.cGoldB + " ";
if (_animationIndex == 1) text = C.cGoldB + " H";
if (_animationIndex == 2) text = C.cGoldB + " HA";
if (_animationIndex == 3) text = C.cGoldB + " HAP";
if (_animationIndex == 4) text = C.cGoldB + " HAPP";
if (_animationIndex == 5) text = C.cGoldB + " HAPPY";
if (_animationIndex == 6) text = C.cGoldB + " HAPPY ";
if (_animationIndex == 7) text = C.cGoldB + " HAPPY H";
if (_animationIndex == 8) text = C.cGoldB + " HAPPY HA";
if (_animationIndex == 9) text = C.cGoldB + " HAPPY HAL";
if (_animationIndex == 10) text = C.cGoldB + " HAPPY HALL";
if (_animationIndex == 11) text = C.cGoldB + " HAPPY HALLO";
if (_animationIndex == 12) text = C.cGoldB + " HAPPY HALLOW";
if (_animationIndex == 13) text = C.cGoldB + " HAPPY HALLOWE";
if (_animationIndex == 14) text = C.cGoldB + " HAPPY HALLOWEE";
if (_animationIndex == 15 || _animationIndex == 16) text = C.cGoldB + "HAPPY HALLOWEEN";
if (_animationIndex == 17) text = C.cWhiteB + "5" + C.cGoldB + " HAPPY HALLOWEEN " + C.cWhiteB + "2";
if (_animationIndex == 18) text = C.cWhiteB + "15" + C.cGoldB + " HAPPY HALLOWEEN " + C.cWhiteB + "20";
if (_animationIndex == 19) text = C.cWhiteB + "015" + C.cGoldB + " HAPPY HALLOWEEN " + C.cWhiteB + "201";
if (_animationIndex == 20) text = C.cWhiteB + "2015" + C.cGoldB + " HAPPY HALLOWEEN " + C.cWhiteB + "2015";
if (_animationIndex > 20 && _animationIndex <= 40)
{
if (_animationIndex % 3 == 0) text = C.cWhiteB + "2015" + C.cGoldB + " HAPPY HALLOWEEN " + C.cWhiteB + "2015";
else if (_animationIndex % 3 == 1) text = C.cWhiteB + "2015" + C.cRedB + " HAPPY HALLOWEEN " + C.cWhiteB + "2015";
else text = C.cWhiteB + "2015" + C.cYellowB + " HAPPY HALLOWEEN " + C.cWhiteB + "2015";
}
else
if (_animationIndex == 41) text = C.cWhiteB + "2015" + C.cGoldB + " HAPPY HALLOWEEN " + C.cWhiteB + "2015";
if (_animationIndex == 42) text = C.cWhiteB + "015" + C.cGoldB + " HAPPY HALLOWEEN " + C.cWhiteB + "201";
if (_animationIndex == 43) text = C.cWhiteB + "15" + C.cGoldB + " HAPPY HALLOWEEN " + C.cWhiteB + "20";
if (_animationIndex == 44) text = C.cWhiteB + "5" + C.cGoldB + " HAPPY HALLOWEEN " + C.cWhiteB + "2";
if (_animationIndex == 45 || _animationIndex == 46) text = C.cGoldB + "HAPPY HALLOWEEN";
if (_animationIndex == 47) text = C.cGoldB + "APPY HALLOWEEN ";
if (_animationIndex == 48) text = C.cGoldB + "PPY HALLOWEEN ";
if (_animationIndex == 49) text = C.cGoldB + "PY HALLOWEEN ";
if (_animationIndex == 50) text = C.cGoldB + "Y HALLOWEEN ";
if (_animationIndex == 51) text = C.cGoldB + " HALLOWEEN ";
if (_animationIndex == 52) text = C.cGoldB + "HALLOWEEN ";
if (_animationIndex == 53) text = C.cGoldB + "ALLOWEEN ";
if (_animationIndex == 54) text = C.cGoldB + "LLOWEEN ";
if (_animationIndex == 55) text = C.cGoldB + "LOWEEN ";
if (_animationIndex == 56) text = C.cGoldB + "OWEEN ";
if (_animationIndex == 57) text = C.cGoldB + "WEEN ";
if (_animationIndex == 58) text = C.cGoldB + "EEN ";
if (_animationIndex == 59) text = C.cGoldB + "EN ";
if (_animationIndex == 60) text = C.cGoldB + "N ";
if (_animationIndex == 61) text = C.cGoldB + " ";
if (_animationIndex == 62) text = C.cGoldB + " S";
if (_animationIndex == 63) text = C.cGoldB + " SP";
if (_animationIndex == 64) text = C.cGoldB + " SPO";
if (_animationIndex == 65) text = C.cGoldB + " SPOO";
if (_animationIndex == 66) text = C.cGoldB + " SPOOK";
if (_animationIndex == 67) text = C.cGoldB + " SPOOKY";
if (_animationIndex == 68) text = C.cGoldB + " SPOOKY ";
if (_animationIndex == 69) text = C.cGoldB + " SPOOKY S";
if (_animationIndex == 70) text = C.cGoldB + " SPOOKY SA";
if (_animationIndex == 71) text = C.cGoldB + " SPOOKY SAL";
if (_animationIndex == 72 || _animationIndex == 73) text = C.cGoldB + "SPOOKY SALE";
if (_animationIndex == 74) text = C.cWhiteB + "F" + C.cGoldB + " SPOOKY SALE " + C.cWhiteB + "5";
if (_animationIndex == 75) text = C.cWhiteB + "FF" + C.cGoldB + " SPOOKY SALE " + C.cWhiteB + "50";
if (_animationIndex == 76) text = C.cWhiteB + "OFF" + C.cGoldB + " SPOOKY SALE " + C.cWhiteB + "50%";
if (_animationIndex == 77) text = C.cWhiteB + " OFF" + C.cGoldB + " SPOOKY SALE " + C.cWhiteB + "50% ";
if (_animationIndex == 78) text = C.cWhiteB + "% OFF" + C.cGoldB + " SPOOKY SALE " + C.cWhiteB + "50% O";
if (_animationIndex == 79) text = C.cWhiteB + "0% OFF" + C.cGoldB + " SPOOKY SALE " + C.cWhiteB + "50% OF";
if (_animationIndex == 80) text = C.cWhiteB + "50% OFF" + C.cGoldB + " SPOOKY SALE " + C.cWhiteB + "50% OFF";
if (_animationIndex > 80 && _animationIndex <= 100)
{
if (_animationIndex % 2 == 0) text = C.cWhiteB + "50% Off" + C.cGoldB + " SPOOKY SALE " + C.cWhiteB + "50% Off";
else if (_animationIndex % 2 == 1) text = C.cWhiteB + "50% Off" + C.cRedB + " SPOOKY SALE " + C.cWhiteB + "50% Off";
else text = C.cWhiteB + "50% Off" + C.cYellowB + " SPOOKY SALE " + C.cWhiteB + "50% Off";
if (_animationIndex % 2 == 0) text = C.cWhiteB + "50% OFF" + C.cGoldB + " SPOOKY SALE " + C.cWhiteB + "50% OFF";
else if (_animationIndex % 2 == 1) text = C.cWhiteB + "50% OFF" + C.cRedB + " SPOOKY SALE " + C.cWhiteB + "50% OFF";
else text = C.cWhiteB + "50% OFF" + C.cYellowB + " SPOOKY SALE " + C.cWhiteB + "50% OFF";
}
if (_animationIndex == 101) text = C.cWhiteB + "50% OFF" + C.cGoldB + " SPOOKY SALE " + C.cWhiteB + "50% OFF";
if (_animationIndex == 102) text = C.cWhiteB + "0% OFF" + C.cGoldB + " SPOOKY SALE " + C.cWhiteB + "50% OFF";
if (_animationIndex == 103) text = C.cWhiteB + "% OFF" + C.cGoldB + " SPOOKY SALE " + C.cWhiteB + "50% O";
if (_animationIndex == 104) text = C.cWhiteB + " OFF" + C.cGoldB + " SPOOKY SALE " + C.cWhiteB + "50% ";
if (_animationIndex == 105) text = C.cWhiteB + "OFF" + C.cGoldB + " SPOOKY SALE " + C.cWhiteB + "50%";
if (_animationIndex == 106) text = C.cWhiteB + "FF" + C.cGoldB + " SPOOKY SALE " + C.cWhiteB + "50";
if (_animationIndex == 107) text = C.cWhiteB + "F" + C.cGoldB + " SPOOKY SALE " + C.cWhiteB + "5";
if (_animationIndex == 108 || _animationIndex == 109) text = C.cGoldB + "SPOOKY SALE";
if (_animationIndex == 110) text = C.cGoldB + "POOKY SALE ";
if (_animationIndex == 111) text = C.cGoldB + "OOKY SALE ";
if (_animationIndex == 112) text = C.cGoldB + "OKY SALE ";
if (_animationIndex == 113) text = C.cGoldB + "KY SALE ";
if (_animationIndex == 114) text = C.cGoldB + "Y SALE ";
if (_animationIndex == 115) text = C.cGoldB + " SALE ";
if (_animationIndex == 116) text = C.cGoldB + "SALE ";
if (_animationIndex == 117) text = C.cGoldB + "ALE ";
if (_animationIndex == 118) text = C.cGoldB + "LE ";
if (_animationIndex == 119) text = C.cGoldB + "E ";
// if (_animationIndex < 24)
// {
// //Start up