View Single Post
  #45  
Old 10-27-2010, 07:28 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

To further back my idea,

Code:
Index: common/extprofile.h
===================================================================
--- common/extprofile.h	(revision 1709)
+++ common/extprofile.h	(working copy)
@@ -46,6 +46,7 @@
 	
 	uint32				aa_effects;
 	uint32				perAA;		//% of exp going to AAs
+	bool				expchange;
 };
 
 #pragma pack()
Index: zone/client_packet.cpp
===================================================================
--- zone/client_packet.cpp	(revision 1709)
+++ zone/client_packet.cpp	(working copy)
@@ -8586,6 +8586,13 @@
 	}
 
 
+	if(!m_epp.expchange)
+	{
+	SetEXP(GetEXPForLevel(GetLevel()), GetAAXP(), false);
+	m_epp.expchange = true;
+	}
+
+
 	////////////////////////////////////////////////////////////
 	// Task Packets
 	LoadClientTaskState();
Change EXP Formula, Add in code, ????, profit!
Reply With Quote