no message
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1089 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -373,6 +373,7 @@ void dodamage(int damage, int actor, playerent *act, bool gib, playerent *pl)
|
||||
damageblend(damage);
|
||||
demoblend(damage);
|
||||
}
|
||||
pl->lastpain = lastmillis;
|
||||
int ad = damage*30/100; // let armour absorb when possible
|
||||
if(ad>pl->armour) ad = pl->armour;
|
||||
pl->armour -= ad;
|
||||
|
||||
Reference in New Issue
Block a user