Creating UA Combat Modifier when an enemy meets a condition

ThisIsHughYoung

Chieftain
Joined
May 1, 2014
Messages
51
Location
NYC
Hi all,

I'm learning the Civ V modding system and am sort of getting the grasp of how to make my way through what's left of the documentation, as well as detective work in the C++ source code. One thing I'm wondering is if I can create a combat bonus only towards civs which exhibit certain attributes.

In other words, would it be possible for me in Lua to create a Combat Bonus against unhappy civs?

(Actually, no. I was going to attempt a +200% bonus against civs facing anarchy, just as a joke.)

I figured this would definitely be possible to implement as a quick-and-dirty addition in the DLL, but I wondered if there's a way that didn't involve changing the game core. If you have any ideas on where I could start searching, that would be greatly appreciated! If it's completely impossible, at least this has been a really fun learning experience.
 
Back
Top Bottom