View Single Post
  #1  
Old 02-05-2013, 12:20 AM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,165
Default Multi-rank AA redux fix (Radiant Cure mostly)

So I tried to fix this before and realized I was wrong, so ignore the previous thread

Code:
Index: EQEmuServer/zone/AA.cpp
===================================================================
--- EQEmuServer/zone/AA.cpp	(revision 2481)
+++ EQEmuServer/zone/AA.cpp	(working copy)
@@ -1348,7 +1348,8 @@
 
 	if(value > 0)
 	{
-		const AA_DBAction *caa = &AA_Actions[saa->id][value - 1];
+        // AA_Actions needs the base ID
+		const AA_DBAction *caa = &AA_Actions[saa->id - value + 1][value - 1];
 
 		if(caa && caa->reuse_time > 0)
 			saa->spell_refresh = CalcAAReuseTimer(caa);
I didn't notice any errors with other AAs. Still need to camp to get the timers to update after buying the redux AA (something you always had to do)
Reply With Quote