Disable particles in DOM, CTF, TDM, MS, BH, SA, UHC, WIZ, SSM

This commit is contained in:
ArcticZeroo 2017-10-29 16:08:03 -04:00 committed by Alexander Meech
parent efcf3db854
commit 2b3563e86e
8 changed files with 11 additions and 0 deletions

View File

@ -70,6 +70,8 @@ public class ChampionsDominate extends Domination
this.DontAllowOverfill = true;
this.DisableKillCommand = false;
this.AllowParticles = false;
registerStatTrackers(
new KillReasonStatTracker(this, "Backstab", "Assassination", false),

View File

@ -65,6 +65,7 @@ public class TeamDeathmatch extends TeamGame
this.DeathOut = true;
this.HungerSet = 20;
this.WorldTimeSet = 2000;
this.AllowParticles = false;
new CompassModule()
.setGiveCompassToAlive(true)

View File

@ -324,6 +324,7 @@ public class HideSeek extends TeamGame
this.HungerSet = 20;
this.PrepareFreeze = false;
this.SplitKitXP = true;
this.AllowParticles = false;
_allowedBlocks = new ArrayList<Material>();
_allowedBlocks.add(Material.TNT);

View File

@ -155,6 +155,8 @@ public class Minestrike extends TeamGame
this.DontAllowOverfill = true;
this.AllowEntitySpectate = false;
this.AllowParticles = false;
_scoreObj = Scoreboard.getScoreboard().registerNewObjective("HP", "dummy");
_scoreObj.setDisplaySlot(DisplaySlot.BELOW_NAME);

View File

@ -138,6 +138,7 @@ public abstract class SuperSmash extends Game
WorldWaterDamage = 1000;
HideTeamSheep = true;
ReplaceTeamsWithKits = true;
AllowParticles = false;
manager.GetExplosion().SetRegenerate(true);
manager.GetExplosion().setRegenerateTime(TimeUnit.SECONDS.toMillis(30));

View File

@ -81,6 +81,8 @@ public class SneakyAssassins extends SoloGame
this.HungerSet = 20;
this.AllowParticles = false;
new CompassModule()
.setGiveCompassToAlive(true)
.setGiveCompass(false)

View File

@ -268,6 +268,7 @@ public abstract class UHC extends Game
DontAllowOverfill = true;
GadgetsDisabled = true;
AllowParticles = false;
WorldTimeSet = -1;

View File

@ -164,6 +164,7 @@ public class Wizards extends SoloGame
DisableKillCommand = false;
SoupEnabled = false;
DamageTeamSelf = true;
AllowParticles = false;
registerChatStats(
Kills,