Jump to content
  • Game updates player HP twice before and after applying Pain Tolerance skill buff


    MZM

    Summary:  Player HP is updated twice in a row.

    1. Damage taken is reduced by armor value and player HP is updated.
    2. Pain Tolerance skill update HP again (player can die before the Pain Tolerance skill effect)

     

    I am reporting this just in case it is not intended behavior. I think it is an old hard to notice and never reported bug.

     

    Game Version: (A19 .. A20)

    Platform: (PC)

    OS/Version: (Windows)

    CPU Model: (Intel i7 8750H)

    System Memory: (32 GB)

    GPU Model and VRAM: (Nvidia RTX 2060 6 GB)

    Screen Resolution: (1920 x 1080)

    Game mode: (probably ALL, tested on MP)

     

    Did you wipe old saves? (Yes)

    Did you start a new game? (Yes)

    Did you validate your files? (Yes)

    Are you using any mods? (No)

    EAC on or off? (On)

     

    Status: OLD

     

    Bug Description: Player HP is updated twice in a row when Pain Tolerance skill is used. Game updates new player HP value calculated by Pain Tolerance skill after substracting HP  value first. 

     

    Detailed steps to reproduce the bug:

     

    0) no armor for easier calculation

    1) Put 5 Skill points into Pain Tolerance skill

    2) Give your assistant a gun with little bit less damage than your HP

    3) Note your HP and note assistant gun damage.

    4) Let your assistant to shoot you and note that damage taken is gun damage - 25 %

    5) Give your assistant a gun with little bit more damage than your HP (Gun with damage you should live after you get shot according to -25% effect)

    6) Let your assistant to shoot you

     

    Actual result:  example: Pain Tolerance Level 5  -   Reduce HP loss by 25%

     

    1.

    player HP = 100

    Damage taken = 90

    new HP = 100 - 90 = ~10

    new HP = 100 - (90 - (90 * 0.25)) =  ~33

    2.

    player HP = 100

    Damage taken = 105

    new HP = 100  - 105     = player is dead before the Pain Tolerance takes an effect

     

    Expected result:

     

    1.

    player HP = 100

    Damage taken = 90

    new HP = 100 - (90 - (90 * 0.25)) =  ~33

    2.

    player HP = 100

    Damage taken = 105

    new HP = 100 - (105 - (105 * 0.25)) =  ~22    = plyer is alive


    User Feedback

    Recommended Comments

    There's an issue with how the game handles damage reduction that has been worked on with an extensive ticket, it would seem this falls into that case as well. 

    Link to comment
    Share on other sites

    I would like add one note just in case: I described the bug too complicated. Yes, it applies for any incoming damage. It is easiest to see with fall damage. Player HP is calculated again with little maybe half second delay so it is easy to see. There is no other damage reduction which behave like this one.

    Link to comment
    Share on other sites

    Actually I forgot about Fort Bites and Pain killers. They use the same damage reduction as Pain tolerance skill... reduce HP loss after. as described in bug description. 

    Link to comment
    Share on other sites

    This should be fixed with A20.6 stable, 

    • Damage mitigation buffs only give a HP refund to players, not actual damage mitigation 

     

    You were right in this, what was going on is the game took the HP from the player and then gave the difference back to the player with damage reduction. Let me know if this still has an issue, but all checks passed in SP/MP/Server.

    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...