for x in range(city.getX()-3, city.getX()+4):
pCurrent = gc.getMap().plot( x, city.getY()-3 )
if (pCurrent.getOwner() == iPlayer or not pCurrent.isOwned()):
if (not pCurrent.isCity()):
if (pCurrent.isRoute() or pCurrent.isWater()):
self.killUnitsByPlague(city, pCurrent, 30, 35, 0)
pCurrent = gc.getMap().plot( x, city.getY()[COLOR="Red"]+4[/COLOR] )
if (pCurrent.getOwner() == iPlayer or not pCurrent.isOwned()):
if (not pCurrent.isCity()):
if (pCurrent.isRoute() or pCurrent.isWater()):
self.killUnitsByPlague(city, pCurrent, 30, 35, 0)
for y in range(city.getY()-2, city.getY()+3):
pCurrent = gc.getMap().plot( city.getX()-3, y )
if (pCurrent.getOwner() == iPlayer or not pCurrent.isOwned()):
if (not pCurrent.isCity()):
if (pCurrent.isRoute() or pCurrent.isWater()):
self.killUnitsByPlague(city, pCurrent, 30, 35, 0)
pCurrent = gc.getMap().plot( city.getX()[COLOR="Red"]+4[/COLOR], y )
if (pCurrent.getOwner() == iPlayer or not pCurrent.isOwned()):
if (not pCurrent.isCity()):
if (pCurrent.isRoute() or pCurrent.isWater()):
self.killUnitsByPlague(city, pCurrent, 30, 35, 0)