Jump to content
  • Advertisement
Sign in to follow this  

Armor calculations

This topic is 2073 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm wondering how I can do an armor calculation that:


1) The armor value is a solid number like 1000

2) The players level is taken into account

3) I get to a % that I can reduce the damage by



So if the player is level 1 and has 1000 armor let's say they reduce the damage by 25%, but if the player is level 10 and still only has 1000 armor points the damage is only reduced by 15% or something like that. I'll cap a % to a certain value no matter what level, but just wondering if anyone knows of a formula that does the above requirement?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!