EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Server Code Submissions (https://www.eqemulator.org/forums/forumdisplay.php?f=669)
-   -   Fix: Low Level damage caps affecting avg dmg (https://www.eqemulator.org/forums/showthread.php?t=24276)

narcberry 01-29-2008 05:24 AM

Fix: Low Level damage caps affecting avg dmg
 
Here for details:
http://eqemulator.net/forums/showthr...d=1#post142546

This should fix the level caps affecting avg damages at low level:

Code:

936,940d935
<              if(GetLevel() < 10 && max_hit > 20)
<                      max_hit = 20;
<              else if(GetLevel() < 20 && max_hit > 40)
<                      max_hit = 40;
<
1532a1528,1533
>
>              //Narcberry: moved the damage caps to keep them from affecting average damages
>                if(GetLevel() < 10 && damage > 20)
>                      damage = 20;
>                else if(GetLevel() < 20 && damage > 40)
>                      damage = 40;


ChaosSlayer 01-29-2008 06:32 AM

any sort of damage cap in the main code should KILLED complitly, and represented as variable in Rules (IMHO) as it hevily interfares with custom world building.

ChaosSlayer 01-29-2008 07:10 AM

same btw , IMHO, should apply to any sort of FT, Reg, or stats caps


All times are GMT -4. The time now is 11:19 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.