Kaiserreich / Kaiserreich-4-Bug-Reports

Issue tracker for Kaiserreich for Hearts of Iron 4
110 stars 40 forks source link

ENG - Total Mobilisation focus not bypassing correctly #4691

Closed ReiVL closed 5 years ago

ReiVL commented 5 years ago

Quick questions HoI4 version: 1.7.1 Kaiserreich version: Dev List any other mods used: None

Explanation of the issue:

In the UoB focus tree under the "Class Warfare" branch there's a focus that allows the player to quickly enact the Total Mobilisation economic law. However, if you already have that economic law active this focus does nothing, takes 70 days, and is required to take the final focus in the diplomacy/war branch of the UoB focus tree.

I'm proposing that if the player has spent the 200PP to preemptively activate its effect (very doable in a WK scenario) then the focus is bypassed when selected. Alternatively, add some other buffs to it ("Blood, Toil, Tears and Sweat" and "Victory at the Home Front" focuses already do this though).

Steps to reproduce:

  1. Play as UoB, get into a war that allows you to go for class warfare and have enough WS/PP to enact the economic law. This should be possible on any run where the second WK happens without any abnormal play.
  2. Start working on the aforementioned focus once it opens up.

Possible cause:

Focus seems to lack a line of code telling it to bypass if the player already has this economic law enacted.

Screenshots:

https://cdn.discordapp.com/attachments/557929017051840524/619094929301569538/unknown.png - Focus in the focus tree (taken in 1936 to show its effects). https://cdn.discordapp.com/attachments/557929017051840524/619095203491348490/unknown.png - Shot of the focus being taken despite the law being active and the focus having no effect. https://cdn.discordapp.com/attachments/557929017051840524/619095359091900416/unknown.png - Just to be on the safe side, shot of the focus completing as normal.

Zankoas commented 5 years ago

Fixed, thanks for reporting