[Rule] Classic Triple Attack (#3903)

* [Rule] Classic Triple Attack

Classic Triple attack pre-dates skill based triple attack.

Originally it was only for a few classes but was expanded to Warrior, Monks, Berserkers and finally rangers for Dragons of Norrath. After which it was converted to a skill based feature.

These were innate starting level 60 and had a flat % to trigger.

* Requested Changes
This commit is contained in:
Fryguy
2024-01-07 22:06:13 -05:00
committed by GitHub
parent 0aa07e9529
commit 2b821e50ff
3 changed files with 67 additions and 9 deletions
+16 -3
View File
@@ -4539,10 +4539,23 @@ bool Mob::CanThisClassDoubleAttack(void) const
bool Mob::CanThisClassTripleAttack() const
{
if (!IsClient())
if (!IsClient()) {
return false; // When they added the real triple attack skill, mobs lost the ability to triple
else
return CastToClient()->HasSkill(EQ::skills::SkillTripleAttack);
} else {
if (RuleB(Combat, ClassicTripleAttack)) {
return (
GetLevel() >= 60 &&
(
GetClass() == Class::Warrior ||
GetClass() == Class::Ranger ||
GetClass() == Class::Monk ||
GetClass() == Class::Berserker
)
);
} else {
return CastToClient()->HasSkill(EQ::skills::SkillTripleAttack);
}
}
}
bool Mob::IsWarriorClass(void) const