Caves of Qud

Caves of Qud

评价数不足
Modular XP Gain - RE-UPLOADED
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
38.863 KB
8 月 21 日 下午 3:28
1 项改动说明 ( 查看 )

订阅以下载
Modular XP Gain - RE-UPLOADED

在 Kerbin Fiber 的 1 个合集中
CoQ 1.0
16 件物品
描述
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 条留言
Nuke Skywalker 9 月 16 日 上午 9:06 
Change line #39 to
int num = ParentObject.HasStat("Level") ? ParentObject.Stat("Level") / 5 - E.Tier : 1;

and it will WAI
Nuke Skywalker 9 月 15 日 下午 12:09 
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 9 月 1 日 上午 3:52 
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 8 月 24 日 下午 3:30 
Thanks, this one actually works unlike the other one i tried on the 'top of all time' page :steamthumbsup: :praisesun: