<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.herc.ws/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.herc.ws/w/index.php?action=history&amp;feed=atom&amp;title=PC_Gainexp</id>
		<title>PC Gainexp - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.herc.ws/w/index.php?action=history&amp;feed=atom&amp;title=PC_Gainexp"/>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=PC_Gainexp&amp;action=history"/>
		<updated>2026-05-01T10:21:30Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.11</generator>

	<entry>
		<id>https://wiki.herc.ws/w/index.php?title=PC_Gainexp&amp;diff=62&amp;oldid=prev</id>
		<title>Mysterious: Created page with &quot;== Function to gain EXP ==   int pc_gainexp(struct map_session_data *sd, struct block_list *src, unsigned int base_exp,unsigned int job_exp)  pc_gainexp(sd, bl, X, Y); * sd		=...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=PC_Gainexp&amp;diff=62&amp;oldid=prev"/>
				<updated>2013-01-13T03:22:34Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Function to gain EXP ==   int pc_gainexp(struct map_session_data *sd, struct block_list *src, unsigned int base_exp,unsigned int job_exp)  pc_gainexp(sd, bl, X, Y); * sd		=...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Function to gain EXP ==&lt;br /&gt;
&lt;br /&gt;
 int pc_gainexp(struct map_session_data *sd, struct block_list *src, unsigned int base_exp,unsigned int job_exp)&lt;br /&gt;
 pc_gainexp(sd, bl, X, Y);&lt;br /&gt;
* sd		= ? (Looks like only players can gain exp?)&lt;br /&gt;
* bl		= ?&lt;br /&gt;
* X 		= Base XP&lt;br /&gt;
* Y 		= Job XP&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* pc_nextbaseexp(sd)	= XP necessary for next Base Level UP&lt;br /&gt;
* pc_nextjobexp(sd)	= XP necessary for next Job Level UP&lt;br /&gt;
&lt;br /&gt;
 pc_gainexp(sd, bl, pc_nextbaseexp(sd), Y);&lt;br /&gt;
This would be a FULL Base Lvlup, leaving with 0% on next level&lt;br /&gt;
&lt;br /&gt;
 pc_gainexp(sd, bl, 0, pc_nextjobexp(sd));&lt;br /&gt;
This would be a FULL Job Lvlup, leaving with 0% on next level&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Source_Functions]]&lt;/div&gt;</summary>
		<author><name>Mysterious</name></author>	</entry>

	</feed>