Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Server Code Submissions

Reply
 
Thread Tools Display Modes
  #1  
Old 10-11-2010, 09:12 PM
Vanicae
Fire Beetle
 
Join Date: May 2010
Posts: 9
Default 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);
 }
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 05:14 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3