Caves of Qud

Caves of Qud

Not enough ratings
Modular XP Gain - RE-UPLOADED
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
38.863 KB
21 Aug @ 3:28pm
1 Change Note ( view )

Subscribe to download
Modular XP Gain - RE-UPLOADED

In 1 collection by Kerbin Fiber
CoQ 1.0
16 items
Description
Re-uploaded & updated Modular XP Gain!
Will take down at original author, AdmrlHellNinja's request.

The mod has been updated to use Harmony Patching to apply the mod since base game methods seem to no longer be replaced by mods. (?)

---

Original Description

Kills will now always grant XP, based on the difference in tier.
1 Tier higher = 125% XP.
Same Tier = 100% XP.
1 Tier lower = 75% XP.
2 Tiers lower = 50% XP.
3 Tiers lower = 25% XP.
4 Tiers lower = 12.5% XP.
5 Tiers or more lower = 6.25% XP.

With the limited amount of testing that I've done with it, experience gain feels pretty good and consistent. I haven't had a chance to really test it past level 20+, but at the moment it doesn't seem to be that overpowered.
4 Comments
Nuke Skywalker 16 Sep @ 9:06am 
Change line #39 to
int num = ParentObject.HasStat("Level") ? ParentObject.Stat("Level") / 5 - E.Tier : 1;

and it will WAI
Nuke Skywalker 15 Sep @ 12:09pm 
Thanks for trying to update, but I can confirm with Antitrust that this isn't working as intended, and it especially falls apart at level 20+. Tested on a level 20 character. Electric Snail (Level 16) gave 200 XP without the mod, and 50 XP with. Chain Laser Turret (Level 25) gave 500+ vs. 58 xp without/with.
AntitrustEnthusiast 1 Sep @ 3:52am 
Thanks for updating this mod!

There seems to be an issue with higher levels where it only ever provides 6.25%. Tested by killing a Tongue Tyrant at level 33 (same level they are) and only got 51xp instead of 825.

Looking at the code, I think it's because it's not subtracting the target's tier from the actor's tier? So it's just purely actor's tier right now, instead of difference between actor's and target's tier? Maybe.
Solid Snek 24 Aug @ 3:30pm 
Thanks, this one actually works unlike the other one i tried on the 'top of all time' page :steamthumbsup: :praisesun: