Skip to content

Commit

Permalink
[MOD] Tabor set up defence bonus
Browse files Browse the repository at this point in the history
  • Loading branch information
mbanasik committed Oct 1, 2021
1 parent 5412b4d commit 3fdc580
Show file tree
Hide file tree
Showing 4 changed files with 306 additions and 6 deletions.
Binary file modified loveMod/CvGameCore_Expansion2.dll
Binary file not shown.
Binary file modified loveMod/CvGameCore_Expansion2.pdb
Binary file not shown.
294 changes: 291 additions & 3 deletions loveMod/Override/CIV5Units.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133624,6 +133624,14 @@ lithuania changes -->
<Name>PROMOTION_CARABINIERI_ACTIVE</Name>
<Value>296</Value>
</Row>
<Row>
<Name>PROMOTION_SETUP_DEFENCE</Name>
<Value>307</Value>
</Row>
<Row>
<Name>PROMOTION_SETUP_DEFENCE_ACTIVE</Name>
<Value>308</Value>
</Row>
<Row>
<Name>PROMOTION_DEFENSIVE_EMBARKATION</Name>
<Value>94</Value>
Expand Down Expand Up @@ -230930,6 +230938,16 @@ lithuania changes -->
<Key>PROMOTION_CARABINIERI_ACTIVE</Key>
<Table>UnitPromotions</Table>
</Row>
<Row>
<Name>PROMOTION_SETUP_DEFENCE</Name>
<Key>PROMOTION_SETUP_DEFENCE</Key>
<Table>UnitPromotions</Table>
</Row>
<Row>
<Name>PROMOTION_SETUP_DEFENCE_ACTIVE</Name>
<Key>PROMOTION_SETUP_DEFENCE_ACTIVE</Key>
<Table>UnitPromotions</Table>
</Row>
<Row>
<Name>PROMOTION_DEFENSIVE_EMBARKATION</Name>
<Key>PROMOTION_DEFENSIVE_EMBARKATION</Key>
Expand Down Expand Up @@ -294850,7 +294868,7 @@ lithuania changes -->
<EmbarkedUnitReceivesMovement>false</EmbarkedUnitReceivesMovement>
<HeavyChargeDownhill>0</HeavyChargeDownhill>
</Row>
<Row>
<Row>
<Type>PROMOTION_ANTI_TANK_BAZOOKA</Type>
<Description>TXT_KEY_PROMOTION_ANTI_TANK_WEAK</Description>
<Help>TXT_KEY_PROMOTION_ANTI_TANK_WEAK_HELP</Help>
Expand Down Expand Up @@ -295246,7 +295264,273 @@ lithuania changes -->
<EmbarkedUnitReceivesMovement>false</EmbarkedUnitReceivesMovement>
<HeavyChargeDownhill>0</HeavyChargeDownhill>
</Row>
<Row>
<Row>
<ID>307</ID>
<Type>PROMOTION_SETUP_DEFENCE</Type>
<Description>TXT_KEY_PROMOTION_SETUP_DEFENCE</Description>
<Help>TXT_KEY_PROMOTION_SETUP_DEFENCE_HELP</Help>
<PortraitIndex>10</PortraitIndex>
<IconAtlas>EXPANSION2_PROMOTION_ATLAS</IconAtlas>
<HotKeyPriority>0</HotKeyPriority>
<HotKeyPriorityAlt>0</HotKeyPriorityAlt>
<OrderPriority>0</OrderPriority>
<AltDown>false</AltDown>
<AltDownAlt>false</AltDownAlt>
<ShiftDown>false</ShiftDown>
<ShiftDownAlt>false</ShiftDownAlt>
<CtrlDown>false</CtrlDown>
<CtrlDownAlt>false</CtrlDownAlt>
<Sound>AS2D_IF_LEVELUP</Sound>
<CannotBeChosen>true</CannotBeChosen>
<LostWithUpgrade>true</LostWithUpgrade>
<NotWithUpgrade>false</NotWithUpgrade>
<InstaHeal>false</InstaHeal>
<Leader>false</Leader>
<Blitz>false</Blitz>
<Amphib>false</Amphib>
<River>false</River>
<EnemyRoute>false</EnemyRoute>
<RivalTerritory>false</RivalTerritory>
<MustSetUpToRangedAttack>false</MustSetUpToRangedAttack>
<RangedSupportFire>false</RangedSupportFire>
<CanMoveAfterAttacking>false</CanMoveAfterAttacking>
<AlwaysHeal>false</AlwaysHeal>
<HealOutsideFriendly>false</HealOutsideFriendly>
<HillsDoubleMove>false</HillsDoubleMove>
<RoughTerrainEndsTurn>false</RoughTerrainEndsTurn>
<IgnoreTerrainCost>false</IgnoreTerrainCost>
<HoveringUnit>false</HoveringUnit>
<FlatMovementCost>false</FlatMovementCost>
<CanMoveImpassable>false</CanMoveImpassable>
<NoCapture>false</NoCapture>
<OnlyDefensive>false</OnlyDefensive>
<NoDefensiveBonus>false</NoDefensiveBonus>
<NukeImmune>false</NukeImmune>
<HiddenNationality>false</HiddenNationality>
<AlwaysHostile>false</AlwaysHostile>
<NoRevealMap>false</NoRevealMap>
<Recon>false</Recon>
<CanMoveAllTerrain>false</CanMoveAllTerrain>
<FreePillageMoves>false</FreePillageMoves>
<AirSweepCapable>false</AirSweepCapable>
<AllowsEmbarkation>false</AllowsEmbarkation>
<EmbarkedAllWater>false</EmbarkedAllWater>
<HealIfDestroyExcludesBarbarians>false</HealIfDestroyExcludesBarbarians>
<RangeAttackIgnoreLOS>false</RangeAttackIgnoreLOS>
<CityAttackOnly>false</CityAttackOnly>
<CaptureDefeatedEnemy>false</CaptureDefeatedEnemy>
<HealOnPillage>false</HealOnPillage>
<IgnoreGreatGeneralBenefit>false</IgnoreGreatGeneralBenefit>
<IgnoreZOC>false</IgnoreZOC>
<HasPostCombatPromotions>false</HasPostCombatPromotions>
<PostCombatPromotionsExclusive>false</PostCombatPromotionsExclusive>
<RangedAttackModifier>0</RangedAttackModifier>
<InterceptionCombatModifier>0</InterceptionCombatModifier>
<InterceptionDefenseDamageModifier>0</InterceptionDefenseDamageModifier>
<AirSweepCombatModifier>0</AirSweepCombatModifier>
<ExtraAttacks>0</ExtraAttacks>
<ExtraNavalMovement>0</ExtraNavalMovement>
<VisibilityChange>0</VisibilityChange>
<MovesChange>0</MovesChange>
<MoveDiscountChange>0</MoveDiscountChange>
<RangeChange>0</RangeChange>
<InterceptChanceChange>0</InterceptChanceChange>
<NumInterceptionChange>0</NumInterceptionChange>
<EvasionChange>0</EvasionChange>
<CargoChange>0</CargoChange>
<EnemyHealChange>0</EnemyHealChange>
<NeutralHealChange>0</NeutralHealChange>
<FriendlyHealChange>0</FriendlyHealChange>
<SameTileHealChange>0</SameTileHealChange>
<AdjacentTileHealChange>0</AdjacentTileHealChange>
<EnemyDamageChance>0</EnemyDamageChance>
<NeutralDamageChance>0</NeutralDamageChance>
<EnemyDamage>0</EnemyDamage>
<NeutralDamage>0</NeutralDamage>
<CombatPercent>0</CombatPercent>
<CityAttack>0</CityAttack>
<CityDefense>0</CityDefense>
<RangedDefenseMod>0</RangedDefenseMod>
<HillsAttack>0</HillsAttack>
<HillsDefense>0</HillsDefense>
<OpenAttack>0</OpenAttack>
<OpenRangedAttackMod>0</OpenRangedAttackMod>
<OpenDefense>0</OpenDefense>
<RoughAttack>0</RoughAttack>
<RoughRangedAttackMod>0</RoughRangedAttackMod>
<RoughDefense>0</RoughDefense>
<AttackFortifiedMod>0</AttackFortifiedMod>
<AttackWoundedMod>0</AttackWoundedMod>
<FlankAttackModifier>0</FlankAttackModifier>
<NearbyEnemyCombatMod>0</NearbyEnemyCombatMod>
<NearbyEnemyCombatRange>0</NearbyEnemyCombatRange>
<UpgradeDiscount>0</UpgradeDiscount>
<ExperiencePercent>0</ExperiencePercent>
<AdjacentMod>0</AdjacentMod>
<AttackMod>0</AttackMod>
<DefenseMod>0</DefenseMod>
<DropRange>0</DropRange>
<GreatGeneral>false</GreatGeneral>
<GreatAdmiral>false</GreatAdmiral>
<GreatGeneralModifier>0</GreatGeneralModifier>
<GreatGeneralReceivesMovement>false</GreatGeneralReceivesMovement>
<GreatGeneralCombatModifier>0</GreatGeneralCombatModifier>
<FriendlyLandsModifier>0</FriendlyLandsModifier>
<FriendlyLandsAttackModifier>0</FriendlyLandsAttackModifier>
<OutsideFriendlyLandsModifier>0</OutsideFriendlyLandsModifier>
<HPHealedIfDestroyEnemy>0</HPHealedIfDestroyEnemy>
<ExtraWithdrawal>0</ExtraWithdrawal>
<EmbarkExtraVisibility>0</EmbarkExtraVisibility>
<EmbarkDefenseModifier>0</EmbarkDefenseModifier>
<CapitalDefenseModifier>0</CapitalDefenseModifier>
<CapitalDefenseFalloff>0</CapitalDefenseFalloff>
<CityAttackPlunderModifier>0</CityAttackPlunderModifier>
<ReligiousStrengthLossRivalTerritory>0</ReligiousStrengthLossRivalTerritory>
<TradeMissionInfluenceModifier>0</TradeMissionInfluenceModifier>
<TradeMissionGoldModifier>0</TradeMissionGoldModifier>
<GoldenAgeValueFromKills>0</GoldenAgeValueFromKills>
<Sapper>false</Sapper>
<HeavyCharge>false</HeavyCharge>
<PediaType>PEDIA_ATTRIBUTES</PediaType>
<PediaEntry>TXT_KEY_PROMOTION_SETUP_DEFENCE</PediaEntry>
<GreatGeneralOnOrAdjacentConfersMovement>0</GreatGeneralOnOrAdjacentConfersMovement>
<EmbarkedUnitReceivesMovement>false</EmbarkedUnitReceivesMovement>
<HeavyChargeDownhill>0</HeavyChargeDownhill>
</Row>
<Row>
<ID>308</ID>
<Type>PROMOTION_SETUP_DEFENCE_ACTIVE</Type>
<Description>TXT_KEY_PROMOTION_SETUP_DEFENCE_ACTIVE</Description>
<Help>TXT_KEY_PROMOTION_SETUP_DEFENCE_ACTIVE_HELP</Help>
<PortraitIndex>10</PortraitIndex>
<IconAtlas>EXPANSION2_PROMOTION_ATLAS</IconAtlas>
<HotKeyPriority>0</HotKeyPriority>
<HotKeyPriorityAlt>0</HotKeyPriorityAlt>
<OrderPriority>0</OrderPriority>
<AltDown>false</AltDown>
<AltDownAlt>false</AltDownAlt>
<ShiftDown>false</ShiftDown>
<ShiftDownAlt>false</ShiftDownAlt>
<CtrlDown>false</CtrlDown>
<CtrlDownAlt>false</CtrlDownAlt>
<Sound>AS2D_IF_LEVELUP</Sound>
<CannotBeChosen>true</CannotBeChosen>
<LostWithUpgrade>true</LostWithUpgrade>
<NotWithUpgrade>false</NotWithUpgrade>
<InstaHeal>false</InstaHeal>
<Leader>false</Leader>
<Blitz>false</Blitz>
<Amphib>false</Amphib>
<River>false</River>
<EnemyRoute>false</EnemyRoute>
<RivalTerritory>false</RivalTerritory>
<MustSetUpToRangedAttack>false</MustSetUpToRangedAttack>
<RangedSupportFire>false</RangedSupportFire>
<CanMoveAfterAttacking>false</CanMoveAfterAttacking>
<AlwaysHeal>false</AlwaysHeal>
<HealOutsideFriendly>false</HealOutsideFriendly>
<HillsDoubleMove>false</HillsDoubleMove>
<RoughTerrainEndsTurn>false</RoughTerrainEndsTurn>
<IgnoreTerrainCost>false</IgnoreTerrainCost>
<HoveringUnit>false</HoveringUnit>
<FlatMovementCost>false</FlatMovementCost>
<CanMoveImpassable>false</CanMoveImpassable>
<NoCapture>false</NoCapture>
<OnlyDefensive>false</OnlyDefensive>
<NoDefensiveBonus>false</NoDefensiveBonus>
<NukeImmune>false</NukeImmune>
<HiddenNationality>false</HiddenNationality>
<AlwaysHostile>false</AlwaysHostile>
<NoRevealMap>false</NoRevealMap>
<Recon>false</Recon>
<CanMoveAllTerrain>false</CanMoveAllTerrain>
<FreePillageMoves>false</FreePillageMoves>
<AirSweepCapable>false</AirSweepCapable>
<AllowsEmbarkation>false</AllowsEmbarkation>
<EmbarkedAllWater>false</EmbarkedAllWater>
<HealIfDestroyExcludesBarbarians>false</HealIfDestroyExcludesBarbarians>
<RangeAttackIgnoreLOS>false</RangeAttackIgnoreLOS>
<CityAttackOnly>false</CityAttackOnly>
<CaptureDefeatedEnemy>false</CaptureDefeatedEnemy>
<HealOnPillage>false</HealOnPillage>
<IgnoreGreatGeneralBenefit>false</IgnoreGreatGeneralBenefit>
<IgnoreZOC>false</IgnoreZOC>
<HasPostCombatPromotions>false</HasPostCombatPromotions>
<PostCombatPromotionsExclusive>false</PostCombatPromotionsExclusive>
<RangedAttackModifier>0</RangedAttackModifier>
<InterceptionCombatModifier>0</InterceptionCombatModifier>
<InterceptionDefenseDamageModifier>0</InterceptionDefenseDamageModifier>
<AirSweepCombatModifier>0</AirSweepCombatModifier>
<ExtraAttacks>0</ExtraAttacks>
<ExtraNavalMovement>0</ExtraNavalMovement>
<VisibilityChange>0</VisibilityChange>
<MovesChange>0</MovesChange>
<MoveDiscountChange>0</MoveDiscountChange>
<RangeChange>0</RangeChange>
<InterceptChanceChange>0</InterceptChanceChange>
<NumInterceptionChange>0</NumInterceptionChange>
<EvasionChange>0</EvasionChange>
<CargoChange>0</CargoChange>
<EnemyHealChange>0</EnemyHealChange>
<NeutralHealChange>0</NeutralHealChange>
<FriendlyHealChange>0</FriendlyHealChange>
<SameTileHealChange>0</SameTileHealChange>
<AdjacentTileHealChange>0</AdjacentTileHealChange>
<EnemyDamageChance>0</EnemyDamageChance>
<NeutralDamageChance>0</NeutralDamageChance>
<EnemyDamage>0</EnemyDamage>
<NeutralDamage>0</NeutralDamage>
<CombatPercent>0</CombatPercent>
<CityAttack>0</CityAttack>
<CityDefense>0</CityDefense>
<RangedDefenseMod>0</RangedDefenseMod>
<HillsAttack>0</HillsAttack>
<HillsDefense>0</HillsDefense>
<OpenAttack>0</OpenAttack>
<OpenRangedAttackMod>0</OpenRangedAttackMod>
<OpenDefense>0</OpenDefense>
<RoughAttack>0</RoughAttack>
<RoughRangedAttackMod>0</RoughRangedAttackMod>
<RoughDefense>0</RoughDefense>
<AttackFortifiedMod>0</AttackFortifiedMod>
<AttackWoundedMod>0</AttackWoundedMod>
<FlankAttackModifier>0</FlankAttackModifier>
<NearbyEnemyCombatMod>0</NearbyEnemyCombatMod>
<NearbyEnemyCombatRange>0</NearbyEnemyCombatRange>
<UpgradeDiscount>0</UpgradeDiscount>
<ExperiencePercent>0</ExperiencePercent>
<AdjacentMod>0</AdjacentMod>
<AttackMod>0</AttackMod>
<DefenseMod>15</DefenseMod>
<DropRange>0</DropRange>
<GreatGeneral>false</GreatGeneral>
<GreatAdmiral>false</GreatAdmiral>
<GreatGeneralModifier>0</GreatGeneralModifier>
<GreatGeneralReceivesMovement>false</GreatGeneralReceivesMovement>
<GreatGeneralCombatModifier>0</GreatGeneralCombatModifier>
<FriendlyLandsModifier>0</FriendlyLandsModifier>
<FriendlyLandsAttackModifier>0</FriendlyLandsAttackModifier>
<OutsideFriendlyLandsModifier>0</OutsideFriendlyLandsModifier>
<HPHealedIfDestroyEnemy>0</HPHealedIfDestroyEnemy>
<ExtraWithdrawal>0</ExtraWithdrawal>
<EmbarkExtraVisibility>0</EmbarkExtraVisibility>
<EmbarkDefenseModifier>0</EmbarkDefenseModifier>
<CapitalDefenseModifier>0</CapitalDefenseModifier>
<CapitalDefenseFalloff>0</CapitalDefenseFalloff>
<CityAttackPlunderModifier>0</CityAttackPlunderModifier>
<ReligiousStrengthLossRivalTerritory>0</ReligiousStrengthLossRivalTerritory>
<TradeMissionInfluenceModifier>0</TradeMissionInfluenceModifier>
<TradeMissionGoldModifier>0</TradeMissionGoldModifier>
<GoldenAgeValueFromKills>0</GoldenAgeValueFromKills>
<Sapper>false</Sapper>
<HeavyCharge>false</HeavyCharge>
<PediaType>PEDIA_ATTRIBUTES</PediaType>
<PediaEntry>TXT_KEY_PROMOTION_SETUP_DEFENCE_ACTIVE</PediaEntry>
<GreatGeneralOnOrAdjacentConfersMovement>0</GreatGeneralOnOrAdjacentConfersMovement>
<EmbarkedUnitReceivesMovement>false</EmbarkedUnitReceivesMovement>
<HeavyChargeDownhill>0</HeavyChargeDownhill>
</Row>
<Row>
<Type>PROMOTION_MACHINEGUN_VS_LAND</Type>
<Description>TXT_KEY_PROMOTION_ARMOR_VS_LAND</Description>
<Help>TXT_KEY_PROMOTION_ARMOR_VS_LAND_HELP</Help>
Expand Down Expand Up @@ -300451,7 +300735,7 @@ lithuania changes -->
</Row>
<Row>
<UnitType>UNIT_MC_OMANI_BAGHLAH</UnitType>
<UnitClassType>UNITCLASS_FRIGATE</UnitClassType>
<UnitClassType>UNITCLASS_GALLEASS</UnitClassType>
</Row>
<Row>
<UnitType>UNIT_ENGLISH_SHIPOFTHELINE</UnitType>
Expand Down Expand Up @@ -303381,6 +303665,10 @@ lithuania changes -->
</Table>
<Unit_FreePromotions>
<Delete />
<Row>
<UnitType>UNIT_TABOR</UnitType>
<PromotionType>PROMOTION_SETUP_DEFENCE</PromotionType>
</Row>
<Row>
<UnitType>UNIT_TABOR</UnitType>
<PromotionType>PROMOTION_ONLY_DEFENSIVE</PromotionType>
Expand Down
18 changes: 15 additions & 3 deletions loveMod/Override/CIV5Units_Mongol.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,18 @@
<Row Tag="TXT_KEY_PROMOTION_TABOR_HELP">
<Text>Cannot Enter Marches</Text>
</Row>
<Row Tag="TXT_KEY_PROMOTION_SETUP_DEFENCE">
<Text>Set Up Defence Bonus</Text>
</Row>
<Row Tag="TXT_KEY_PROMOTION_SETUP_DEFENCE_HELP">
<Text>Stronger if stared turn set up (inactive)</Text>
</Row>
<Row Tag="TXT_KEY_PROMOTION_SETUP_DEFENCE_ACTIVE">
<Text>Set Up Defence Bonus</Text>
</Row>
<Row Tag="TXT_KEY_PROMOTION_SETUP_DEFENCE_ACTIVE_HELP">
<Text>+15% [ICON_STRENGTH] Defence Strength</Text>
</Row>

