mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Add rule Combat:LevelToStopDamageCaps
Setting this to 1 will effectively disable damage caps Setting this to 20 will give similar results to old incorrect default rules
This commit is contained in:
@@ -1107,6 +1107,9 @@ int Client::DoDamageCaps(int base_damage)
|
||||
{
|
||||
// this is based on a client function that caps melee base_damage
|
||||
auto level = GetLevel();
|
||||
auto stop_level = RuleI(Combat, LevelToStopDamageCaps);
|
||||
if (stop_level && stop_level <= level)
|
||||
return base_damage;
|
||||
int cap = 0;
|
||||
if (level >= 125) {
|
||||
cap = 7 * level;
|
||||
|
||||
Reference in New Issue
Block a user