• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Fixed Crewmen who die from gangrene are actually healed

Oh. So with defense = 1, there is a 25% chance of any single cannonball killing a wounded?
I think so, yes. That also explains why I got that SO often when I just started a new game.

Will get rid of it for the next update; thanks for your confirmation! :cheers
 
As agreed, I'm removing the offending code altogether:
Code:
 // KK & PB -->
   if (IsMainCharacter(rOurCharacter) || IsCompanion(rOurCharacter)) {
     int wounded = casualties - randnorm(casualties, iskillDefence);
     if (wounded > casualties) wounded = casualties;
     if (wounded > 0) AddCharacterWoundedCrew(rOurCharacter, wounded);
     else wounded = 0;
//trace("Ship_ApplyCrewHitpoints: casualties="+casualties+", iskillDefence="+iskillDefence +", wounded="+wounded);
   }
   SetCrewQuantity(rOurCharacter, fNewCrewQuantity);
// <-- KK & PB
 
Back
Top