Oh, and just to explain a bit of how the new code works:
1. A nation for the enemy captain is decided on
2. An enemy captain is generated
3. Rank calculation has remained unchanged
4. Enemy captain is given appropriate skills
5. Instead of his ship class being player-level and difficulty-dependent, it now depends PURELY on the captain's own Sailing and Leadership skill (same as the player)
6. Ship generation now uses GiveShip2Character, which will always give them a full cargo hold
7. Random damage and such generated last
Because the nation is now selected BEFORE the ship is generated, even Treasure Quest pirates will now get a ship appropriate to their nation.
Also because the ship level depends on the enemy captain skills, you should never find that he cannot command his own ship without penalties.
Does that make any sense so far?
1. A nation for the enemy captain is decided on
2. An enemy captain is generated
3. Rank calculation has remained unchanged
4. Enemy captain is given appropriate skills
5. Instead of his ship class being player-level and difficulty-dependent, it now depends PURELY on the captain's own Sailing and Leadership skill (same as the player)
6. Ship generation now uses GiveShip2Character, which will always give them a full cargo hold
7. Random damage and such generated last
Because the nation is now selected BEFORE the ship is generated, even Treasure Quest pirates will now get a ship appropriate to their nation.
Also because the ship level depends on the enemy captain skills, you should never find that he cannot command his own ship without penalties.
Does that make any sense so far?