(LUA) Free GPs and their costs

sukritact

Artist and Modder
Joined
Sep 21, 2010
Messages
2,976
Location
Bangkok
I'm currently spawning Great Artists and variants as part of a UA using Player.InitUnit, however, this method doesn't appear to increase the costs of GPs generated by guilds.

Does the increase in cost have to be handled via a separate function, or is there a function that increases the costs as well as spawning the GP, etc?
 
You're in luck!

It's hardcoded! No hooks to lua!

You need to call incrementGreatMusiciansCreated(); etc but you can't with Lua because it's all contained in CvPlayer::DoSpawnGreatPerson()
 
Back
Top Bottom