mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +00:00
[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:
+16
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user