Reduce alien shard reward to 5 per hit and make lobbies nighttime
This commit is contained in:
parent
18197de7be
commit
e51818c15d
@ -8,10 +8,11 @@ import java.util.List;
|
|||||||
import java.util.Map.Entry;
|
import java.util.Map.Entry;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import nautilus.game.arcade.events.PlayerKitGiveEvent;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
|
import org.bukkit.World;
|
||||||
import org.bukkit.entity.ExperienceOrb;
|
import org.bukkit.entity.ExperienceOrb;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.entity.Skeleton;
|
import org.bukkit.entity.Skeleton;
|
||||||
@ -20,8 +21,6 @@ import org.bukkit.event.entity.EntityDamageEvent.DamageCause;
|
|||||||
import org.bukkit.event.entity.EntitySpawnEvent;
|
import org.bukkit.event.entity.EntitySpawnEvent;
|
||||||
import org.bukkit.event.entity.ItemSpawnEvent;
|
import org.bukkit.event.entity.ItemSpawnEvent;
|
||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
||||||
import org.bukkit.potion.PotionEffect;
|
|
||||||
import org.bukkit.potion.PotionEffectType;
|
|
||||||
import org.bukkit.scheduler.BukkitRunnable;
|
import org.bukkit.scheduler.BukkitRunnable;
|
||||||
import org.bukkit.scoreboard.Team;
|
import org.bukkit.scoreboard.Team;
|
||||||
|
|
||||||
@ -42,6 +41,7 @@ import mineplex.core.utils.UtilVariant;
|
|||||||
import nautilus.game.arcade.ArcadeManager;
|
import nautilus.game.arcade.ArcadeManager;
|
||||||
import nautilus.game.arcade.GameType;
|
import nautilus.game.arcade.GameType;
|
||||||
import nautilus.game.arcade.events.GameStateChangeEvent;
|
import nautilus.game.arcade.events.GameStateChangeEvent;
|
||||||
|
import nautilus.game.arcade.events.PlayerKitGiveEvent;
|
||||||
import nautilus.game.arcade.game.SoloGame;
|
import nautilus.game.arcade.game.SoloGame;
|
||||||
import nautilus.game.arcade.game.games.alieninvasion.kit.KitPlayer;
|
import nautilus.game.arcade.game.games.alieninvasion.kit.KitPlayer;
|
||||||
import nautilus.game.arcade.game.games.dragonescape.DragonScore;
|
import nautilus.game.arcade.game.games.dragonescape.DragonScore;
|
||||||
@ -97,6 +97,11 @@ public class AlienInvasion extends SoloGame
|
|||||||
|
|
||||||
new CompassModule()
|
new CompassModule()
|
||||||
.register(this);
|
.register(this);
|
||||||
|
|
||||||
|
for (World world : Bukkit.getWorlds())
|
||||||
|
{
|
||||||
|
world.setTime(18000);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -22,7 +22,7 @@ import org.bukkit.util.Vector;
|
|||||||
public class PhaserProjectile implements Listener
|
public class PhaserProjectile implements Listener
|
||||||
{
|
{
|
||||||
|
|
||||||
private static final int SHARDS_PER_HIT = 15;
|
private static final int SHARDS_PER_HIT = 5;
|
||||||
|
|
||||||
private ArcadeManager _manager;
|
private ArcadeManager _manager;
|
||||||
private Projectile _projectile;
|
private Projectile _projectile;
|
||||||
|
Loading…
Reference in New Issue
Block a user