how to modify Great General Bonus

tac_NCVD

Chieftain
Joined
Feb 29, 2020
Messages
18
Is it possible to modify the Great General Bonus? the xml tag i found is Boolean but not Integers.
Code:
        <Row>
            <Type>PROMOTION_GREAT_GENERAL</Type>
            <Description>TXT_KEY_PROMOTION_GREAT_GENERAL</Description>
            <Help>TXT_KEY_PROMOTION_GREAT_GENERAL_HELP</Help>
            <Sound>AS2D_IF_LEVELUP</Sound>
            <GreatGeneral>true</GreatGeneral>
            <PortraitIndex>59</PortraitIndex>
            <IconAtlas>ABILITY_ATLAS</IconAtlas>
            <PediaType>PEDIA_ATTRIBUTES</PediaType>
            <PediaEntry>TXT_KEY_PEDIA_PROMOTION_GREAT_GENERAL</PediaEntry>
        </Row>
 
The actual effects are specified in table "Defines", but I cannot remember whether these are Defines that can actually be modded or whether the game ignores changes made to them (as it does for certain specific defines)
Code:
<GameData>
	<Defines>
		<Row Name="GREAT_GENERAL_RANGE">
			<Value>2</Value>
		</Row>
		<Row Name="GREAT_GENERAL_STRENGTH_MOD">
			<Value>15</Value>
		</Row>
	</Defines>
</GameData>
Altering the defines would apply to the UNIT_GREAT_GENERAL as well as any unique units that also use the Great General Promotion.
 
Back
Top Bottom