Frozen-Vomit
Prince
Can you not fiddle with the map-checker(tm) so that it gets called upon regeneration?
Frozen-Vomit said:Can you not fiddle with the map-checker(tm) so that it gets called upon regeneration?
Lolling...Ankhman said:my Chief Advisor, Wormtongue.
Chandrasekhar said:I never heard about the horse having those problems, too, but I guess it makes sense.
onedreamer said:Altar of the Luonnotar gives a free blessed promotion to all cities and not just to the city it was built in. (didn't see this in the fix list).
Blesses all units produced in the empire.
unit.setMoves(unit.baseMoves())
Maian said:This isn't a bug, just useless code. In CvEventManager.onUnitCreated, the line
is pointless and doesn't do anything. Well actually it does, but the net result is nothing. First, baseMoves() isn't in multiples of 60 - what you really want is maxMoves(). Second, setMoves() sets the amount of moves the unit has used up, so setMoves(baseMoves()) is equivalent to finishMoves(), which I'm sure is not what is intended here.Code:unit.setMoves(unit.baseMoves())
I'm only pointing this out, because when I was a Civ4 modder newbie, this line confused me. It made me misunderstand how setMoves() and baseMoves() work, which was a bit frustrating, until I actually looked at the C++ source code.
Kael said:That may be the oddest fix in FfH. And I think you were right that it is no longer needed in 0.16, but I think it is in 0.15.
It is in because of fireballs from arcane barges. If you create a units on another domain the engine drops its moves to 0. The above runs afterwards and sets the unit to full moves regardless of its domain. On 99% of units its redundant, but for fireballs summoned over water, it allows them to move.