Polynesian caravel can't move into the ocean

Babri

Emperor
Joined
Apr 16, 2010
Messages
2,450
Location
Pakistan
Polynesian caravel is broken. I upgraded my triremes to caravel & now they could not move deep in the ocean. I am using the latest stable release.
 
Have you researched Astronomy?

edit: Never mind! I don't have the Polynesia DLC :P
 
When a unit upgrades, I added a check in the upgrade code to manually remove the 'requires astronomy' penalty from Polynesian caravels:
PHP:
local needsAstronomy = GameInfo.UnitPromotions.PROMOTION_OCEAN_IMPASSABLE_UNTIL_ASTRONOMY.ID
if unit:IsHasPromotion(needsAstronomy) and Player_GetTrait(Players[unit:GetOwner()]).EmbarkedAllWater then
  unit:SetHasPromotion(needsAstronomy, false)
end
However, there is apparently some issue preventing the UpdatePromotions function from running. This is the same reason why people were getting duplicate scouts/warriors with the upgrade opportunity. I'll fix this when I have access to the game again. :)
 
Back
Top Bottom