mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-30 13:32:26 +00:00
Update attack.cpp
This commit is contained in:
parent
4accb4ea2a
commit
6b27e88315
@ -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()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user