Maniac
Apolyton Sage
A minor oversight I'm afraid: 
Lanun Immortals haven't been set back to cost 240 and power value 12.

Lanun Immortals haven't been set back to cost 240 and power value 12.
M@ni@c said:A minor oversight I'm afraid:
Lanun Immortals haven't been set back to cost 240 and power value 12.
M@ni@c said:Their strength yes, but their iPower value is only 8 while all other Immortals are 12. See line 34337.
Khai said:I was using Meshabber last night and triggered the AOE spell that he has. My allies in the war had units in the surrounding area and the damage from the spell induced them to declare war on me. Kind of a downer. Not sure if you want to turn FF off though as it might encourage exploitation.
loki1232 said:Was that a multiplayer game?
for pUnit in py.getUnitList():
if pUnit.isHasPromotion(iEnraged):
if (pUnit.getUnitClassType() != iBerserker and CyGame().getSorenRandNum(100, "Bob") <= 5):
pUnit.setHasPromotion(iEnraged, False)
def cannotAttack(argsList):
pAttacker = argsList[0]
pDefender = argsList[1]
pPlot = pDefender.plot()
pPlayer = gc.getPlayer(pDefender.getOwner())
if (pAttacker.isHasPromotion(gc.getInfoTypeForString('PROMOTION_SUMMONED')) and pPlot.isCity() == True):
pCity = pPlot.getPlotCity()
if pCity.hasBuilding(gc.getInfoTypeForString('BUILDING_RING_OF_WARDING')):
iChance = gc.getDefineINT('RING_OF_WARDING_CHANCE')
if pPlayer.hasTrait(gc.getInfoTypeForString('TRAIT_MAGIC_RESISTANT')):
iChance = iChance * 2
if CyGame().getSorenRandNum(100, "Ring of Warding") <= iChance:
pAttacker.kill(True,0)
CyInterface().addMessage(pAttacker.getOwner(),True,25,'Attacker destroyed by the Ring of Warding.','AS2D_DISCOVERBONUS',1,'Art/Interface/Buttons/Buildings/Ringofwarding.dds',ColorTypes(7),pAttacker.getX(),pAttacker.getY(),True,True)
CyInterface().addMessage(pDefender.getOwner(),True,25,'Ring of Warding destroyed an attacker.','AS2D_DISCOVERBONUS',1,'Art/Interface/Buttons/Buildings/Ringofwarding.dds',ColorTypes(7),pDefender.getX(),pDefender.getY(),True,True)
return True
M@ni@c said:Is it intended Ring of Warding won't stop units with the Summoned2 or Summoned3 promotions?
Code:def cannotAttack(argsList): pAttacker = argsList[0] pDefender = argsList[1] pPlot = pDefender.plot() pPlayer = gc.getPlayer(pDefender.getOwner()) if (pAttacker.isHasPromotion(gc.getInfoTypeForString('PROMOTION_SUMMONED')) and pPlot.isCity() == True): pCity = pPlot.getPlotCity() if pCity.hasBuilding(gc.getInfoTypeForString('BUILDING_RING_OF_WARDING')): iChance = gc.getDefineINT('RING_OF_WARDING_CHANCE') if pPlayer.hasTrait(gc.getInfoTypeForString('TRAIT_MAGIC_RESISTANT')): iChance = iChance * 2 if CyGame().getSorenRandNum(100, "Ring of Warding") <= iChance: pAttacker.kill(True,0) CyInterface().addMessage(pAttacker.getOwner(),True,25,'Attacker destroyed by the Ring of Warding.','AS2D_DISCOVERBONUS',1,'Art/Interface/Buttons/Buildings/Ringofwarding.dds',ColorTypes(7),pAttacker.getX(),pAttacker.getY(),True,True) CyInterface().addMessage(pDefender.getOwner(),True,25,'Ring of Warding destroyed an attacker.','AS2D_DISCOVERBONUS',1,'Art/Interface/Buttons/Buildings/Ringofwarding.dds',ColorTypes(7),pDefender.getX(),pDefender.getY(),True,True) return True
xanaqui42 said:UNIT_WORG_RIDER can now only upgrade to UNITCLASS_HORSE_ARCHER.
The problem is that the two civilizations that can build the UNIT_WORG_RIDER have "NONE" as the replacement for the UNITCLASS_HORSE_ARCHER; in other words, this unit cannot be upgraded.
I think that the intention was to have this unit only upgrade to UNITCLASS_CHARIOT (which is the other standard unitclass), which both of these civilizations have as UNIT_GOBLIN_CHARIOT.