mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
New limits:
Tit: 9
SoF: 9
SoD: 10
UF: 12
RoF: 12
RoF2: 12
The SoF client doesn't actually support 10 like SoF should
RoF/RoF2 actually have 4 extra broken spell gems in the UI. They don't work and
will likely crash your client
Quest stuff assumes you are passing in valid slots.
(note the old default of 10 should be 22)
There are still somethings to do like clean up the memmed spells if one switches
to an older client that doesn't support as many as their previous client.
71 lines
1.9 KiB
C++
71 lines
1.9 KiB
C++
/* EQEMu: Everquest Server Emulator
|
|
|
|
Copyright (C) 2001-2016 EQEMu Development Team (http://eqemulator.net)
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; version 2 of the License.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY except by those people which sell it, which
|
|
are required to give you total support for your newly bought product;
|
|
without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
|
|
#ifndef COMMON_EMU_CONSTANTS_H
|
|
#define COMMON_EMU_CONSTANTS_H
|
|
|
|
#include "eq_limits.h"
|
|
#include "emu_legacy.h"
|
|
#include "emu_versions.h"
|
|
|
|
#include <string>
|
|
|
|
|
|
namespace EQEmu
|
|
{
|
|
namespace inventory {
|
|
//using namespace RoF2::invtype;
|
|
//using namespace RoF2::invslot;
|
|
//using namespace RoF2::invbag;
|
|
//using namespace RoF2::invaug;
|
|
|
|
} /*inventory*/
|
|
|
|
namespace constants {
|
|
const EQEmu::versions::ClientVersion CharacterCreationClient = EQEmu::versions::ClientVersion::RoF2;
|
|
const size_t CharacterCreationMax = RoF2::constants::CharacterCreationLimit;
|
|
|
|
const size_t SayLinkBodySize = RoF2::constants::SayLinkBodySize;
|
|
|
|
} /*constants*/
|
|
enum class CastingSlot : uint32 {
|
|
Gem1 = 0,
|
|
Gem2 = 1,
|
|
Gem3 = 2,
|
|
Gem4 = 3,
|
|
Gem5 = 4,
|
|
Gem6 = 5,
|
|
Gem7 = 6,
|
|
Gem8 = 7,
|
|
Gem9 = 8,
|
|
Gem10 = 9,
|
|
Gem11 = 10,
|
|
Gem12 = 11,
|
|
MaxGems = 12,
|
|
Ability = 20, // HT/LoH for Tit
|
|
PotionBelt = 21, // Tit uses a different slot for PB
|
|
Item = 22,
|
|
Discipline = 23,
|
|
AltAbility = 0xFF
|
|
};
|
|
|
|
} /*EQEmu*/
|
|
|
|
#endif /*COMMON_EMU_CONSTANTS_H*/
|