Diplomatic ai fix
Fixes some oversight in diplomacy AI which causes AI to join unrelated war and/or pick irrelavent wargoal. As a result AI can develop better and be more greedy at war.
1. Fixed an oversight which caused ai to over value obligation from minor powers.
2. Fixed an oversight which prevented ai from starting an investment right diplo play against countries without isolationism law.
3. Devs did not assign weight for investment rights wargoal for non scripted war. Now AI will consider asking for investment rights if their investment pool is overflowing.
4. Discourage AI from pursuing oversea wargoals if they are in a naval disadvantage
5. Reduced the tendency of AI join war with no gain
6. Reduced ai preference on regime change wargoal.
(HOPEFULLY) NO MORE AI GREAT POWERS JOINING WARS AGAINST OTHER GREAT POWERS FOR REGIME CHANGES IN NEVER HEARD OF SUBJECTS
7. Encourage AI to add more secondary war goal
8. Discourage AI from pursuing oversea wargoals if they are in a naval disadvantage
9. Make AI more caution when making secondary wargoal primary
10: AI with relevant strategy are more likely to support independence
11. Since I am editing the same file I might as well include this fix, villina ai will not expand construction sector once switching to coop ownership/ command economy system
12. Fixed an oversight in ai which causes USA not to declare interest in china
13. Fixed a bug in carve up china, which causes ai to never attacking china
14. Fixed a bug which causes Russia ai to not show aggression correctly against China and central asia states when Eastern Border journal is active
15. Fixed a missing trigger which causes ai america to not show aggression against csa after failing the initial conquer attempt.
