View Single Post
  #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