Mercurial > mm7
diff Actor.cpp @ 1611:8e99b4a7176f
Слияние
author | Ritor1 |
---|---|
date | Sat, 14 Sep 2013 10:28:23 +0600 |
parents | c58916c53d8e |
children | ccde94f02b75 |
line wrap: on
line diff
--- a/Actor.cpp Sat Sep 14 10:28:13 2013 +0600 +++ b/Actor.cpp Sat Sep 14 10:28:23 2013 +0600 @@ -5327,7 +5327,7 @@ player->ReceiveDamage(uDamageAmount, (DAMAGE_TYPE)a2); v50 = 24; v59 = 20 * v61 / (signed int)pMonster->pMonsterInfo.uHP; - if ( (player->_48EA46_calc_special_bonus_by_items(24) || hit_will_stun != v41) + if ( (player->GetSpecialItemBonus(24) || hit_will_stun != v41) && stru_50C198.GetMagicalResistance(pMonster, 3u) ) { LODWORD(v42) = 20;