Kael
Deity
The source code in the first post is updated to patch "c".
else
{
PlayerTypes eAttacker = getVisualOwner(pDefender->getTeam());
CvWString szMessage;
if (BARBARIAN_PLAYER != eAttacker)
{
szMessage = gDLL->getText("TXT_KEY_MISC_YOU_UNITS_UNDER_ATTACK", GET_PLAYER(getOwnerINLINE()).getNameKey());
}
else
{
szMessage = gDLL->getText("TXT_KEY_MISC_YOU_UNITS_UNDER_ATTACK_UNKNOWN");
}
gDLL->getInterfaceIFace()->addMessage(pDefender->getOwnerINLINE(), true, GC.getEVENT_MESSAGE_TIME(), szMessage, "AS2D_COMBAT", MESSAGE_TYPE_DISPLAY_ONLY, getButton(), (ColorTypes)GC.getInfoTypeForString("COLOR_RED"), pPlot->getX_INLINE(), pPlot->getY_INLINE(), true);
}
else
{
PlayerTypes eAttacker = getVisualOwner(pDefender->getTeam());
CvWString szMessage;
if (BARBARIAN_PLAYER != eAttacker)
{
szMessage = gDLL->getText("TXT_KEY_MISC_YOU_UNITS_UNDER_ATTACK", GET_PLAYER(getOwnerINLINE()).getNameKey());
}
else
{
szMessage = gDLL->getText("TXT_KEY_MISC_YOU_UNITS_UNDER_ATTACK_UNKNOWN");
}
gDLL->getInterfaceIFace()->addMessage(pDefender->getOwnerINLINE(), true, GC.getEVENT_MESSAGE_TIME(), szMessage, "AS2D_COMBAT", MESSAGE_TYPE_DISPLAY_ONLY, getButton(), (ColorTypes)GC.getInfoTypeForString("COLOR_RED"), pPlot->getX_INLINE(), pPlot->getY_INLINE(), true);
}
<SpellInfo>
<Type>SPELL_TACTICS1</Type>
<Description>TXT_KEY_SPELL_TACTICS1</Description>
<Civilopedia>TXT_KEY_SPELL_PLACEHOLDER_PEDIA</Civilopedia>
<Strategy></Strategy>
<Help></Help>
<PromotionPrereq1></PromotionPrereq1>
<PromotionPrereq2></PromotionPrereq2>
<UnitPrereq></UnitPrereq>
<UnitClassPrereq></UnitClassPrereq>
<UnitCombatPrereq></UnitCombatPrereq>
<UnitInStackPrereq></UnitInStackPrereq>
<BuildingPrereq>BUILDING_TRAINING_CENTER</BuildingPrereq>
<BuildingClassOwnedPrereq></BuildingClassOwnedPrereq>
<CivilizationPrereq></CivilizationPrereq>
<CorporationPrereq></CorporationPrereq>
<FeatureOrPrereq1></FeatureOrPrereq1>
<FeatureOrPrereq2></FeatureOrPrereq2>
<ImprovementPrereq></ImprovementPrereq>
<PromotionInStackPrereq></PromotionInStackPrereq>
<ReligionPrereq></ReligionPrereq>
<StateReligionPrereq></StateReligionPrereq>
<TechPrereq></TechPrereq>
<bAllowAI>1</bAllowAI>
<bAdjacentToWaterOnly>0</bAdjacentToWaterOnly>
<bCasterMustBeAlive>0</bCasterMustBeAlive>
<bCasterNoDuration>0</bCasterNoDuration>
<bCausesWar>0</bCausesWar>
<bGlobal>0</bGlobal>
<bInBordersOnly>1</bInBordersOnly>
<bInCityOnly>1</bInCityOnly>
<bPrereqSlaveTrade>0</bPrereqSlaveTrade>
<iAIWeight>15</iAIWeight>
<iCasterMinLevel>0</iCasterMinLevel>
<bDisplayWhenDisabled>0</bDisplayWhenDisabled>
<bHasCasted>1</bHasCasted>
<bIgnoreHasCasted>0</bIgnoreHasCasted>
<bResistable>0</bResistable>
<iRange>0</iRange>
<iResistModify>0</iResistModify>
<iDamage>0</iDamage>
<iDamageLimit>0</iDamageLimit>
<DamageType></DamageType>
<AddPromotionType1>PROMOTION_TACTICS1</AddPromotionType1>
<AddPromotionType2></AddPromotionType2>
<AddPromotionType3></AddPromotionType3>
<RemovePromotionType1></RemovePromotionType1>
<RemovePromotionType2></RemovePromotionType2>
<RemovePromotionType3></RemovePromotionType3>
<bBuffCasterOnly>1</bBuffCasterOnly>
<ConvertUnitType></ConvertUnitType>
<CreateBuildingType></CreateBuildingType>
<CreateFeatureType></CreateFeatureType>
<CreateImprovementType></CreateImprovementType>
<SpreadReligion></SpreadReligion>
<CreateUnitType></CreateUnitType>
<iCreateUnitNum>0</iCreateUnitNum>
<bCopyCastersPromotions>0</bCopyCastersPromotions>
<bPermanentUnitCreate>0</bPermanentUnitCreate>
<CreateUnitPromotion></CreateUnitPromotion>
<bImmuneTeam>0</bImmuneTeam>
<bImmuneNeutral>0</bImmuneNeutral>
<bImmuneEnemy>0</bImmuneEnemy>
<bImmuneFlying>0</bImmuneFlying>
<bImmuneNotAlive>0</bImmuneNotAlive>
<bDispel>0</bDispel>
<bPush>0</bPush>
<bRemoveHasCasted>0</bRemoveHasCasted>
<bSacrificeCaster>0</bSacrificeCaster>
<iChangePopulation>0</iChangePopulation>
<iCost>0</iCost>
<iDelay>10</iDelay>
<iImmobileTurns>0</iImmobileTurns>
<iMiscastChance>0</iMiscastChance>
<PyMiscast></PyMiscast>
<PyResult></PyResult>
<PyRequirement></PyRequirement>
<Effect>NONE</Effect>
<Sound>AS3D_SPELL_COMMANDER_JOIN</Sound>
<HotKey></HotKey>
<bAltDown>0</bAltDown>
<bShiftDown>0</bShiftDown>
<bCtrlDown>0</bCtrlDown>
<bGraphicalOnly>0</bGraphicalOnly>
<iHotKeyPriority>0</iHotKeyPriority>
<Button>,Art/Interface/Buttons/Promotions/Combat5.dds,Art/Interface/Buttons/Warlords_Atlas_1.dds,6,16</Button>
</SpellInfo>
Not seeing where the issue is either. Mildly odd. Is the rest of the XML data correct for the spell, and that of the neighboring entries in the Pedia/XML?
While reviewing the XML for that, it dawned on me that <bPrereqSlaveTrade> would have been better used as a <PrereqResolution> tag, where you enter the TXT_KEY Type of the resolution you want as a prereq. Then you could readily create more resolutions which enable spells for the council members (like something for anti-Demon/Undead to the Overcouncil)
Just wondering if the source for patch F would be posted or not. Reasonably certain that at least 2 of those fixes required DLL work.