EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Server Code Submissions (https://www.eqemulator.org/forums/forumdisplay.php?f=669)
-   -   Regen AAs (https://www.eqemulator.org/forums/showthread.php?t=26337)

AndMetal 09-26-2008 05:57 PM

Regen AAs
 
Adding support for Convalescence & Healthy Aura, plus cleaning it up a bit since GetAA() will return 0 by default.

In zone/client_mods.cpp, change this
Code:

        if (GetAA(aaInnateRegeneration) >= 1){
                hp += GetAA(aaInnateRegeneration);
        }
        if (GetAA(aaInnateRegeneration2) >= 1){
                hp += GetAA(aaInnateRegeneration2);
        }
        if (GetAA(aaNaturalHealing) >= 1){
                hp += GetAA(aaNaturalHealing);
        }
       
        hp += GetAA(aaBodyAndMindRejuvenation);

to this
Code:

        // AA Regens
        hp += (GetAA(aaInnateRegeneration)
                //+ GetAA(aaInnateRegeneration2) //not currently in the AA table anymore, so why bother?
                + GetAA(aaNaturalHealing)
                + GetAA(aaBodyAndMindRejuvenation)
                + GetAA(aaConvalescence)
                + GetAA(aaHealthyAura)
        );



All times are GMT -4. The time now is 04:25 PM.

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