EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Server Code Submissions (https://www.eqemulator.org/forums/forumdisplay.php?f=669)
-   -   COMMITTED: Fix for Touch of the Divine AA (https://www.eqemulator.org/forums/showthread.php?t=32276)

Vanicae 10-11-2010 09:12 PM

COMMITTED: Fix for Touch of the Divine AA
 
Currently if a cleric has Touch of the Divine and no other death save type effects, the flag to check for a death save isn't set. There doesn't seem to be any other particular place to put this check, so it's in CalcAABonuses.


Code:

Index: bonuses.cpp
===================================================================
--- bonuses.cpp        (revision 1688)
+++ bonuses.cpp        (working copy)
@@ -489,6 +489,10 @@
                                ApplyAABonuses(aa_AA, slots, newbon);        //add the bonuses
                }
        }
+
+        // Not any other clear place to put this at the moment
+        if(GetAA(aaTouchoftheDivine))
+                this->SetDeathSaveChance(true);
 }



All times are GMT -4. The time now is 09:57 AM.

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