Page 1 of 1

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

Posted: Mon Dec 29, 2014 2:21 am
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>

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

Posted: Mon Dec 29, 2014 2:24 am
by UnAfraid
use mul instead of add

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

Posted: Mon Dec 29, 2014 5:06 am
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>

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

Posted: Mon Dec 29, 2014 11:37 pm
by Zoey76
Depends on the version you are using, problably you have old mul data.

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

Posted: Mon Dec 29, 2014 11:41 pm
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:

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

Posted: Tue Dec 30, 2014 8:21 pm
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...

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

Posted: Tue Dec 30, 2014 8:30 pm
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.

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

Posted: Wed Dec 31, 2014 12:19 am
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

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

Posted: Sun Dec 31, 2023 4:58 am
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