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
This commit is contained in:
Rafael Barreto
2010-10-07 17:12:05 +00:00
parent d4ec0b2921
commit f6a8cdadb0
+2 -2
View File
@@ -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;