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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-18-2010, 08:58 PM
garim12
Fire Beetle
 
Join Date: Oct 2004
Location: Tampa, FL
Posts: 19
Default COMMITTED: Mastery of the Past fix

I bought Mastery of the Past AA with my ranger and still fizzle on level 9 spells... Not sure I have the right diff format, but here goes. All I did was update the check to include the code for "aaMasteryofthePast2", which is the ranger / beastlord one. I figured that since you can't have both of these, that adding them in the switch was the fastest solution.

Code:
Index: spells.cpp
===================================================================
--- spells.cpp	(revision 119)
+++ spells.cpp	(revision 128)
@@ -527,9 +527,10 @@
 	// GMs don't fizzle
 	if (GetGM()) return(true);
 	
-	int no_fizzle_level = 0;
-	if (GetAA(aaMasteryofthePast)) {
-		switch (GetAA(aaMasteryofthePast)) {
+	int no_fizzle_level = 0;
+	//GARIM12 : aaMasteryofthePast2 is the version Rangers and Beastlords get...
+	if (GetAA(aaMasteryofthePast) || GetAA(aaMasteryofthePast2)) {
+		switch (GetAA(aaMasteryofthePast) + GetAA(aaMasteryofthePast2)) {
 			case 1:
 				no_fizzle_level = 53;
 				break;
Reply With Quote
  #2  
Old 01-19-2010, 02:38 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Committed in Rev1124, thanks
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 09:55 AM.


 

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