if bSoul:
if unit.getUnitType() == gc.getInfoTypeForString('UNIT_DONAL'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_DONAL'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_TEUTORIX'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_TEUTORIX'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_CORLINDALE'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_CORLINDALE'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_GUYBRUSH'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_GUYBRUSH'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_HERNE'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_HERNE'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_GILDEN'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_GILDEN'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_MAROS'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_MAROS'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_MAGNADINE'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_MAGNADINE'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_GOVANNON'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_GOVANNON'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_LOKI'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_LOKI'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_RANTINE'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_RANTINE'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_ALAZKAN'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_ALAZKAN'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_LOSHA'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_LOSHA'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_GOSEA'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_GOSEA'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_RATHUS'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_RATHUS'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_AURIC'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_AURIC'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
if unit.isHasPromotion(gc.getInfoTypeForString('PROMOTION_ADVENTURER')):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_ADVENTURER'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_DUIN'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_DUIN'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_MARY'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_MARY'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_ROSIER'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_ROSIER'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_VALIN'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_VALIN'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_BAMBUR'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_BAMBUR'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_HEMAH'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_HEMAH'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_MOKKA'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_MOKKA'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_TUMTUM'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_TUMTUM'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_LUCIAN'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_LUCIAN'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_GAELAN'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_GAELAN'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_WILBOMAN'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_WILBOMAN'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_CHALID'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_CHALID'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_GIBBON'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_GIBBON'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_ORTHUS'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_ORTHUS'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_YVAIN'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_YVAIN'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_KITHRA'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_KITHRA'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_ARTHENDAIN'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_ARTHENDAIN'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_SAVEROUS'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_SAVEROUS'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_MARDERO'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_MARDERO'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_HYBOREM'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_HYBOREM'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_LETHE'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_LETHE'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_JUDECCA'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_JUDECCA'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_OUZZA'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_OUZZA'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_MERESIN'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_MERESIN'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_SALLOS'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_SALLOS'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getUnitType() == gc.getInfoTypeForString('UNIT_STATIUS'):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH_STATIUS'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False
elif unit.getLevel() > 12 or unit.isHasPromotion(gc.getInfoTypeForString('PROMOTION_LAROTH_LEGIONNAIRE')) or unit.isHasPromotion(gc.getInfoTypeForString('PROMOTION_VINCULUS_VINDEX')):
newUnit= bPlayer.initUnit(gc.getInfoTypeForString('UNIT_SLUAGH'), 0,0, UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
newUnit.setLevel(unit.getLevel())
newUnit.setExperience(unit.getExperience(), -1)
newUnit.setName(unit.getNameNoDesc())
for iCount in range(gc.getNumPromotionInfos()):
if (unit.isHasPromotion(iCount)) and not gc.getPromotionInfo(iCount).isEquipment():
newUnit.setHasPromotion(iCount, True)
bSoul = False