mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-02 20:56:37 +00:00
Limit casting skill ups to casting skills
This commit is contained in:
@@ -110,6 +110,19 @@ bool EQEmu::skills::IsBardInstrumentSkill(SkillType skill)
|
||||
}
|
||||
}
|
||||
|
||||
bool EQEmu::skills::IsCastingSkill(SkillType skill)
|
||||
{
|
||||
switch (skill) {
|
||||
case SkillAbjuration:
|
||||
case SkillAlteration:
|
||||
case SkillConjuration:
|
||||
case SkillEvocation:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
const std::map<EQEmu::skills::SkillType, std::string>& EQEmu::skills::GetSkillTypeMap()
|
||||
{
|
||||
/* VS2013 code
|
||||
|
||||
Reference in New Issue
Block a user