Skip to content

Commit

Permalink
Merge branch 'ParadoxGameConverters:master' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Richimundus5 authored Jan 6, 2025
2 parents 8485baa + 288c42f commit 1087c42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CK2ToEU4/Source/EU4World/Country/Country.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1076,18 +1076,18 @@ void EU4::Country::assignReforms(const std::shared_ptr<mappers::RegionMapper>& r
if (title.second->getSuccessionLaw() == "feudal_elective" && tag != "ROM" && tag != "HRE" && tag != "BYZ")
{
details.reforms.clear();
details.reforms = {"elective_monarchy"};
details.reforms = {"elective_monarchy_reform"};
}
// Weird Edge Cases
else if (title.second->getSuccessionLaw() == "byzantine_elective" && (title.first.find("e_roman_empire") || title.first.find("e_byzantium")))
{
details.reforms.clear();
details.reforms = {"autocracy_reform"};
details.reforms = {"byzantine_autocracy_reform"};
}
else if (title.second->getSuccessionLaw() == "byzantine_elective" && !title.first.find("e_"))
{
details.reforms.clear();
details.reforms = {"feudalism_reform"};
details.reforms = {"autocracy_reform"};
}
else if (title.second->getSuccessionLaw() == "open_elective") // Should only be applicable to Mercenary Companies
{
Expand Down

0 comments on commit 1087c42

Please sign in to comment.