Mercurial > mm7
comparison Actor.cpp @ 377:243418228760
GetIdentifiedName
author | Gloval |
---|---|
date | Fri, 22 Feb 2013 22:27:45 +0400 |
parents | edd2d8b7e3c4 |
children | d95a91011d57 915f3b9c0914 |
comparison
equal
deleted
inserted
replaced
376:615e6b6f55c2 | 377:243418228760 |
---|---|
341 } | 341 } |
342 while ( v3 < v1->pMonsterInfo.uTreasureDiceRolls ); | 342 while ( v3 < v1->pMonsterInfo.uTreasureDiceRolls ); |
343 if ( v2 ) | 343 if ( v2 ) |
344 { | 344 { |
345 v1->array_000234[3].uItemID = 197; | 345 v1->array_000234[3].uItemID = 197; |
346 v1->array_000234[3].uAdditionalValue = v2; | 346 v1->array_000234[3].uSpecEnchantmentType = v2; |
347 } | 347 } |
348 } | 348 } |
349 } | 349 } |
350 if ( rand() % 100 < v1->pMonsterInfo.uTreasureDropChance ) | 350 if ( rand() % 100 < v1->pMonsterInfo.uTreasureDropChance ) |
351 { | 351 { |