velosepappe
Warlord
- Joined
- Mar 2, 2005
- Messages
- 141
I'm sure the retreat chance has been discussed many times before in other mods. Many mods add too many increase retreat chance promotions which leads to some units being unable to be destroyed because retreat chances are 100%.
I know this is not really a hot topic but this just came to mind again, something I have thought of a long time ago. Instead of making retreat chances additive: like 4 promotions of 15% chance retreat-> 60% retreat, one could make each promotion have an extra possibility of retreat if retreat is checked during combat. For example 4 promotions of 15% retreat: Check first retreat= 15% chance, if not retreated check second retreat= 15%chance and so on. In fact these 4 checks should not be made seperately at all. The formula for the total chance of retreat in this case is: 1-(1-0.15)*(1-0.15)*(1-0.15)*(1-0.15).
In this way it is never possible to have a total chance of retreat equal to 100% except if at least one promotion gives a 100% retreat chance. I dont think if this is hard to program, if nobody has the time to program this someone could lead me to the code for retreat chance so I can make the changes.
Also this would remove any problems with retreat chances being larger than 100% if there were any, because this should be impossible.
What do you guys think?
I know this is not really a hot topic but this just came to mind again, something I have thought of a long time ago. Instead of making retreat chances additive: like 4 promotions of 15% chance retreat-> 60% retreat, one could make each promotion have an extra possibility of retreat if retreat is checked during combat. For example 4 promotions of 15% retreat: Check first retreat= 15% chance, if not retreated check second retreat= 15%chance and so on. In fact these 4 checks should not be made seperately at all. The formula for the total chance of retreat in this case is: 1-(1-0.15)*(1-0.15)*(1-0.15)*(1-0.15).
In this way it is never possible to have a total chance of retreat equal to 100% except if at least one promotion gives a 100% retreat chance. I dont think if this is hard to program, if nobody has the time to program this someone could lead me to the code for retreat chance so I can make the changes.
Also this would remove any problems with retreat chances being larger than 100% if there were any, because this should be impossible.
What do you guys think?