Scale Experience By Player Level

If you liked this item, please rate it up on Steam Workshop page.

Author: LaughingLeader

Last revision: 23 Jul, 2022 at 01:32 UTC

File size: 55.3 KB

On Steam Workshop

Description:

This mod scales higher level enemy death experience to the level of the highest player, allowing you to use enemy level scaling mods without worry of leveling up too fast. Lower level enemies still use their level for the xp granted to the party.

What this means is that if your party is level 15, and you kill a level 20 enemy, you get experience scaled to level 15. If your level 15 party kills a level 11 enemy, you get experience scaled to level 11.

Script Extender Required

Norbyte’s Divinity Script Extender[github.com] is required for this mod to work.

How does this compare to other mods that modify experience?

Other mods out there tweak experience gained by editing character stats. A character stat may have a gain value of 3 for instance, so a mod may reduce that to 1 or 2 (it can’t be 1.5). Unfortunately with that kind of change, you still will end up with a ton of experience if the level difference is too great.

This mod does the following:

  1. Default experience granted by characters dying is set to 0, thanks to the script extender formula override API.
  2. When a character that grants experience dies, the Gain value in their character stat is fed through a scripted experience formula, using the party’s highest level, instead of the dying character’s level.
  3. The scaled experience is then granted to the party.

So this mod modifies the actual experience gained, rather than a scaling value on the character.

Support

If you’re feeling generous, an easy way to show support is by tipping me a coffee:

[ko-fi.com]

I love modding this game, and I love interacting with the community. Every bit helps to keep me doing what I’m doing. Thanks!

Additional Options (LeaderLib)

If LeaderLib is active, additional settings will be available in the Mod Settings menu (in the Options UI).

These include the following:

  • Ignore Alignments – All dying non-allied characters will grant experience one time upon death, effectively letting you get experience from neutral characters.
  • Always Scale to Player Level – If a lower-level enemy dies when this option is enabled, their experience will scale to the party’s level.
  • Character Gain Modifier – This is a modifier that will be applied to the character stats gain value, allowing you to raise or lower experience gained further.

Links