diff --git a/L2J_Mobius_CT_0_Interlude/dist/db_installer/sql/game/characters.sql b/L2J_Mobius_CT_0_Interlude/dist/db_installer/sql/game/characters.sql index 6627ea59a6..57b7796bc9 100644 --- a/L2J_Mobius_CT_0_Interlude/dist/db_installer/sql/game/characters.sql +++ b/L2J_Mobius_CT_0_Interlude/dist/db_installer/sql/game/characters.sql @@ -56,6 +56,7 @@ CREATE TABLE IF NOT EXISTS `characters` ( `createDate` date NOT NULL DEFAULT '2015-01-01', `language` VARCHAR(2) DEFAULT NULL, `faction` TINYINT UNSIGNED NOT NULL DEFAULT '0', + `pccafe_points` int(6) NOT NULL DEFAULT '0', `last_recom_date` BIGINT UNSIGNED NOT NULL DEFAULT 0, `rec_have` TINYINT UNSIGNED NOT NULL DEFAULT 0, `rec_left` TINYINT UNSIGNED NOT NULL DEFAULT 0, diff --git a/L2J_Mobius_CT_0_Interlude/dist/game/config/AdminCommands.xml b/L2J_Mobius_CT_0_Interlude/dist/game/config/AdminCommands.xml index b7bb5908e2..795ad3e6fb 100644 --- a/L2J_Mobius_CT_0_Interlude/dist/game/config/AdminCommands.xml +++ b/L2J_Mobius_CT_0_Interlude/dist/game/config/AdminCommands.xml @@ -358,6 +358,9 @@ + + + diff --git a/L2J_Mobius_CT_0_Interlude/dist/game/config/Custom/PcCafe.ini b/L2J_Mobius_CT_0_Interlude/dist/game/config/Custom/PcCafe.ini new file mode 100644 index 0000000000..6dbccdc44a --- /dev/null +++ b/L2J_Mobius_CT_0_Interlude/dist/game/config/Custom/PcCafe.ini @@ -0,0 +1,42 @@ +# --------------------------------------------------------------------------- +# PC Cafe (PC Bang) System +# --------------------------------------------------------------------------- +# PC CAFE POINTS ID = -100 + +# PC Cafe Enabled. +PcCafeEnabled = False + +# Allow only players with a Premium account. +PcCafeOnlyPremium = False + +# Max points that player may have. +# Limited by int limit. +MaxPcCafePoints = 200000 + +# PC Bang point rate. +# Acquisition formula equals (exp * 0.0001 * AcquisitionPointsRate) +# e.g. with 1.0 it's 10000 exp = 1 PC Bang point +# 2.0 - 10000 exp = 2 PC Bang points +# 0.5 - 5000 exp = 1 PC Bang point +AcquisitionPointsRate = 1.0 + +# Use random points rewarding. +# If enabled points will be random from points/2 to points. +AcquisitionPointsRandom = False + +# Creates a chance to aquire double points. +DoublingAcquisitionPoints = True + +# Double points chance. +# Used when DoublingAcquisitionPoints is enabled. +# Default 1 (%) +DoublingAcquisitionPointsChance = 1 + +# Reward low exp kills +# Acquire points if player gains exp and aquire formula equals 0. +RewardLowExpKills = True + +# Chance for low exp kills +# Used when RewardLowExpKills is enabled. +# Default 50 (%) +RewardLowExpKillsChance = 50 diff --git a/L2J_Mobius_CT_0_Interlude/dist/game/data/html/admin/main_menu.htm b/L2J_Mobius_CT_0_Interlude/dist/game/data/html/admin/main_menu.htm index 778d09cec3..d38256ac9a 100644 --- a/L2J_Mobius_CT_0_Interlude/dist/game/data/html/admin/main_menu.htm +++ b/L2J_Mobius_CT_0_Interlude/dist/game/data/html/admin/main_menu.htm @@ -28,6 +28,7 @@