|
|
BTB
Famous Hero
Moist & Creamy
|
posted May 15, 2020 11:26 PM |
|
|
https://heroes.thelazy.net/index.php/Diplomacy
Quote:
Army strength
40% bonus with expert Diplomacy (30% chance to hire) if the army is 3 times the strength of the creatures
30% bonus with advanced Diplomacy (20% chance to hire) if the army is 2.5 times the strength
20% bonus with basic Diplomacy (10% chance to hire) if the army is 2 times the strength
10% bonus if the army is 1.5 times the strength of the creatures
10% penalty if the army is weaker than the creatures
20% penalty if the army is less than half the strength
30% penalty if the army is less than a third of the strength
Army composition
20% bonus if over 50% (creature count) of the hero's army consists of the same type (up/downgrade) of creatures
10% bonus if there's at least one creature of the same type (up/downgrade) in the hero's army
That's what I'm after.
|
|
AlexSpl
Responsible
Supreme Hero
|
posted May 15, 2020 11:30 PM |
|
|
This info is incorrect. See Diplomacy internals thread.
|
|
BTB
Famous Hero
Moist & Creamy
|
posted May 15, 2020 11:46 PM |
|
|
Ah, ok. That actually makes a lot more sense based on my testing.
What I have is...
(Free joiners will cost gold)
017237 > 03
0A755D > EB
(Paid joiners will instead flee)
017246 > EB
0A75A5 > 11
(ALL joiners will instead flee)
017237 > 00
017246 > EB
0A75A9 > EB
But testing is difficult since I can't seem to set up a consistent environment. Seems like once the offer to pay to join is there, it's set in stone.
|
|
AlexSpl
Responsible
Supreme Hero
|
posted May 15, 2020 11:56 PM |
|
|
Try Diplomacy yourself with LMOracle. Sometimes you can join 4000 Trolls by dismissing 1 Archangel
|
|
AlexSpl
Responsible
Supreme Hero
|
posted May 16, 2020 12:01 AM |
|
|
This is how Diplomacy internals look with LMOracle -
|
|
BTB
Famous Hero
Moist & Creamy
|
posted May 16, 2020 12:44 AM |
|
Edited by BTB at 00:46, 16 May 2020.
|
Ok, so after looking through that thread and simplifying the math to the point I could understand it, my only question is what determines if a wild stack is compliant/hostile/friendly/aggressive/savage?
(Actually, two questions... according to the post it looks like basically anything will join you if you have a powerful enough army. Where does it decide between join or flee?)
|
|
AlexSpl
Responsible
Supreme Hero
|
posted May 16, 2020 12:45 AM |
|
|
Quote: my only question is what determines if a wild stack is compliant/hostile/friendly/aggressive/savage?
Haha Random. Or a mapmaker settings.
|
|
BTB
Famous Hero
Moist & Creamy
|
posted May 16, 2020 12:47 AM |
|
Edited by BTB at 00:47, 16 May 2020.
|
Damn, ninja replied before I could update my post with my other question.
Thanks for the help
|
|
AlexSpl
Responsible
Supreme Hero
|
posted May 16, 2020 12:53 AM |
|
|
Quote: Where does it decide between join or flee?
Here A7530, here 4A755D, and here A75A9.
|
|
BTB
Famous Hero
Moist & Creamy
|
posted May 16, 2020 12:57 AM |
|
|
I guess what I'm asking is where in the formula you posted do those determinations come into play? Like if I use a cheat code to pimp out my army with a few dozen Archangels, I'll wander around the map and everything will just run from me - no join offers whatsoever. So there's clearly some other factor in there I'm not getting.
|
|
AlexSpl
Responsible
Supreme Hero
|
posted May 16, 2020 01:03 AM |
|
|
I don't understand. All is in Diplomacy internals. Ch >= X? You have a chance to join monsters. If you refuse, they flee if Ch > X, or take fight, if Ch = X. That's all.
|
|
BTB
Famous Hero
Moist & Creamy
|
posted May 16, 2020 01:06 AM |
|
Edited by BTB at 01:08, 16 May 2020.
|
Specifically
"Ch >= X? You have a chance to join monsters."
I don't see where the chance is specified, the step-by-step just explains it as if the chance is a guarantee once we get to step 8. I'm guessing that 7E 1E at A7530 translates to a 30% chance... is this a static value in any case where Charisma >= X?
|
|
AlexSpl
Responsible
Supreme Hero
|
posted May 16, 2020 01:11 AM |
|
|
This means you can join monsters if you have Ch >=X and J, or JG >= X, and enough gold. Otherwise they just flee. If Ch < X, they fight.
|
|
BTB
Famous Hero
Moist & Creamy
|
posted May 16, 2020 01:23 AM |
|
|
Ok, I think I see where I was getting it wrong. I was forgetting that The chance to join is purely a function of Sympathy and Diplomacy - Total Army Power doesn't factor in. So if I pimp out my army with Archangels and enough money and run around the map, nothing is going to offer to join me.
And whenever I randomly get join offers from wandering randoms that have no sympathy (since they're a different unit type), that's possible ONLY if they're a "compliant" stack, correct?
If that's the case, then I suppose the question I should be asking is if it's possible to change their Aggression value from -4 to 1.
|
|
AlexSpl
Responsible
Supreme Hero
|
posted May 16, 2020 01:27 AM |
|
Edited by AlexSpl at 01:28, 16 May 2020.
|
Yeah, plus you forgot Diplomacy Level (well, you didn't ). You can change aggression in memory, if you want to. How to do it is in the thread.
|
|
BTB
Famous Hero
Moist & Creamy
|
posted May 16, 2020 01:37 AM |
|
|
All of my testing is with no Diplomacy skill since I trashed it; I'm basically just trying to figure out how Diplomacy mechanics work (and how to edit them) when Diplomacy isn't factored in at all. And random "compliant" stacks explain what I wasn't understanding before.
And it's looking like the hard -4 aggression value is a function of the map and not something editable in the .exe from what I see in the thread? I see a script that Salamandre posted but that's completely Greek to me.
|
|
AlexSpl
Responsible
Supreme Hero
|
posted May 16, 2020 01:41 AM |
|
|
Monsters get their aggression level during a map generation process. Thus, they are hex-editable.
|
|
BTB
Famous Hero
Moist & Creamy
|
posted May 16, 2020 01:46 AM |
|
|
Do you know where that address is in the .exe? I'm assuming I'd be looking for a FC (-4) somewhere?
|
|
AlexSpl
Responsible
Supreme Hero
|
posted May 16, 2020 01:49 AM |
|
|
I don't know right now, but I can find it simply by looking through all random generations. But what you will do with it?
|
|
BTB
Famous Hero
Moist & Creamy
|
posted May 16, 2020 01:54 AM |
|
|
If I understand everything correctly, setting that value from -4 to 1 means that it would become impossible for random enemies to join without either Diplomacy or Sympathy.
|
|
|