Describe the bug
Event 96135 (under events/InfamyWar_Events.txt ) is an event that fires for an AI GP when another GP has sufficiently high infamy. To fire, the event requires another GP to have a badboy of at least 1.8 (or 45 infamy); however, when this event fires it sends the next event (96136) to a GP that has a badboy of at least 2 (50 infamy).
As a result, if 96135 fires while a (presumably player) GP has between 45 and 50 infamy, 96135 will set the ultimatum_delivered global flag (which keeps additional instances of 96135 from firing), BUT there will be NO valid country to send event 96136 to, which is supposed to clear the ultimatum_delivered global flag.
This results in the ultimatum_delivered flag being stuck on, preventing any more ultimatums from being sent, but no ultimatums end up arriving. The high infamy country will be allowed to continue to rack up additional infamy without suffering the consequences intended.
Suggested Fix
Change the badboy threshold for firing event 96135 to 2 instead of 1.8. Alternatively, keep the threshold for 96135 at 1.8, but lower the threshold for finding a GP to send event 96136 to 1.8 instead of 2. This should ensure that when 96135 fires, it ALWAYS has a valid target to send 96136 to, instead of getting stuck in limbo.
Describe the bug Event 96135 (under events/InfamyWar_Events.txt ) is an event that fires for an AI GP when another GP has sufficiently high infamy. To fire, the event requires another GP to have a badboy of at least 1.8 (or 45 infamy); however, when this event fires it sends the next event (96136) to a GP that has a badboy of at least 2 (50 infamy).
As a result, if 96135 fires while a (presumably player) GP has between 45 and 50 infamy, 96135 will set the ultimatum_delivered global flag (which keeps additional instances of 96135 from firing), BUT there will be NO valid country to send event 96136 to, which is supposed to clear the ultimatum_delivered global flag.
This results in the ultimatum_delivered flag being stuck on, preventing any more ultimatums from being sent, but no ultimatums end up arriving. The high infamy country will be allowed to continue to rack up additional infamy without suffering the consequences intended.
Suggested Fix
Change the badboy threshold for firing event 96135 to 2 instead of 1.8. Alternatively, keep the threshold for 96135 at 1.8, but lower the threshold for finding a GP to send event 96136 to 1.8 instead of 2. This should ensure that when 96135 fires, it ALWAYS has a valid target to send 96136 to, instead of getting stuck in limbo.