UnofficialCrusaderPatch / UnofficialCrusaderPatch2

Unofficial balancing patch installer for Stronghold Crusader 1
MIT License
430 stars 59 forks source link

What is "RaidUnitsRandom"??? #398

Closed Ariel644 closed 5 years ago

Ariel644 commented 5 years ago

Can anyone explaine??

PitchNeeded commented 5 years ago

I think its the amount of additional raiding units sent if the AI has a lot of gold or a lot of troops. I have certainly noticed that some AIs in vanilla Stronghold Crusader, particularly Emir and Caliph I have noticed, send bigger groups of raiders if they have a lot of troops or gold.

ByBurton commented 5 years ago

"Maximum random addition to raid troops. Special cases: [gold > 5000 => multiplied by 2][gold < 1000 => set to 0][enemy gold < 500 => divided by -2]"

Sh0wdown commented 5 years ago

Like @ByBurton cited from the Wiki, the raid unit amount is increased by random value. RaidUnitsRandom sets the maximum of this random value.