orlanth
Storm God. Yarr!
- Joined
- Nov 17, 2001
- Messages
- 1,805
Here's my attempt at modding the proposed Hunting Ground effect for Vampires using a FF XML promotion that should avoid any need for creating additional temporary Buildings/spells, etc.
Vampire Feeding effect
When inside a city, units with the Vampire promotion automatically acquire the Feeding promotion. While Feeding, the unit gains 1 XP per turn and exerts -1, -1, -1 Influence in the city. If attacked while Feeding, the unit cannot use First Strikes. Note: this can also used to feed in enemy or rival territory, where it will still cause unhappiness and health/Influence drain. Feeding automatically ends after leaving the city.
Vampire Feeding effect
When inside a city, units with the Vampire promotion automatically acquire the Feeding promotion. While Feeding, the unit gains 1 XP per turn and exerts -1, -1, -1 Influence in the city. If attacked while Feeding, the unit cannot use First Strikes. Note: this can also used to feed in enemy or rival territory, where it will still cause unhappiness and health/Influence drain. Feeding automatically ends after leaving the city.
Spoiler :
<PromotionInfo> <!-- Feeding -->
<Type>PROMOTION_FEEDING</Type>
<bNoXP>1</bNoXP>
<bRequireCity>1</bRequireCity>
<bAutoAcquire>1</bAutoAcquire>
<bMustMaintain>1</bMustMaintain>
<PromotionPrereq>PROMOTION_VAMPIRE</PromotionPrereq>
<CityBonuses>
<bApplySelf>1</bApplySelf>
<bApplyRival>1</bApplyRival>
<bApplyTeam>1</bApplyTeam>
<iBonusRange>1</iBonusRange>
<fHappy>-1</fHappy>
<fHealth>-1</fHealth>
<fCulture>-1</fCulture>
<fDecayrate>1</fDecayrate>
</CityBonuses>
<bRemovedByCombat>1</bRemovedByCombat>
<bFirstStrikeVulnerable>1</bFirstStrikeVulnerable>
<iFirstStrikesChange>-1</iFirstStrikesChange>
<iChanceFirstStrikesChange>-1</iChanceFirstStrikesChange>
<iFreeXPperTurn>1</iFreeXPperTurn>
</PromotionInfo>
<Type>PROMOTION_FEEDING</Type>
<bNoXP>1</bNoXP>
<bRequireCity>1</bRequireCity>
<bAutoAcquire>1</bAutoAcquire>
<bMustMaintain>1</bMustMaintain>
<PromotionPrereq>PROMOTION_VAMPIRE</PromotionPrereq>
<CityBonuses>
<bApplySelf>1</bApplySelf>
<bApplyRival>1</bApplyRival>
<bApplyTeam>1</bApplyTeam>
<iBonusRange>1</iBonusRange>
<fHappy>-1</fHappy>
<fHealth>-1</fHealth>
<fCulture>-1</fCulture>
<fDecayrate>1</fDecayrate>
</CityBonuses>
<bRemovedByCombat>1</bRemovedByCombat>
<bFirstStrikeVulnerable>1</bFirstStrikeVulnerable>
<iFirstStrikesChange>-1</iFirstStrikesChange>
<iChanceFirstStrikesChange>-1</iChanceFirstStrikesChange>
<iFreeXPperTurn>1</iFreeXPperTurn>
</PromotionInfo>