Tower of Necromancy

Zechnophobe

Strategy Lich
Joined
Sep 1, 2006
Messages
1,867
Location
Goleta, California
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.
 
Don't forget it gives it to all undead, including Pyre Zombies, Diseased Corpses, Spectres, Wraiths, and Liches. Quite useful if you're Sheaim, AV, or use Death magic.
 
Hmm...cool. I like that. Very useful to the Calabim, who I love to play.
 
Back
Top Bottom