Rune of EXP - Is there a limit to the bonus EXP?

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
terrance
Posts: 14
Joined: Mon Dec 20, 2010 5:15 pm

Rune of EXP - Is there a limit to the bonus EXP?

Post by terrance »

I'm trying to make a Rune of EXP with 300% bonus exp, I changed the skill 22039 in the xml, but it looks like no matter how much bonus exp I set in the xml, it always only gives a maximum of 50%, so I'm wondering if there's a hard-coded limit to this in the core?

Code: Select all

		<for>
			<effect name="Buff">
				<add order="0x40" stat="bonusExp" val="300" />
			</effect>
		</for>
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Rune of EXP - Is there a limit to the bonus EXP?

Post by UnAfraid »

use mul instead of add
Image
User avatar
terrance
Posts: 14
Joined: Mon Dec 20, 2010 5:15 pm

Re: Rune of EXP - Is there a limit to the bonus EXP?

Post by terrance »

UnAfraid wrote:use mul instead of add
Thanks for the quick reply, changing it to multiply doesn't seem to work, I'm getting 0% bonus exp now instead of 50% .

Here's my code, note that I change the skill to behave as a buff and associated it to a potion. Did I do something wrong?

Code: Select all

	<skill id="22039" levels="1" name="Rune of Experience Points">
		<!-- Confirmed CT2.5 -->
		<set name="abnormalLvl" val="1" />
		<set name="abnormalTime" val="3600" />
		<set name="abnormalType" val="VP_UP" />
		<set name="icon" val="icon.etc_fresh_milk_i00" />
		<set name="isMagic" val="2" /> <!-- Static Skill -->	
		<set name="magicLvl" val="-1" />
		<set name="operateType" val="A2" />
		<set name="targetType" val="SELF" />
		<for>
			<effect name="Buff">
				<mul order="0x40" stat="bonusExp" val="3" />
			</effect>
		</for>
	</skill>
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: Rune of EXP - Is there a limit to the bonus EXP?

Post by Zoey76 »

Depends on the version you are using, problably you have old mul data.
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
User avatar
terrance
Posts: 14
Joined: Mon Dec 20, 2010 5:15 pm

Re: Rune of EXP - Is there a limit to the bonus EXP?

Post by terrance »

Zoey76 wrote:Depends on the version you are using, problably you have old mul data.
I'm using the latest stable build for server and DP. The problem now is if I use add, no matter how much I set, it always give a maximum 50% bonus, if I use mul, it gives 0%. :cry:
User avatar
terrance
Posts: 14
Joined: Mon Dec 20, 2010 5:15 pm

Re: Rune of EXP - Is there a limit to the bonus EXP?

Post by terrance »

Anyone willing to help? I really want to get this to work, I don't want to change the exp rate for the whole server...
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Rune of EXP - Is there a limit to the bonus EXP?

Post by jurchiks »

Download and compile master branch. The stable build hasn't been updated in a while, there have been changes to the skill system. Maybe that helps.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
terrance
Posts: 14
Joined: Mon Dec 20, 2010 5:15 pm

Re: Rune of EXP - Is there a limit to the bonus EXP?

Post by terrance »

ok, thanks for all the replies, I finally solved this, there's a limit to how much bonus exp you can get, and it's a setting in Character.properties: MaxExpBonus = 3.5
I didn't notice it until now... :P
Clarar
Posts: 2
Joined: Wed Sep 27, 2023 11:20 am

Re: Rune of EXP - Is there a limit to the bonus EXP?

Post by Clarar »

terrance wrote: โ†‘Mon Dec 29, 2014 2:21 am I'm trying to make a Rune of EXP with 300% bonus exp, I changed the skill 22039 in the xml, but it looks like no matter how much bonus exp I set in the xml, it always only gives a maximum of 50%, so I'm wondering if there's a hard-coded limit to this in the core?

Code: Select all

		<for>
			<effect name="Buff">
				<add order="0x40" stat="bonusExp" val="300" />
			</effect>
		</for>
In my project, I'm having trouble with Rune of EXPโ€”I changed the XML skill 22039 for a 300% boost, but it's locked at 50%. I'm curious whether there's a hard-coded limit affecting this. Seeking advice or solutions from other developers or fans.Magic 8 Ball
Post Reply