Page 2 of 2 FirstFirst 12
Results 31 to 33 of 33

Thread: Item Data

  1. #31
    Registered User
    Join Date
    18-Feb-2009
    Posts
    172
    will do. i wasn't sure what the mulitplier was when i was cleaning it up, so i guessed.
    Last edited by Sir_Vimes; 03-23-2009 at 05:22 PM.

  2. #32
    Cute Li'l UFO
    Join Date
    23-Feb-2009
    Posts
    26
    No worries!

    One more little thing from the item_dump:

    08 Accuracy modifier. If bit 7 (80) is set, then the value is subtracted from 256.
    00-7F = positive values, where $00 equals 0 and $7F equals 127.
    80-FF = negative values, where $80 equals -127 and $FF equals 0. [am i getting this right?]


    Almost. First, I would recommend describing the process as "256 is subtracted from the value", aka "value -256" rather than "the value is subtracted from 256", aka "256 - value." The latter would require the additional step of changing the result to a negative in order to give the proper result, while the former gives the correct result immediately. This goes for the defense bytes, too.

    Second, 80h(128d) -256d = -128, not -127, and FFh(255d) -256d = -1, not 0.

  3. #33
    Registered User
    Join Date
    18-Feb-2009
    Posts
    172
    i'll fix that next.
    Last edited by Sir_Vimes; 03-30-2009 at 09:23 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •