Greater Item Bonuses
#1
Hi hackers! I was wondering if anyone has seen a thread or knows how to make it so that items could give more than just +/- 7 to stats, and more than +/- 12.5% to 50% HP or MP? I searched the mnrogar threads and this thread and couldn't find anything. I'd love to add this to my mod I'm about to release, thanks!
Reply
#2
Byte 17 & 18 of the item data are responsible of this. As you can see there is 2 stats per bytes, and all possible combinations covers a value from 0 to 0xFF, meaning there is no more room on the byte. Unless you expand the item data or remove item attributes and allocate one stat per byte I don't see how this is possible. It would be IMO a tedious job.

Code:
17: Vigor & Speed
        0x01 to 0x07 =  1 to 7  (vigor)
        0x08 to 0x0F = -0 to -7 (Vigor)
        0x10 to 0x70 =  1 to 7  (Speed)
        0x80 to 0xF0 = -0 to -7 (Speed)
        
18: Stamina & Magic Power
        0x01 to 0x07 =  1 to 7  (Stamina)
        0x08 to 0x0F = -0 to -7 (Stamina)
        0x10 to 0x70 =  1 to 7  (Magic Power)
        0x80 to 0xF0 = -0 to -7 (Magic Power)
Reply
#3
Damn, thanks.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Looking for patch that fix item loss when dying before using said item Warrax 4 3,559 08-03-2018, 09:49 AM
Last Post: Warrax
  Level Bonuses Based on Equipment Timbo 11 10,047 02-26-2017, 05:25 PM
Last Post: madsiur
  Gaining a greater health from Potions? Kugawattan 41 38,186 08-18-2016, 12:02 AM
Last Post: DrakeyC
  Item + Throw. Is it possible? Denis Colli 6 6,292 03-08-2016, 09:06 PM
Last Post: Denis Colli
  Items with stat bonuses +28? DO WE DARE??? ReturnerScum 5 7,499 02-21-2016, 06:23 PM
Last Post: assassin
  Can't be sold item tsushiy 8 7,382 02-18-2015, 09:39 PM
Last Post: Catone
  Item Arrange tsushiy 0 1,993 12-27-2014, 09:55 PM
Last Post: tsushiy

Forum Jump:


Users browsing this thread: 1 Guest(s)