Changeset 1028

Show
Ignore:
Timestamp:
11/14/08 17:11:32 (2 months ago)
Author:
takkaria
Message:

(#498, #628) Show correct average damage in pack, and fix torch info display. (Thanks to Joe Buck)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/object/obj-info.c

    r1000 r1028  
    375375 
    376376                dam = ((o_ptr->ds + 1) * o_ptr->dd * 5); 
    377                 xtra_dam = state.dis_to_d * 10; 
     377                xtra_dam = (state.dis_to_d + o_ptr->to_d) * 10; 
    378378 
    379379                /* Warn about heavy weapons */ 
     
    488488                text_out(" light.  No fuel required"); 
    489489        else if (is_lite && o_ptr->sval == SV_LITE_TORCH) 
    490                 text_out(" light, reduced when running of out fuel"); 
     490                text_out(" light, reduced when running out of fuel"); 
    491491        else 
    492492                text_out (" light");