Hoo the fool
Chieftain
- Joined
- Feb 14, 2018
- Messages
- 18
Hello. I'm a new who is getting started to learn Modding of Civ 6.
I've read the Tutorial from https://forums.civfanatics.com/threads/tutorial-modding-with-sqllite-studio-pc.608352/, and I successfully created a simple mod which fixed the bug that the Warrior Monk cannot benefit from Great General's bonuses.
The reason why the bug is caused is because the unit has neither PrereqCivic nor PrereqTech. I put a SQL UPDATE as below:
UPDATE Units SET Combat=40, Cost=90, AdvisorType='ADVISOR_CONQUEST', PrereqCivic='CIVIC_THEOLOGY' WHERE UnitType='UNIT_WARRIOR_MONK';
Now the Warrior Monk can benefit from Great General, but there is a problem; the Warrior Monk's Unit Icon has been shown on the Civic Tree... It still requires the Follower Belief as it is, however, I want it to be shown only when the Belief is chosen. Is it possible?
I have another question; I changed the AdvisorType from NULL to ADVISOR_CONQUEST since the other land combat units have it, though I don't know what this parameter exactly means. Could you explain about this parameter?
Thanks in advance!
I've read the Tutorial from https://forums.civfanatics.com/threads/tutorial-modding-with-sqllite-studio-pc.608352/, and I successfully created a simple mod which fixed the bug that the Warrior Monk cannot benefit from Great General's bonuses.
The reason why the bug is caused is because the unit has neither PrereqCivic nor PrereqTech. I put a SQL UPDATE as below:
UPDATE Units SET Combat=40, Cost=90, AdvisorType='ADVISOR_CONQUEST', PrereqCivic='CIVIC_THEOLOGY' WHERE UnitType='UNIT_WARRIOR_MONK';
Now the Warrior Monk can benefit from Great General, but there is a problem; the Warrior Monk's Unit Icon has been shown on the Civic Tree... It still requires the Follower Belief as it is, however, I want it to be shown only when the Belief is chosen. Is it possible?
I have another question; I changed the AdvisorType from NULL to ADVISOR_CONQUEST since the other land combat units have it, though I don't know what this parameter exactly means. Could you explain about this parameter?
Thanks in advance!