comparison Items.cpp @ 1933:5fcf6023f9c3

DamageMonsterFromParty some additional vars removed, changed the ordering part to something more readable
author Grumpy7
date Wed, 23 Oct 2013 21:13:28 -0700
parents 05b433b8cb37
children 33787c8938a5
comparison
equal deleted inserted replaced
1932:28b8ecb5dac6 1933:5fcf6023f9c3
152 152
153 153
154 //----- (00439DF3) -------------------------------------------------------- 154 //----- (00439DF3) --------------------------------------------------------
155 int ItemGen::_439DF3_get_additional_damage(int *damage_type, bool *draintargetHP) 155 int ItemGen::_439DF3_get_additional_damage(int *damage_type, bool *draintargetHP)
156 { 156 {
157 *draintargetHP = false;
157 *damage_type = 0; 158 *damage_type = 0;
158 if ( !uItemID ) 159 if ( !uItemID )
159 return 0; 160 return 0;
160 UpdateTempBonus(pParty->uTimePlayed); 161 UpdateTempBonus(pParty->uTimePlayed);
161 if (uItemID == 501 ) //Iron Feather -sword 162 if (uItemID == 501 ) //Iron Feather -sword