mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 13:41:31 +00:00
Enabled a skill check bypass for OGRE, TROLL, and BARBARIAN races so the "Slam" skill works once more.
This commit is contained in:
parent
17b5cc1fa5
commit
fe70834a6b
@ -225,8 +225,22 @@ void Client::OPCombatAbility(const CombatAbility_Struct *ca_atk)
|
|||||||
if (ClientVersion() >= EQEmu::versions::ClientVersion::RoF2 && ca_atk->m_skill == EQEmu::skills::SkillTigerClaw)
|
if (ClientVersion() >= EQEmu::versions::ClientVersion::RoF2 && ca_atk->m_skill == EQEmu::skills::SkillTigerClaw)
|
||||||
timer = pTimerCombatAbility2;
|
timer = pTimerCombatAbility2;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if (ca_atk->m_skill == EQEmu::skills::SkillBash) {// SLAM - Bash without a shield equipped
|
||||||
|
|
||||||
|
switch (GetRace())
|
||||||
|
{
|
||||||
|
case OGRE:
|
||||||
|
case TROLL:
|
||||||
|
case BARBARIAN:
|
||||||
|
default:
|
||||||
|
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)))
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (GetTarget()->GetID() != ca_atk->m_target)
|
if (GetTarget()->GetID() != ca_atk->m_target)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user