Users browsing this thread: 1 Guest(s)
Greater Item Bonuses

#1
Posts: 61
Threads: 18
Thanks Received: 1
Thanks Given: 47
Joined: May 2014
Status
None
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!
  Find
Quote  

#2
Posts: 3,970
Threads: 279
Thanks Received: 236
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
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)
  Find
Quote  

#3
Posts: 61
Threads: 18
Thanks Received: 1
Thanks Given: 47
Joined: May 2014
Status
None
Damn, thanks.
  Find
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite