Конфиги вынесены в config.php; Cannot use object of type User as array.

This commit is contained in:
Igor Barkov (iwork)
2020-09-29 13:07:08 +03:00
parent 68ed039aaa
commit dada8c3521
4 changed files with 63 additions and 44 deletions
+5
View File
@@ -62,6 +62,11 @@ trait Config
"f" => ["a" => "0.75", "e" => "1", "f" => "1", "w" => "1.25"],
"w" => ["a" => "1", "e" => "1.25", "f" => "0.75", "w" => "1"],
];
//Для кланов
public static $clan_register_cost = 10000; //стоимость
public static $clan_register_lock = 1; //запрет на регистрацию
//Банк
public static $bank_comission = 0.05; //5%
// Старая таблица опыта
public static $exptable = [
0 => [0, 0, 0, 0, 0, 20],