Changeset 285
- Timestamp:
- 07/05/07 15:55:35 (1 year ago)
- Files:
-
- trunk/src/cmd1.c (modified) (1 diff)
- trunk/src/wizard2.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/cmd1.c
r274 r285 521 521 /* Get the next object */ 522 522 next_o_idx = o_ptr->next_o_idx; 523 524 /* Ignore all hidden objects */525 if (!o_ptr->marked) continue;526 523 527 524 /* Ignore if not legal treasure */ trunk/src/wizard2.c
r274 r285 409 409 { TV_BOTTLE, "Empty bottle" }, 410 410 { TV_JUNK, "Junk" }, 411 { TV_GOLD, "Gold" }, 411 412 { 0, NULL } 412 413 }; … … 1026 1027 /* Apply magic (no messages, no artifacts) */ 1027 1028 apply_magic(i_ptr, p_ptr->depth, FALSE, FALSE, FALSE); 1029 1030 if (k_info[k_idx].tval == TV_GOLD) 1031 { 1032 /* Hack -- Base coin cost */ 1033 s32b base = k_info[k_idx].cost; 1034 1035 /* Determine how much the treasure is "worth" */ 1036 i_ptr->pval = (base + (8L * randint(base)) + randint(8)); 1037 } 1028 1038 1029 1039 /* Drop the object from heaven */
