From f6a8cdadb0f87cfadc3b2ded21a191d8e6ba63e3 Mon Sep 17 00:00:00 2001 From: Rafael Barreto Date: Thu, 7 Oct 2010 17:12:05 +0000 Subject: [PATCH] putting the armor values back to 41, 37, 33, 16 as makke requested... git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5724 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/entity.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/src/entity.h b/source/src/entity.h index 64c31b8b..d3f4a7f9 100644 --- a/source/src/entity.h +++ b/source/src/entity.h @@ -339,8 +339,8 @@ public: return damage; } - /* 4-level armor - semi-continous approach: 16%, 33%, 34.5%, 36% */ - int ad = armour > 25 ? damage * ( 3000 + 6 * armour ) / 10000 : ( damage * 16 ) / 100; + /* 4-level armor - semi-continous approach: 16%, 33%, 37%, 41% */ + int ad = armour > 25 ? damage * ( 2500 + 16 * armour ) / 10000 : ( damage * 16 ) / 100; if(ad>armour) ad = armour; armour -= ad; damage -= ad;