diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-04 11:49:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-06 01:18:56 +0300 |
commit | f803ebaf78e5d4064653ec0a9494ab643e910e76 (patch) | |
tree | ff18e62102dbfd15c5b6f9c934c6fb5d01b144ea /src/net/ea | |
parent | 1fe5c43facfce35b53a6dd29c4e9c95f22cd5986 (diff) | |
download | manaplus-f803ebaf78e5d4064653ec0a9494ab643e910e76.tar.gz manaplus-f803ebaf78e5d4064653ec0a9494ab643e910e76.tar.bz2 manaplus-f803ebaf78e5d4064653ec0a9494ab643e910e76.tar.xz manaplus-f803ebaf78e5d4064653ec0a9494ab643e910e76.zip |
Add new slots definition.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/inventoryhandler.cpp | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp index a1b7dbd8e..4fca6d2d2 100644 --- a/src/net/ea/inventoryhandler.cpp +++ b/src/net/ea/inventoryhandler.cpp @@ -44,19 +44,26 @@ extern int serverVersion; const Equipment::Slot EQUIP_POINTS[Equipment::EQUIP_VECTOREND] = { - Equipment::EQUIP_LEGS_SLOT, - Equipment::EQUIP_FIGHT1_SLOT, - Equipment::EQUIP_GLOVES_SLOT, - Equipment::EQUIP_RING2_SLOT, - Equipment::EQUIP_RING1_SLOT, - Equipment::EQUIP_FIGHT2_SLOT, - Equipment::EQUIP_FEET_SLOT, - Equipment::EQUIP_NECK_SLOT, - Equipment::EQUIP_HEAD_SLOT, - Equipment::EQUIP_TORSO_SLOT, - Equipment::EQUIP_EVOL_RING1_SLOT, - Equipment::EQUIP_EVOL_RING2_SLOT, - Equipment::EQUIP_PROJECTILE_SLOT, + Equipment::EQUIP_LEGS_SLOT, // Lower Headgear + Equipment::EQUIP_FIGHT1_SLOT, // Weapon + Equipment::EQUIP_GLOVES_SLOT, // Garment + Equipment::EQUIP_RING2_SLOT, // Accessory 1 + Equipment::EQUIP_RING1_SLOT, // Armor + Equipment::EQUIP_FIGHT2_SLOT, // Shield + Equipment::EQUIP_FEET_SLOT, // Footgear + Equipment::EQUIP_NECK_SLOT, // Accessory 2 + Equipment::EQUIP_HEAD_SLOT, // Upper Headgear + Equipment::EQUIP_TORSO_SLOT, // Middle Headgear + Equipment::EQUIP_EVOL_RING1_SLOT, // Costume Top Headgear + Equipment::EQUIP_EVOL_RING2_SLOT, // Costume Mid Headgear + Equipment::EQUIP_PROJECTILE_SLOT, // Costume Low Headgear + Equipment::EQUIP_COSTUME_ROBE_SLOT, // Costume Garment/Robe + Equipment::EQUIP_SHADOW_ARMOR_SLOT, // Shadow Armor + Equipment::EQUIP_SHADOW_WEAPON_SLOT, // Shadow Weapon + Equipment::EQUIP_SHADOW_SHIELD_SLOT, // Shadow Shield + Equipment::EQUIP_SHADOW_SHOES_SLOT, // Shadow Shoes + Equipment::EQUIP_SHADOW_ACCESSORY2_SLOT, // Shadow Accessory 2 + Equipment::EQUIP_SHADOW_ACCESSORY1_SLOT, // Shadow Accessory 1 }; // missing EQUIP_RING1_SLOT |