Fixed banzai points

This commit is contained in:
Beny 2019-05-12 19:54:39 +01:00
parent 22c6de843e
commit a8f6a641d8
2 changed files with 6 additions and 3 deletions

View File

@ -67,5 +67,8 @@ ALTER TABLE `users_settings` ADD COLUMN `forums_post_count` int(11) NULL DEFAULT
INSERT INTO `emulator_settings`(`key`, `value`) VALUES ('catalog.guild.hc_required', '1'); INSERT INTO `emulator_settings`(`key`, `value`) VALUES ('catalog.guild.hc_required', '1');
INSERT INTO `emulator_settings`(`key`, `value`) VALUES ('catalog.ltd.random', '1'); INSERT INTO `emulator_settings`(`key`, `value`) VALUES ('catalog.ltd.random', '1');
UPDATE `emulator_settings` SET `value` = '0' WHERE `key` = 'hotel.banzai.points.tile.steal';
UPDATE `emulator_settings` SET `value` = '0' WHERE `key` = 'hotel.banzai.points.tile.fill';
UPDATE `emulator_settings` SET `value` = '1' WHERE `key` = 'hotel.banzai.points.tile.lock';
#END DATABASE UPDATE: 2.0.0 -> DEV #END DATABASE UPDATE: 2.0.0 -> DEV

View File

@ -29,13 +29,13 @@ public class BattleBanzaiGame extends Game
public static final int effectId = 33; public static final int effectId = 33;
public static final int POINTS_HIJACK_TILE = Emulator.getConfig().getInt("hotel.banzai.points.tile.steal"); public static final int POINTS_HIJACK_TILE = Emulator.getConfig().getInt("hotel.banzai.points.tile.steal", 0);
public static final int POINTS_FILL_TILE = Emulator.getConfig().getInt("hotel.banzai.points.tile.fill"); public static final int POINTS_FILL_TILE = Emulator.getConfig().getInt("hotel.banzai.points.tile.fill", 0);
public static final int POINTS_LOCK_TILE = Emulator.getConfig().getInt("hotel.banzai.points.tile.lock"); public static final int POINTS_LOCK_TILE = Emulator.getConfig().getInt("hotel.banzai.points.tile.lock", 1);
private int tileCount; private int tileCount;