Small computer buff not working.

Makarya

Chieftain
Joined
Jul 25, 2018
Messages
23
Hello, I have a mod with some adjusments for my games. I wanted to add some small buffs to the Computer but I'm stuck right at the start.

The buff are giving some reduction to upgrade cost (both gold and ressource) and give some small systematic healing to their units.

And I'm seeing no change in game and not even in DebugGameplay.sqlite.
 

Attachments

GameEffects.log :
Code:
[2054514.210] [Turn: 1] Warning: Failed to Attach Modifier <AI_CHEAT_HEALING> to <Player: 0> because <Invalid Definition>.
[2054514.210] [Turn: 1] Arguments:
[2054514.210] [Turn: 1] Amount: 5

[2054514.211] [Turn: 1] Attaching Modifier <205:AI_CHEAT_UPGRADE_GOLD_COST> to <Player: 0>.
[2054514.211] [Turn: 1] Arguments:
[2054514.211] [Turn: 1] Amount: 100
[2054514.211] [Turn: 1] Applying effect from <205:AI_CHEAT_UPGRADE_GOLD_COST> to <Player: 0>.
[2054514.211] [Turn: 1] Attaching Modifier <206:AI_CHEAT_UPGRADE_RESSOURCE_COST> to <Player: 0>.
[2054514.211] [Turn: 1] Arguments:
[2054514.211] [Turn: 1] Amount: 100
[2054514.211] [Turn: 1] Applying effect from <206:AI_CHEAT_UPGRADE_RESSOURCE_COST> to <Player: 0>.

[2054514.226] [Turn: 1] Warning: Failed to Attach Modifier <AI_CHEAT_HEALING> to <Player: 1> because <Invalid Definition>.
[2054514.226] [Turn: 1] Arguments:
[2054514.226] [Turn: 1] Amount: 5
[2054514.226] [Turn: 1] Attaching Modifier <275:AI_CHEAT_UPGRADE_GOLD_COST> to <Player: 1>.
[2054514.226] [Turn: 1] Arguments:
[2054514.226] [Turn: 1] Amount: 100
[2054514.226] [Turn: 1] Applying effect from <275:AI_CHEAT_UPGRADE_GOLD_COST> to <Player: 1>.
[2054514.226] [Turn: 1] Attaching Modifier <276:AI_CHEAT_UPGRADE_RESSOURCE_COST> to <Player: 1>.
[2054514.226] [Turn: 1] Arguments:
[2054514.226] [Turn: 1] Amount: 100
[2054514.226] [Turn: 1] Applying effect from <276:AI_CHEAT_UPGRADE_RESSOURCE_COST> to <Player: 1>.
Etc....

Code:
"Modifiers"
ModifierId					ModifierType
PROFESSIONAL_ARMY_UNITUPGRADEDISCOUNT		MODIFIER_PLAYER_ADJUST_UNIT_UPGRADE_DISCOUNT_PERCENT
PROFESSIONAL_ARMY_UPGRADE_RESOURCE_DISCOUNT	MODIFIER_PLAYER_ADJUST_UNIT_UPGRADE_RESOURCE_COST_MODIFIER
MEDIC_INCREASE_HEAL_RATE			MODIFIER_PLAYER_UNITS_ADJUST_HEAL_PER_TURN
APOSTLE_CHAPLAIN				MODIFIER_PLAYER_UNITS_ADJUST_HEAL_PER_TURN

"ModifierArguments"
ModifierId					Name	Value
PROFESSIONAL_ARMY_UNITUPGRADEDISCOUNT		Amount	50
PROFESSIONAL_ARMY_UPGRADE_RESOURCE_DISCOUNT	Amount	50
MEDIC_INCREASE_HEAL_RATE			Amount	20
MEDIC_INCREASE_HEAL_RATE			Type	ALL
APOSTLE_CHAPLAIN				Amount	20
APOSTLE_CHAPLAIN				Type	ALL
 
Ok, I activated the GameEffects.log and corrected the missing arguments 'Type' 'ALL' for the healing.

However it wasn't enough to solve my problems.
 
Back
Top Bottom