Reduce alien shard reward to 5 per hit and make lobbies nighttime

This commit is contained in:
cnr 2017-05-28 02:08:17 -05:00
parent 18197de7be
commit e51818c15d
2 changed files with 9 additions and 4 deletions

View File

@ -8,10 +8,11 @@ import java.util.List;
import java.util.Map.Entry;
import java.util.Set;
import nautilus.game.arcade.events.PlayerKitGiveEvent;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.World;
import org.bukkit.entity.ExperienceOrb;
import org.bukkit.entity.Player;
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.ItemSpawnEvent;
import org.bukkit.inventory.ItemStack;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.scheduler.BukkitRunnable;
import org.bukkit.scoreboard.Team;
@ -42,6 +41,7 @@ import mineplex.core.utils.UtilVariant;
import nautilus.game.arcade.ArcadeManager;
import nautilus.game.arcade.GameType;
import nautilus.game.arcade.events.GameStateChangeEvent;
import nautilus.game.arcade.events.PlayerKitGiveEvent;
import nautilus.game.arcade.game.SoloGame;
import nautilus.game.arcade.game.games.alieninvasion.kit.KitPlayer;
import nautilus.game.arcade.game.games.dragonescape.DragonScore;
@ -97,6 +97,11 @@ public class AlienInvasion extends SoloGame
new CompassModule()
.register(this);
for (World world : Bukkit.getWorlds())
{
world.setTime(18000);
}
}
@Override

View File

@ -22,7 +22,7 @@ import org.bukkit.util.Vector;
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 Projectile _projectile;