<!-- Moor -->
<Row Tag="TXT_KEY_CIV5_DAWN_MOOR_TEXT">
Expand Down Expand Up @@ -10523,7 +10535,7 @@ strongest around the Gulf of Bothnia, where land steadily rises about 1 cm a yea
</Replace>
<Replace Tag="TXT_KEY_AD_SETUP_ADVANCED_OPTIONS">
<Text>
[COLOR_POSITIVE_TEXT]LoveMod v5.0[ENDCOLOR]
[COLOR_POSITIVE_TEXT]LoveMod v6.0[ENDCOLOR]
</Text>
</Replace>
<Replace Tag="TXT_KEY_AD_SETUP_CITY_STATES">
Expand Down Expand Up @@ -65197,7 +65209,7 @@ The second sack of Ulundi is considered by historians to be the definitive end o
</Replace>
<Replace Tag="TXT_KEY_GAME_SELECTION_SCREEN">
<Text>
[COLOR_POSITIVE_TEXT]LoveMod v5.0[ENDCOLOR]
[COLOR_POSITIVE_TEXT]LoveMod v6.0[ENDCOLOR]
</Text>
</Replace>
<Replace Tag="TXT_KEY_GAME_SETUP_RANDOMIZE">
Expand Down Expand Up @@ -99869,7 +99881,7 @@ The ship has weather'd every rack; the prize we sought is won."
</Replace>
<Replace Tag="TXT_KEY_MULTIPLAYER_STAGING_ROOM">
<Text>
[COLOR_POSITIVE_TEXT]LoveMod v5.0[ENDCOLOR]
[COLOR_POSITIVE_TEXT]LoveMod v6.0[ENDCOLOR]
</Text>
</Replace>
<Replace Tag="TXT_KEY_MULTIPLAYER_STAGING_ROOM_GAME_OPTIONS_TT">
Expand Down

0 comments on commit 3fdc580

Please sign in to comment.