LoneGazebo / Community-Patch-DLL

Community Patch for Civilization V - Brave New World
Other
286 stars 158 forks source link

Damaged cities should not be allowed to be traded or gifted to vassal #3635

Closed afwbkbc closed 6 years ago

afwbkbc commented 6 years ago

1. Mod version (i.e Date - 4/23): 10/17

2. Mod list (if using Vox Populi only, leave blank):

3. Error description: This exploit allows for player to 'save' city from being captured and get some bonuses from it by gifting it to vassal. After that, city immediately gets 150/300 hp, even if it had 1hp at this moment. Also it possibly improves relation with vassal. Also possibly player may trade it for gold or some other benefits. Player will also probably have less War Wearyness because city won't be his when finally captured. Also more buildings in city will be destroyed, because it will first be traded and then captured. Also player can capture city, then gift it to vassal and his unit will be removed from city, so he won't risk losing this unit if city is recaptured again next turn. So basically he can just capture it infinetely and every time return to vassal / have his unit removed & safe. If other player does not have vassals, he will have to lose 1 unit every time he recaptures this city. Or he will have to abandon the attempt to capture it at all..

4. Steps to reproduce (optional): 1) Be at war with someone 2) Have city lose most of its hp (so it's about to get captured) 3) trade it to other player or gift it to vassal ??? City immediately gains 150/300 hp.

5. Solution: Make only cities with full HP be tradeable. Even better - only cities with full HP and that do not have enemy units nearby. Exception: giving this city to enemy that has units nearby. Alternative solution: Allow them to be traded, but 1) decrease their trade value based on damage (maybe also based on enemy units nearby) 2) do not restore hp 3) do not destroy buildings

LoneGazebo commented 6 years ago

Problem is that