Editing
Hex Editing - Guide
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== 00 - Skill Specialty ==== The code for skill specialties works as follows: <span style="color:red">XXXXXXXX</span> D805 <span style="color:blue">YYYYYYYY</span> D8 4D FC where <span style="color:red">XXXXXXXX</span> is a DWORD pointer to a 5% value (in IEEE-754), <span style="color:blue">YYYYYYYY</span> is a DWORD pointer to a value of 1 (again, in IEEE-754) ===== How it works ====== The number of levels is multiplied by the XXXXXXXX DWORD pointer, added to the YYYYYYYY DWORD pointer and then the skill bonus is multiplied by it (D8 4D FC). If we want to change the % gain per level, we only need to change the XX value. If we want to instead make the bonus additive (say x% per level, regardless of how much skill itself adds), we can replace the D805YYYYYYYY with 909090909090 (NOP) and replace the D8 4D FC with D8 45 FC. Therefore it is possible to have a different bonus for one skill than another. ===== Offsets ===== The offsets for each skill specialty bonus are as follows: : Archery - 0x0E4420 : Armorer - 0x0E45C9 : Diplomacy - 0x0E483C : Eagle Eye - 0x0E46E0 : Estates - 0x0E464F : First Aid - 0x0E4BD9 : Intelligence - 0x0E4B69 : Leadership - 0x0E3C81 : Learning - 0x0E4AF9 : Logistics - 0x0E4F1E : Luck - 0x0E3A2B : Mysticism - 0x0E41FE : Necromancy - 0x0E3F92 : Offense - 0x0E4569 : Resistance - 0x0E499C : Scouting - 0x0E432E : Sorcery - 0x0E5B61 ===== Exceptions ===== Specialties for integer-bonuses (Luck, Logistics, Scouting) only have their effect when a full integer is gained from their % bonus. Diplomacy specialty only affects surrender costs. Learning specialty is fully over-writen by the Hota.dll.
Summary:
Please note that all contributions to Heroes 3 wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information