Make sure CA and CATDM use Crowns instead of Gems
This commit is contained in:
parent
78866d341d
commit
ab882fac18
@ -104,6 +104,9 @@ import nautilus.game.arcade.game.games.castleassault.kits.KitFighter;
|
||||
import nautilus.game.arcade.game.games.castleassault.kits.KitPlayer;
|
||||
import nautilus.game.arcade.game.games.castleassault.kits.KitTank;
|
||||
import nautilus.game.arcade.game.modules.compass.CompassModule;
|
||||
import nautilus.game.arcade.game.modules.gamesummary.GameSummaryComponentType;
|
||||
import nautilus.game.arcade.game.modules.gamesummary.GameSummaryModule;
|
||||
import nautilus.game.arcade.game.modules.gamesummary.components.GemSummaryComponent;
|
||||
import nautilus.game.arcade.kit.Kit;
|
||||
import nautilus.game.arcade.managers.lobby.current.NewGameLobbyManager;
|
||||
|
||||
@ -198,6 +201,9 @@ public class CastleAssault extends TeamGame
|
||||
.setGiveCompassToAlive(false)
|
||||
.register(this);
|
||||
|
||||
getModule(GameSummaryModule.class)
|
||||
.replaceComponent(GameSummaryComponentType.GEMS, new GemSummaryComponent(this::GetGems, C.cGold, "Crowns"));
|
||||
|
||||
_flintAndSteel = new ItemBuilder(Material.FLINT_AND_STEEL).setData((short) (Material.FLINT_AND_STEEL.getMaxDurability() - MAX_FLINT_AND_STEEL_USES));
|
||||
_wearableTnt = new ItemBuilder(Material.TNT).setTitle(C.cRed + "TNT").addLore(C.cRedB + "Right Click with Weapon to " + F.name("Detonate"));
|
||||
generateLoot();
|
||||
|
@ -85,6 +85,9 @@ import nautilus.game.arcade.game.games.castleassault.kits.KitFighter;
|
||||
import nautilus.game.arcade.game.games.castleassault.kits.KitPlayer;
|
||||
import nautilus.game.arcade.game.games.castleassault.kits.KitTank;
|
||||
import nautilus.game.arcade.game.modules.compass.CompassModule;
|
||||
import nautilus.game.arcade.game.modules.gamesummary.GameSummaryComponentType;
|
||||
import nautilus.game.arcade.game.modules.gamesummary.GameSummaryModule;
|
||||
import nautilus.game.arcade.game.modules.gamesummary.components.GemSummaryComponent;
|
||||
import nautilus.game.arcade.kit.Kit;
|
||||
import nautilus.game.arcade.managers.lobby.current.NewGameLobbyManager;
|
||||
|
||||
@ -170,6 +173,9 @@ public class CastleAssaultTDM extends TeamGame
|
||||
.setGiveCompassToAlive(false)
|
||||
.register(this);
|
||||
|
||||
getModule(GameSummaryModule.class)
|
||||
.replaceComponent(GameSummaryComponentType.GEMS, new GemSummaryComponent(this::GetGems, C.cGold, "Crowns"));
|
||||
|
||||
_flintAndSteel = new ItemBuilder(Material.FLINT_AND_STEEL).setData((short) (Material.FLINT_AND_STEEL.getMaxDurability() - MAX_FLINT_AND_STEEL_USES));
|
||||
generateLoot();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user