Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Library of Enlightenment > Thread: Redundant morale and luck (started by phoenix4ever in March 2020)
Redundant morale and luck This thread is 4 pages long: 1 2 3 4 · «PREV / NEXT»
phoenix4ever
phoenix4ever


Legendary Hero
Heroes is love, Heroes is life
posted March 11, 2020 07:44 AM

@dj Looks like you are doing something completely different with the skills, my idea was only to raise the cap of morale and luck.

 View Profile
AlexSpl
AlexSpl


Responsible
Supreme Hero
posted March 11, 2020 10:19 AM

Changing Morale cap -



Changing Luck cap -





(FD, FD FF FF FF = -3)

 View Profile
phoenix4ever
phoenix4ever


Legendary Hero
Heroes is love, Heroes is life
posted March 11, 2020 10:23 AM

Thanks Alex, but it won't change the graphics in game, so there is no way to see if it's +3 or +6 right?

 View Profile
AlexSpl
AlexSpl


Responsible
Supreme Hero
posted March 11, 2020 10:27 AM

You can see bonuses in descriptions.

 View Profile
phoenix4ever
phoenix4ever


Legendary Hero
Heroes is love, Heroes is life
posted March 11, 2020 10:29 AM

Descriptions? You mean when you right click on morale or luck on the hero screen? Okay, but what about enemies morale and luck then?

 View Profile
AlexSpl
AlexSpl


Responsible
Supreme Hero
posted March 11, 2020 10:34 AM
Edited by AlexSpl at 10:35, 11 Mar 2020.

Also in combat, when right-clicking on your troops. I even can find a plugin which shows numbers for Morale and Luck, for you and enemy. And I believe that SoD_SP shows them, too.

 View Profile
phoenix4ever
phoenix4ever


Legendary Hero
Heroes is love, Heroes is life
posted March 11, 2020 10:35 AM
Edited by phoenix4ever at 10:37, 11 Mar 2020.

Thanks, but sadly plug-ins does'nt work with HotA anymore.
Will +6 be double of +3, from 12,5% to 25%?

 View Profile
AlexSpl
AlexSpl


Responsible
Supreme Hero
posted March 11, 2020 10:39 AM

Quote:
Will +6 be double of +3, from 12,5% to 25%?

Yes. +24 maximum.

 View Profile
phoenix4ever
phoenix4ever


Legendary Hero
Heroes is love, Heroes is life
posted March 11, 2020 10:43 AM

So up to +24 will be possible?
Wow thank you, I think I will try it.

 View Profile
AlexSpl
AlexSpl


Responsible
Supreme Hero
posted March 11, 2020 10:45 AM

Actually, even +100 is possible. But I mean, that +1 is 1/24. So +24 means 100% chance.

 View Profile
phoenix4ever
phoenix4ever


Legendary Hero
Heroes is love, Heroes is life
posted March 11, 2020 10:48 AM

So there is no upper limit?, okay then.

 View Profile
AlexSpl
AlexSpl


Responsible
Supreme Hero
posted March 11, 2020 10:49 AM

Well, there is an upper limit. But you can change it if you want. I mean, you can change a step from 1/24 to whatever you like.

 View Profile
phoenix4ever
phoenix4ever


Legendary Hero
Heroes is love, Heroes is life
posted March 11, 2020 10:52 AM
Edited by phoenix4ever at 10:59, 11 Mar 2020.

What is the default upper limit then? I don't want to change the percentages, just wanted to up the cap to +6, but +24 will also work.
Btw does it also change the lower cap or only the upper?

 View Profile
AlexSpl
AlexSpl


Responsible
Supreme Hero
posted March 11, 2020 10:55 AM
Edited by AlexSpl at 10:58, 11 Mar 2020.

24 by default. Because the game generates a random integer from 1 to 24 to check if Morale and Luck triggered.

Quote:
Btw does it also change the lower cap or only the upper?

To change the lower cap (-24 minimum) write something instead of FD. For example, FA = -6.

 View Profile
phoenix4ever
phoenix4ever


Legendary Hero
Heroes is love, Heroes is life
posted March 11, 2020 10:57 AM
Edited by phoenix4ever at 10:59, 11 Mar 2020.

Okay thank you, I will try it.

 View Profile
FirePaladin
FirePaladin


Promising
Legendary Hero
DoR Lead
posted March 11, 2020 11:29 AM

Wow, this is good stuff. Gonna try it too.

 View Profile | PP
phoenix4ever
phoenix4ever


Legendary Hero
Heroes is love, Heroes is life
posted March 11, 2020 11:40 AM
Edited by phoenix4ever at 11:41, 11 Mar 2020.

AlexSpl said:
Changing Morale cap -



Changing Luck cap -





(FD, FD FF FF FF = -3)

Sorry Alex, but I don't think I fully understand what I need to do here.
I found the addresses and I have the same numbers as you posted, but what do I need to change them to, if I want a +24 to -12 or -24 cap (-12 would be 100% chance) on morale and luck?

 View Profile
AlexSpl
AlexSpl


Responsible
Supreme Hero
posted March 11, 2020 11:49 AM

You need to change all underlined numbers. For example, in order to have +6/-6 cap, you have to change 03 -> 06, FD -> FA.

 View Profile
FirePaladin
FirePaladin


Promising
Legendary Hero
DoR Lead
posted March 11, 2020 11:49 AM

phoenix4ever said:
AlexSpl said:
Changing Morale cap -



Changing Luck cap -





(FD, FD FF FF FF = -3)

Sorry Alex, but I don't think I fully understand what I need to do here.
I found the addresses and I have the same numbers as you posted, but what do I need to change them to, if I want a +24 to -12 or -24 cap (-12 would be 100% chance) on morale and luck?


You can use a decimal to hex and vice-versa. That's what I use at least.

 View Profile | PP
AlexSpl
AlexSpl


Responsible
Supreme Hero
posted March 11, 2020 11:56 AM

For Morale you have to change 4 commands (+/- 24 cap):

C7 45 0C 03 00 00 00 -> C7 45 0C 18 00 00 00
83 F8 FD -> 83 F8 E8
C7 45 08 FD FF FF FF -> C7 45 08 E8 FF FF FF
83 F8 03 -> 83 F8 18

 View Profile
Jump To: « Prev Thread . . . Next Thread » This thread is 4 pages long: 1 2 3 4 · «PREV / NEXT»
Post New Poll   Post New Topic   Post New Reply

Page compiled in 0.0390 seconds