Closed theazuresoul closed 6 years ago
The AI isn't going to be able to use InDuna, is it? Perhaps it should give empire-wide xp like those city state quests instead
Certainly not "on purpose". Only by chance.
It's not like the AI doesn't know to stack units on great generals.
Looking at the Dojo code, it looks like the Iziko code can be implemented in sql:
INSERT INTO Building_YieldFromUnitLevelUp (BuildingType, YieldType, Yield) VALUES ('BUILDING_DOJO', 'YIELD_CULTURE', 4), ('BUILDING_DOJO', 'YIELD_SCIENCE', 4);
It's not that they wont stack, its if they stack while building a citadel. Usually I see them send generals to the front to citadel-bomb tiles during peacetime.
The Iziko change has been made.
I'm guessing the easiest way to do this would be to trigger on creation of citadel improvement If Zulu, on citadel creation, 60XP on citadel plot, 15XP on plot adjacent to citadel
I would suggest a rethink. Something that boosts the unit with which the general is stacked, perhaps.
New InDuna lua proposal; 2 effects:
InDuna - need lua for giving XP to stacked and adjacent units when an InDuna is expended (ie. on citadel construction)
Iziko - need lua for culture when a unit levels up on empire