Playing a merchant FreePlay campaign, I had three schooners whose morale kept dropping to "Poor". One captain had a positive reputation, as did I; the other was "Neutral". I had a merchant licence so my gold was not a factor. At first I thought it was because both captains had too low "Leadership" and "Sailing", so I bought them books and items to boost their skills - no effect.
Some work with 'trace' lines in "DailyCrewUpdate.c" showed that, where a companion captain's "effective leadership" should affect morale, it was 0 for both captains. Yet if I used the same command to show one captains "effective leadership" from the console, it showed skill 4.
Then it got weird. Trace commands showed the captains' leadership as 0, then I pressed F12 to trigger console, it showed the captain's leadership as 4 - and next day the traces showed this captain's leadership as 4 and the other as 0.
There is a function 'ResetEffectiveSkill'. I put this above the leadership check for morale and, next day, both captains showed their correct leadership and their crew morales began to rise.
The next question is, what to do for companions whose reputation conflicts with yours? With this fix, they will use their leadership in your favour! Negating the leadership bonus is a bit harsh, especially if the reputation difference is slight. Perhaps only apply the leadership bonus if the companion's reputation does not oppose yours?
Anyway, here is "DailyCrewUpdate.c" with the leadership fix.
Some work with 'trace' lines in "DailyCrewUpdate.c" showed that, where a companion captain's "effective leadership" should affect morale, it was 0 for both captains. Yet if I used the same command to show one captains "effective leadership" from the console, it showed skill 4.
Then it got weird. Trace commands showed the captains' leadership as 0, then I pressed F12 to trigger console, it showed the captain's leadership as 4 - and next day the traces showed this captain's leadership as 4 and the other as 0.
There is a function 'ResetEffectiveSkill'. I put this above the leadership check for morale and, next day, both captains showed their correct leadership and their crew morales began to rise.
The next question is, what to do for companions whose reputation conflicts with yours? With this fix, they will use their leadership in your favour! Negating the leadership bonus is a bit harsh, especially if the reputation difference is slight. Perhaps only apply the leadership bonus if the companion's reputation does not oppose yours?
Anyway, here is "DailyCrewUpdate.c" with the leadership fix.