|
Thread: Redundant morale and luck | This thread is pages long: 1 2 3 4 · «PREV / NEXT» |
|
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.
|
|
AlexSpl
Responsible
Supreme Hero
|
posted March 11, 2020 10:19 AM |
|
|
Changing Morale cap -
Changing Luck cap -
(FD, FD FF FF FF = -3)
|
|
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?
|
|
AlexSpl
Responsible
Supreme Hero
|
posted March 11, 2020 10:27 AM |
|
|
You can see bonuses in descriptions.
|
|
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?
|
|
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.
|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted March 11, 2020 10:35 AM |
|
|
Thanks, but sadly plug-ins does'nt work with HotA anymore.
Will +6 be double of +3, from 12,5% to 25%?
|
|
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.
|
|
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.
|
|
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.
|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted March 11, 2020 10:48 AM |
|
|
So there is no upper limit?, okay then.
|
|
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.
|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted March 11, 2020 10:52 AM |
|
|
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?
|
|
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.
|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted March 11, 2020 10:57 AM |
|
|
Okay thank you, I will try it.
|
|
FirePaladin
Promising
Legendary Hero
DoR Modder
|
posted March 11, 2020 11:29 AM |
|
|
Wow, this is good stuff. Gonna try it too.
|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted March 11, 2020 11:40 AM |
|
|
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?
|
|
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.
|
|
FirePaladin
Promising
Legendary Hero
DoR Modder
|
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.
|
|
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
|
|
|