In my inventory test, I'm doing something like that to display the item data in my tooltips:
https://gist.github.com/Dimillian/113a2 ... 919312a1ee
But my damage value from getBaseDamageMin and getBaseDamageMax is not the same as in the info MessageBox. Do I need to put in something with the metal value?
Item damages calculation
- Hazelnut
- Posts: 3016
- Joined: Sat Aug 26, 2017 2:46 pm
- Contact:
Re: Item damages calculation
Take a look in DaggerfallUnityItemMCP.cs at the WeaponDamage() method. That's what the info popup uses.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods
-
- Posts: 23
- Joined: Tue Sep 12, 2017 1:51 pm
Re: Item damages calculation
Thanks, I feel dump now. Totally overlooked that.