Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'Delay Advancements [modification]
Depsite being a [modification] this is actuall implemented in the C++ code the [modification] just sets a flag. This is meant as an alterntive to the preset advancement type of mod, i want to play around with it a bit in 1.15 maybe we will remove it later. The problbme this is supposed to fix is that advancemnts are done randomly during the enemeies turn. It has a few advantages over the preset advancemnt approach: 1) It can easily handle amlas and normal advancement 2) It doesn't need special code to handle the case that A unit advances multiple times. 3) It doesn't break in case that other wml code changed The advancements of a unit after the preselected advancement was chosen 4) The user never needs to think about an advancement of a unit that might not even advance It also has a disadvantage: it changes the rules of the game quite a bit, in partiucar if the units heals form an adcancement (which us usally the case), since now with this 'healing the unit on advancement by retaliation' during the enemies turn can no longer happen. I still think its wirth to think about this and test it though.
- Loading branch information
1 parent
af344d2
commit f599c77
Showing
4 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,7 @@ | |
|
||
{campaigns/} | ||
|
||
{modifications.cfg} | ||
[ais] | ||
default_ai_algorithm=ai_default_rca | ||
[default_config] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[modification] | ||
id = "delay_advancements" | ||
name = _ "Delay Advancements" | ||
type = "hybrid" | ||
[/modification] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters