skywars art

This commit is contained in:
Cheese 2015-06-28 14:31:25 +10:00
parent 08e4ef199e
commit ead402d026
4 changed files with 41 additions and 40 deletions

BIN
Art/Skywars/Skywars.lip Normal file

Binary file not shown.

BIN
Art/Skywars/Skywars.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

BIN
Art/Skywars/Skywars.psd Normal file

Binary file not shown.

View File

@ -230,47 +230,48 @@ public class PerkMadScientist extends Perk implements IThrown
//Name //Name
zombie.setCustomName(C.cAqua + UtilEnt.getName(data.GetThrower()) + "'s Minion"); zombie.setCustomName(C.cAqua + UtilEnt.getName(data.GetThrower()) + "'s Minion");
zombie.setCustomNameVisible(true);
double r = Math.random(); // double r = Math.random();
//
DisguiseBase disguise; // DisguiseBase disguise;
if (r > 0.8) // if (r > 0.8)
{ // {
disguise = new DisguiseZombie(zombie); // disguise = new DisguiseZombie(zombie);
} // }
else if (r > 0.6) // else if (r > 0.6)
{ // {
disguise = new DisguiseBlaze(zombie); // disguise = new DisguiseBlaze(zombie);
} // }
else if (r > 0.4) // else if (r > 0.4)
{ // {
disguise = new DisguiseSpider(zombie); // disguise = new DisguiseSpider(zombie);
} // }
else if (r > 0.2) // else if (r > 0.2)
{ // {
disguise = new DisguiseSkeleton(zombie); // disguise = new DisguiseSkeleton(zombie);
} // }
else // else
{ // {
disguise = new DisguiseSlime(zombie); // disguise = new DisguiseSlime(zombie);
((DisguiseSlime)disguise).SetSize(2); // ((DisguiseSlime)disguise).SetSize(2);
} // }
//
if (disguise instanceof DisguiseInsentient) // if (disguise instanceof DisguiseInsentient)
{ // {
if (((Player) data.GetThrower()).getName().toLowerCase().endsWith("s")) // if (((Player) data.GetThrower()).getName().toLowerCase().endsWith("s"))
{ // {
((DisguiseInsentient)disguise).setName(C.cAqua + UtilEnt.getName(data.GetThrower()) + "' Minion"); // ((DisguiseInsentient)disguise).setName(C.cAqua + UtilEnt.getName(data.GetThrower()) + "' Minion");
} // }
else // else
{ // {
((DisguiseInsentient)disguise).setName(C.cAqua + UtilEnt.getName(data.GetThrower()) + "' Minion"); // ((DisguiseInsentient)disguise).setName(C.cAqua + UtilEnt.getName(data.GetThrower()) + "' Minion");
} // }
//
((DisguiseInsentient)disguise).setCustomNameVisible(true); // ((DisguiseInsentient)disguise).setCustomNameVisible(true);
} // }
//
Manager.GetDisguise().disguise(disguise); // Manager.GetDisguise().disguise(disguise);
Manager.GetGame().CreatureAllowOverride = false; Manager.GetGame().CreatureAllowOverride = false;