Hey guys, I want to rebuild primogeniture into a kind of weighted elective, like byzantium
Here is the code
Please focus on "would_be_heir_under_law", in this case, I expect it will always target on the heir of primogeniture
For example, Kindom of England lead by William
When Robert is not the heir, everything alright, he is seen as the heir under primogeniture
But when Robert become the heir of elective, he immediately lose the position, he's not heir of primogeniture anymore
Does anyone know what happen or how can I fix it?
Here is the code
Code:
elector_vote_strength = {
days = 1
additive_modifier = { #The heir of primogeniture
value = 10
FROMFROM = {
would_be_heir_under_law = { who = FROM law = primogeniture }
}
}
}
Code:
elector_selection = {
days = -5 #If below 0, ROOT is not valid to be an Elector.
additive_modifier = { #The heir of primogeniture
value = 1000
FROMFROM = {
would_be_heir_under_law = { who = FROM law = primogeniture }
#Both "who = FROM" and "who = ROOT" is same here
}
}
}
For example, Kindom of England lead by William

When Robert is not the heir, everything alright, he is seen as the heir under primogeniture

But when Robert become the heir of elective, he immediately lose the position, he's not heir of primogeniture anymore
Does anyone know what happen or how can I fix it?