Константы теперь публичные.
This commit is contained in:
parent
96544d50ea
commit
202ea60421
@ -29,15 +29,15 @@ abstract class Item
|
||||
public const ITEM_TYPES_ALLOWED_IN_SLOTS = [1,2,3,4,5,6,7,8,9,10,11,12];
|
||||
public const ITEM_TYPE_HELMET = 1;
|
||||
public const ITEM_TYPE_ARMOR = 2;
|
||||
const ITEM_TYPE_LEGS = 3;
|
||||
const ITEM_TYPE_BOOTS = 4;
|
||||
const ITEM_TYPE_GLOVES = 5;
|
||||
const ITEM_TYPE_WEAPON = 6;
|
||||
const ITEM_TYPE_SHIELD = 7;
|
||||
const ITEM_TYPE_BELT = 8;
|
||||
public const ITEM_TYPE_LEGS = 3;
|
||||
public const ITEM_TYPE_BOOTS = 4;
|
||||
public const ITEM_TYPE_GLOVES = 5;
|
||||
public const ITEM_TYPE_WEAPON = 6;
|
||||
public const ITEM_TYPE_SHIELD = 7;
|
||||
public const ITEM_TYPE_BELT = 8;
|
||||
public const ITEM_TYPE_RING = 9;
|
||||
const ITEM_TYPE_AMULET = 10;
|
||||
const ITEM_TYPE_CONSUMABLE = 20;
|
||||
public const ITEM_TYPE_AMULET = 10;
|
||||
public const ITEM_TYPE_CONSUMABLE = 20;
|
||||
const ITEM_TYPE_OTHER = 50;
|
||||
const ITEM_TYPE_TRASH = 100;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user