2021-03-10 21:03:59 +00:00
|
|
|
<?php
|
|
|
|
# Date: 15.02.2021 (02:33)
|
|
|
|
|
|
|
|
namespace Battles;
|
|
|
|
|
|
|
|
|
|
|
|
class GameConfigs
|
|
|
|
{
|
|
|
|
const DATABASE_HOST = '192.168.20.5';
|
|
|
|
const DATABASE_NAME = 'battles';
|
|
|
|
const DATABASE_USER = 'battles';
|
|
|
|
const DATABASE_PASS = 'bottle-neck-horse';
|
|
|
|
const DATABASE_PORT = '32101';
|
|
|
|
const DATABASE_CHARSET = 'utf8';
|
2021-08-23 18:51:34 +00:00
|
|
|
const CLAN = [
|
|
|
|
'add_member_cost' => 100,
|
|
|
|
'remove_member_cost' => 30,
|
|
|
|
'create_castle_cost' => 25000,
|
|
|
|
'create_castle_reputation_cost' => 1000000,
|
|
|
|
'clan_register_cost' => 10000,
|
|
|
|
'clan_register_lock' => true, // Запрет на регистрацию кланов.
|
|
|
|
];
|
2021-03-10 21:03:59 +00:00
|
|
|
const BANK_COMISSION = 0.05; // 5%
|
|
|
|
|
|
|
|
const DB_SQLITE = '/volume2/web/battles/databases/logs.sqlite';
|
2022-12-16 23:20:43 +00:00
|
|
|
}
|