- Visual edits
This commit is contained in:
parent
05f47be864
commit
512714219b
@ -227,9 +227,9 @@ public class CaptureTheFlag extends TeamGame
|
|||||||
{
|
{
|
||||||
byte b;
|
byte b;
|
||||||
if (red)
|
if (red)
|
||||||
b = DyeColor.RED.getWoolData();
|
b = DyeColor.RED.getDyeData();
|
||||||
else
|
else
|
||||||
b = DyeColor.BLUE.getWoolData();
|
b = DyeColor.BLUE.getDyeData();
|
||||||
net.minecraft.server.v1_7_R4.ItemStack item = new net.minecraft.server.v1_7_R4.ItemStack(
|
net.minecraft.server.v1_7_R4.ItemStack item = new net.minecraft.server.v1_7_R4.ItemStack(
|
||||||
PacketHandler.BANNER, 1, 32767);
|
PacketHandler.BANNER, 1, 32767);
|
||||||
NBTTagCompound nbtBase = new NBTTagCompound();
|
NBTTagCompound nbtBase = new NBTTagCompound();
|
||||||
|
@ -3,6 +3,9 @@ package nautilus.game.arcade.game.games.common.ctf_data;
|
|||||||
import mineplex.core.common.util.C;
|
import mineplex.core.common.util.C;
|
||||||
import mineplex.core.common.util.UtilEnt;
|
import mineplex.core.common.util.UtilEnt;
|
||||||
import mineplex.core.common.util.UtilFirework;
|
import mineplex.core.common.util.UtilFirework;
|
||||||
|
import mineplex.core.common.util.UtilParticle;
|
||||||
|
import mineplex.core.common.util.UtilParticle.ParticleType;
|
||||||
|
import mineplex.core.common.util.UtilParticle.ViewDist;
|
||||||
import mineplex.core.common.util.UtilPlayer;
|
import mineplex.core.common.util.UtilPlayer;
|
||||||
import mineplex.core.common.util.UtilServer;
|
import mineplex.core.common.util.UtilServer;
|
||||||
import mineplex.core.common.util.UtilTextBottom;
|
import mineplex.core.common.util.UtilTextBottom;
|
||||||
@ -188,6 +191,19 @@ public class Flag
|
|||||||
|
|
||||||
UtilTextBottom.display("Return the Flag to your Capture Zone!", _holding);
|
UtilTextBottom.display("Return the Flag to your Capture Zone!", _holding);
|
||||||
|
|
||||||
|
if (_team.GetColor() == ChatColor.RED)
|
||||||
|
{
|
||||||
|
for (int i = 0 ; i < 2 ; i++)
|
||||||
|
UtilParticle.PlayParticle(ParticleType.RED_DUST, _holding.getEyeLocation().clone().add(0.0, 0.5, 0.0), 0, 0, 0, 0, 1,
|
||||||
|
ViewDist.MAX, UtilServer.getPlayers());
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
for (int i = 0 ; i < 2 ; i++)
|
||||||
|
UtilParticle.PlayParticle(ParticleType.RED_DUST, _holding.getEyeLocation().clone().add(0.0, 0.5, 0.0), -1, 1, 1, 1, 0,
|
||||||
|
ViewDist.MAX, UtilServer.getPlayers());
|
||||||
|
}
|
||||||
|
|
||||||
if (Host.GetTeam(_holding).GetColor() == ChatColor.RED)
|
if (Host.GetTeam(_holding).GetColor() == ChatColor.RED)
|
||||||
_holding.setCompassTarget(Host.getRedFlag());
|
_holding.setCompassTarget(Host.getRedFlag());
|
||||||
else
|
else
|
||||||
@ -212,7 +228,7 @@ public class Flag
|
|||||||
UtilEnt.Vegetate(_flagEntity);
|
UtilEnt.Vegetate(_flagEntity);
|
||||||
DisguiseArmorStand disguise = new DisguiseArmorStand(_flagEntity);
|
DisguiseArmorStand disguise = new DisguiseArmorStand(_flagEntity);
|
||||||
disguise.setInvisible(true);
|
disguise.setInvisible(true);
|
||||||
disguise.setBoots(_representation);
|
disguise.setHelmet(_representation);
|
||||||
Host.getArcadeManager().GetDisguise().disguise(disguise, UtilServer.getPlayers());
|
Host.getArcadeManager().GetDisguise().disguise(disguise, UtilServer.getPlayers());
|
||||||
_disguise = disguise;
|
_disguise = disguise;
|
||||||
if (!initial) Host.CreatureAllowOverride = false;
|
if (!initial) Host.CreatureAllowOverride = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user