comparison mm7_1.cpp @ 559:09108e73f2f4

item gen fixes (not full)
author Gloval
date Tue, 05 Mar 2013 01:08:01 +0400
parents f146781c5c2d
children b23f19fc0d1b
comparison
equal deleted inserted replaced
550:c314e671d29c 559:09108e73f2f4
2507 2507
2508 2508
2509 if ( inspect_item->uEncantmentType ) 2509 if ( inspect_item->uEncantmentType )
2510 { 2510 {
2511 sprintf(out_text + 200, "%s: %s +%d", pGlobalTXT_LocalizationStrings[210], 2511 sprintf(out_text + 200, "%s: %s +%d", pGlobalTXT_LocalizationStrings[210],
2512 pItemsTable->pEnchantments[inspect_item->uEncantmentType-1].pOfName, inspect_item->_bonus_strength); //"Special" 2512 pItemsTable->pEnchantments[inspect_item->uEncantmentType-1].pBonusStat, inspect_item->_bonus_strength); //"Special"
2513 } 2513 }
2514 else if ( inspect_item->uSpecEnchantmentType ) 2514 else if ( inspect_item->uSpecEnchantmentType )
2515 { 2515 {
2516
2517
2518 sprintf(out_text + 200, "%s: %s", pGlobalTXT_LocalizationStrings[210], 2516 sprintf(out_text + 200, "%s: %s", pGlobalTXT_LocalizationStrings[210],
2519 pItemsTable->pSpecialEnchantments[inspect_item->uSpecEnchantmentType-1].pNameAdd, inspect_item->_bonus_strength); 2517 pItemsTable->pSpecialEnchantments[inspect_item->uSpecEnchantmentType-1].pBonusStatement, inspect_item->_bonus_strength);
2520 } 2518 }
2521 2519
2522 else if ( inspect_item->uNumCharges ) 2520 else if ( inspect_item->uNumCharges )
2523 { 2521 {
2524 sprintf(out_text + 200, "%s: %lu", pGlobalTXT_LocalizationStrings[464], inspect_item->uNumCharges); //"Charges" 2522 sprintf(out_text + 200, "%s: %lu", pGlobalTXT_LocalizationStrings[464], inspect_item->uNumCharges); //"Charges"