Зачем-то инкапсулирем.
This commit is contained in:
+21
-21
@@ -18,29 +18,29 @@ class User
|
||||
protected $align = 0;
|
||||
protected $clan = 0;
|
||||
protected $money = 0;
|
||||
public $strength = 0;
|
||||
public $dexterity = 0;
|
||||
public $intuition = 0;
|
||||
public $endurance = 0;
|
||||
public $intelligence = 0;
|
||||
public $wisdom = 0;
|
||||
public $health;
|
||||
public $mana;
|
||||
public $ip;
|
||||
public $session_id;
|
||||
public $admin = 0;
|
||||
public $enter_game;
|
||||
public $room;
|
||||
public $block;
|
||||
public $shadow;
|
||||
protected $strength = 0;
|
||||
protected $dexterity = 0;
|
||||
protected $intuition = 0;
|
||||
protected $endurance = 0;
|
||||
protected $intelligence = 0;
|
||||
protected $wisdom = 0;
|
||||
protected $health;
|
||||
protected $mana;
|
||||
protected $ip;
|
||||
protected $session_id;
|
||||
protected $admin = 0;
|
||||
protected $enter_game;
|
||||
protected $room;
|
||||
protected $block;
|
||||
protected $shadow;
|
||||
// Удар кулаком всегда 1-2.
|
||||
public $minDamage = 1;
|
||||
public $maxDamage = 2;
|
||||
protected $minDamage = 1;
|
||||
protected $maxDamage = 2;
|
||||
//Броня без предметов не существует.
|
||||
public $headArmor = 0;
|
||||
public $chestArmor = 0;
|
||||
public $legArmor = 0;
|
||||
public $free_stat_points = 0;
|
||||
protected $headArmor = 0;
|
||||
protected $chestArmor = 0;
|
||||
protected $legArmor = 0;
|
||||
protected $free_stat_points = 0;
|
||||
public const STAT_MAXIMUM_AMOUNT = 40;
|
||||
private const ERROR_STAT_IS_MAXIMUM = 'Ошибка: Параметр достиг своего лимита!';
|
||||
private const ERROR_STAT_UNKNOWN = 'Ошибка: Неизвестный параметр!';
|
||||
|
||||
Reference in New Issue
Block a user