Hello everyone
I have been looking into ECL formulas as listed on the wiki. It has the formula listed as (Level/ECL) x XP. Here is an example of how it plays out below.
A level 15 character receives 20xp for killing a NPC.
A level 15 character with +2 ECL receives (15 / 17) x 20XP = 17XP
I’d like if a coder could clarify how this works in some odd examples that would break the formula. I’d image there are some default values or other options that get used.
Here are two examples that would normally have odd results.
-4 ecl at lvl 3 killing a 20 xp creature
(3/-1) x 20= -60 xp
-4 ecl at lvl 4 killing a 20 xp creature.
(4/0) x 20 = Dividing by zero and maybe the end of the universe!!
Thanks in advance!
ECL question for developers
Moderators: Forum Moderators, Active DMs
-
- Arelith Gold Supporter
- Posts: 131
- Joined: Wed Sep 10, 2014 11:16 pm
ECL question for developers
Last character: Vahrix Amolyn
Re: ECL question for developers
The minimum modified level is 1, basically. If you are level 2 and you have an ECL of -2, then you have an effective level of 1, not 0.
This does lead to a little bit of weirdness--if you have -3 ECL for example, then your XP gain will be only doubled at level 2, then will be tripled at level 3, and quadrupled at level 4, before starting to decrease again at level five, when you'd have a (5/2) = 2.5x multiplier to your experience.
This does lead to a little bit of weirdness--if you have -3 ECL for example, then your XP gain will be only doubled at level 2, then will be tripled at level 3, and quadrupled at level 4, before starting to decrease again at level five, when you'd have a (5/2) = 2.5x multiplier to your experience.
-
- Arelith Gold Supporter
- Posts: 131
- Joined: Wed Sep 10, 2014 11:16 pm
Re: ECL question for developers
Thanks lorkas this really helps How does this play into having -ECL from RPR? so if you had -4.5 ECL at lvl 5 would it be (5/.5)xp or (5/1)XP with lvl 6 being (6/1.5)XP?
Last character: Vahrix Amolyn
Re: ECL question for developers
Minimum modified level is 1 including RPR adjustment. With -4.5 ECL you'd be (5/1) at level 5 and (6/1.5) at level 6.