Closed adaneslavo closed 6 years ago
unrelated, but has anything been done regarding Hinin's comment about the k'atun ajaw promotions?
The intent was to have the k'atun ahaw level up every 20 turns of game time, but as they were implemented they marked 20 turns from the unit's creation. It should be possible to have a unit built on turn 99, and on turn 100 for it to get level 1 of the k'atun ajaw bonus
No. Hinin is wrong and they take into acount GameTurns. I don't know why he thought about Unit turns. It was old abandoned idea I even didn't start implementing. You can look into the code by yourself to check that. There's no code for checking unit life. It would require making a whole table of units with their creation turns saved. Too much work.
I repaired all bugs mentioned by FoxOfWar. They will be implemented in v26. Also did massive rework of Maya code. I only wait for answer from Infixo about simplifying Holkan's code.
function OnGoodyHutReceivedBonus(iPlayer, iUnit, eGoody, iX, iY)
dprint("OnGoodyHutReceivedBonus", iPlayer, iUnit, eGoody, iX, iY)
end
GameEvents.GoodyHutReceivedBonus.Add(OnGoodyHutReceivedBonus)
Update to VP is scheduled for tonight. Should be able to close this and the Baan Chang issues