ClassicThunder
Prince
- Joined
- Sep 15, 2006
- Messages
- 511
I'm tring to get is to when you bombard an enemy city you hurt the defenders. I've found the CvUnit::bombard() function where the city is bombarded and the changeDefenseDamage() function that lowers the city's defence. In CvUnit::bombard() I was wondering how get all the units in the city and reduce thier health.
Thanks for any help,
ClassicThunder
Thanks for any help,
ClassicThunder