Sure they're not his mirror images?
can mirror images attack?
Sure they're not his mirror images?
yes ....10chars....can mirror images attack?
if (pSplitGroup != NULL)
{
//if (!generatePath(pSplitGroup->plot(), pBestUnit->plot(), iFlags))
//{
// return false;
//}
CvPlot* pOldPlot = pSplitGroup->plot();
pSplitGroup->pushMission(MISSION_MOVE_TO_UNIT, pBestUnit->getOwnerINLINE(), pBestUnit->getID(), iFlags, false, false, eMissionAI, NULL, pBestUnit);
if (pSplitGroup != NULL)
{
if (pSplitGroup->plot() == pOldPlot)
{
return false;
}
}
return true;
}
if (GC.getPromotionInfo(eIndex).isHiddenNationality())
{
setHiddenNationality(bNewValue);
if (bNewValue)
{
CvSelectionGroup* pUnitSelectionGroup = getGroup();
if (pUnitSelectionGroup != NULL)
{
if (pUnitSelectionGroup->getNumUnits() > 1)
{
joinGroup(NULL);
}
}
}
}
void CvUnit::setHiddenNationality(bool bNewValue)
{
if (bNewValue)
{
joinGroup(NULL, true);
}
m_bHiddenNationality = bNewValue;
}
section. After checking to see if the unit is AV or OO religion, the engine grants a manes unit to the Infernals. But the action is listed twice:def onUnitKilled(self, argsList):
'Unit Killed'
if (unit.getReligion() == gc.getInfoTypeForString('RELIGION_THE_ASHEN_VEIL') or unit.getReligion() == gc.getInfoTypeForString('RELIGION_OCTOPUS_OVERLORDS') or unit.isHasPromotion(gc.getInfoTypeForString('PROMOTION_DEATH1')) or unit.isHasPromotion(gc.getInfoTypeForString('PROMOTION_ENTROPY1'))):
cf.giftUnit(gc.getInfoTypeForString('UNIT_MANES'), gc.getInfoTypeForString('CIVILIZATION_INFERNAL'), 0, unit.plot(), unit.getOwner())
cf.giftUnit(gc.getInfoTypeForString('UNIT_MANES'), gc.getInfoTypeForString('CIVILIZATION_INFERNAL'), 0, unit.plot(), unit.getOwner())
Its intended to give a chance at getting 2.
That would be my inexperience with Python, then. To me it looks like it just performs the same function twice, which would mean it always produces two Manes. I don't understand how listing the same function twice in a row creates a random chance of the second incidence also being processed.
I think I need to go get a book on Python!
Is this WAD to give the Infernals two manes per AV or OO unit killed? Or should the duplicate entry be removed?
Thanks!
Its intended to give a chance at getting 2.
cf.giftUnit(gc.getInfoTypeForString('UNIT_MANES'), gc.getInfoTypeForString('CIVILIZATION_INFERNAL'), 0, unit.plot(), unit.getOwner())