Jump to content

Conversion Process To Store Dodge/parry/etc Stats?


Recommended Posts

Posted

I'm looking to convert the data stored at offset 1317 in the character.data blob back to the percentage as displayed by the client. How is this done in the Mangos code? I saw there were some SetStateValue(player_percentage_dodge, value), but I was unable to follow that to the extact method of conversion from the float value into the uint32 value that appears in the data blob.

Posted

The client uses a ratings system to get actual skill numbers and percentages. You can read up on it at well known wiki sites.

Ex:

at level 60, 14 crit rating = 1% crit

at level 70, 22.08 crit rating = 1% crit

Posted

What I'm interested in is pulling the numbers from the data blob, so I figure if I knew how it was inserted, I could reverse the process. PHP has a native pack/unpack function which works well for this, but .NET does not.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use