Zechnophobe
Strategy Lich
Spoiler :
if iBuildingType == gc.getInfoTypeForString('BUILDING_TOWER_OF_NECROMANCY'):
iUndead = gc.getInfoTypeForString('PROMOTION_UNDEAD')
iStrong = gc.getInfoTypeForString('PROMOTION_STRONG')
apUnitList = PyPlayer(player).getUnitList()
for pUnit in apUnitList:
if pUnit.isHasPromotion(iUndead):
pUnit.setHasPromotion(iStrong, True)
So, the Tower doesn't increase the amount of skellies you can summon (I was already sure of this anyhow) but rather gives them +1 Strength? I'd never noticed before. Gonna do a quick test now to see if it actually works...
It does appear it only gives the bonus to existing skeletons however. I'm guessing getUnitList() is just the units you currently own, and not all the units you'll ever own.
Edit:
Spoiler :
if unit.isHasPromotion(gc.getInfoTypeForString('PROMOTION_UNDEAD')):
if pPlayer.getNumBuilding(gc.getInfoTypeForString('BUILDING_TOWER_OF_NECROMANCY')) > 0:
unit.setHasPromotion(gc.getInfoTypeForString('PROMOTION_STRONG'), True)
Ah, I see, there's a separate check on unit creation that gives them Strong, makes sense.