Welcome to AC Web.
Results 1 to 6 of 6
  1. #1

    Nerfing % dmg reduction you get from armor


    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    Hi, i just wonder if anyone is able to tell me where i would need to go to change the amount of Damage reduction % you get from the stat armor.

    Been looking trough the Core and for a DBC (incase you have to edit it there like crit rating %). I am no coder so i might have skipped over the obvious. Trinity core btw.

    Hope someone can help

  2. #2
    Unit::CalcArmorReducedDamage

  3. #3
    Quote Originally Posted by Desed View Post
    Unit::CalcArmorReducedDamage
    Do you know exactly what line that needs to be changed for that. To like reduce armor % damage reduction by 50%?

  4. #4
    Literally just say *0.5f on the return if it returns the amount of damage reduced (didn't check).

  5. #5
    Quote Originally Posted by leifus View Post
    Do you know exactly what line that needs to be changed for that. To like reduce armor % damage reduction by 50%?
    as @Mathix has mentioned, your return is 'return (newdamage > 1) ? newdamage : 1;' so just multiply newdamage by 0.5

  6. #6

    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    Quote Originally Posted by Desed View Post
    as @Mathix has mentioned, your return is 'return (newdamage > 1) ? newdamage : 1;' so just multiply newdamage by 0.5
    okay ty, +rep

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •