# HG changeset patch # User Grumpy7 # Date 1383470754 28800 # Node ID 1e5f097e1c2d4cdf2cf3ee9d8f377cc1b92ea3c4 # Parent 012fcb1f223aa125b82bcd707009c815af5e6392 fixing incorrect item checked when dealing damage to monsters diff -r 012fcb1f223a -r 1e5f097e1c2d Actor.cpp --- a/Actor.cpp Sun Nov 03 01:20:06 2013 -0800 +++ b/Actor.cpp Sun Nov 03 01:25:54 2013 -0800 @@ -3789,10 +3789,10 @@ if ( player->HasItemEquipped((ITEM_EQUIP_TYPE)i) ) { ItemGen* item; - //if (i == 0) + if (i == 0) + item = player->GetOffHandItem(); + else item = player->GetMainHandItem(); - //else - //item = player->GetOffHandItem(); a4 = item->_439DF3_get_additional_damage((int*)&attackElement, &isLifeStealing); if ( isLifeStealing && pMonster->sCurrentHP > 0 ) {