0 of 0

File information

Last updated

Original upload

Created by

naryl

Uploaded by

4naryl

Virus scan

Safe to use

Tags for this mod

10 comments

  1. erzullo
    erzullo
    • member
    • 0 kudos

    • It's, an English contraction of it is or it has
    • Its (pronoun), the possessive form of the pronoun it
  2. XTGMods
    XTGMods
    • premium
    • 1,341 kudos
    Is this compatible with more skill points, which raises all skills to 10 levels rather than 5? If so, what is the chance for each level then?
    1. 4naryl
      4naryl
      • member
      • 0 kudos
      It's not. I can easily make the levels configurable or with a bit more work make it detect "More Skill Points".

      I guess I'll go with the second way.
  3. badass29
    badass29
    • supporter
    • 1 kudos
    This is interesting! Also whatever happened to that screaming skill??
  4. bugerry
    bugerry
    • premium
    • 239 kudos
    Interesting! 
    1. 4naryl
      4naryl
      • member
      • 0 kudos
      It's trivial really. They say it should prevent stunlocks so it just does :) 
      https://hg.sr.ht/~naryl/SWPT-mods/browse/IgnorePainSkillFix/BepInExPlugin.cs?rev=tip#L40
    2. bugerry
      bugerry
      • premium
      • 239 kudos
      Well, yes thx for discovering and solving this.
      I know the code and the math behind the combat stats are pretty dumb and therewith badly balanced.
      -- some logarithmic functions would do a better job but guess that's too edgy science ^^ --
      I appreciate that you take care of it.
    3. naryl
      naryl
      • supporter
      • 0 kudos
      Oh, I can deal with a bit of science. How about e.g.
      if (UnityEngine.Random.Range(0, (__instance.ignorpain + 1) * 100) > 100) ...
      Levels: 0%, 50%, 67%, 75%, 80%, 83%
      if (UnityEngine.Random.Range(0, (__instance.ignorpain + 0.5) * 100) > 100) ...
      Levels: 0%, 33%, 60%, 71%, 78%, 82%
      Or exponential:
      if (UnityEngine.Random.Range(0, 100) > Math.pow(1.58489, 10 - __instance.ignorpain)) ...
      Levels: 0%, 34%, 60%, 75%, 84%, 90%
      where 1.58489 is 100 ^ (1/10)

      I feel exponential would work better here.
  5. Tiress
    Tiress
    • premium
    • 14 kudos
    Useful, thank you. :)
    1. 4naryl
      4naryl
      • member
      • 0 kudos
      Glad to be of help. ^_^