Formatting fixes.

This commit is contained in:
E Spause 2017-03-12 03:49:41 -04:00
parent fe70834a6b
commit 4fad93824b

View File

@ -226,21 +226,22 @@ void Client::OPCombatAbility(const CombatAbility_Struct *ca_atk)
timer = pTimerCombatAbility2; timer = pTimerCombatAbility2;
bool CanBypassSkillCheck = false;
if (ca_atk->m_skill == EQEmu::skills::SkillBash) { // SLAM - Bash without a shield equipped if (ca_atk->m_skill == EQEmu::skills::SkillBash) { // SLAM - Bash without a shield equipped
switch (GetRace()) switch (GetRace())
{ {
case OGRE: case OGRE:
case TROLL: case TROLL:
case BARBARIAN: case BARBARIAN:
CanBypassSkillCheck = true;
default: default:
break; break;
} }
} }
/* Check to see if actually have skill */ /* Check to see if actually have skill */
if (!MaxSkill(static_cast<EQEmu::skills::SkillType>(ca_atk->m_skill)) && !CanBypassSkillCheck)
return; return;
if (GetTarget()->GetID() != ca_atk->m_target) if (GetTarget()->GetID() != ca_atk->m_target)