Update attack.cpp

This commit is contained in:
Paul Coene 2020-02-05 14:42:37 -05:00 committed by GitHub
parent 4accb4ea2a
commit 6b27e88315
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -799,7 +799,7 @@ int Mob::ACSum()
// EQ math // EQ math
ac = (ac * 4) / 3; ac = (ac * 4) / 3;
// anti-twink // anti-twink
if (IsClient() && GetLevel() < 50) if (IsClient() && GetLevel() < RuleI(Combat, LevelToStopACTwinkControl))
ac = std::min(ac, 25 + 6 * GetLevel()); ac = std::min(ac, 25 + 6 * GetLevel());
ac = std::max(0, ac + GetClassRaceACBonus()); ac = std::max(0, ac + GetClassRaceACBonus());
if (IsNPC()) { if (IsNPC()) {