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

Reply
 
Thread Tools Display Modes
  #1  
Old 02-05-2013, 12:20 AM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
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
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 03:27 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