Hi,
I wanted to create a simple trait granting a permanent +5 strength. But I can't seem to make it work.
Trait Id is TRAIT_TOQUI_COMBAT_BONUS_UNITS_VS_GOLDEN_AGE_CIV different from TRAIT_TOQUI_COMBAT_BONUS_VS_GOLDEN_AGE_CIV of Mapuche.
Original code was more complex but since I add no effect (and no database error) I tried a much simpler version first to debug it.
I wanted to create a simple trait granting a permanent +5 strength. But I can't seem to make it work.
Code:
INSERT OR IGNORE INTO TraitModifiers
(TraitType , ModifierId)
VALUES
('TRAIT_CIVILIZATION_MAPUCHE_TOQUI' ,'TRAIT_TOQUI_COMBAT_BONUS_UNITS_VS_GOLDEN_AGE_CIV');
INSERT OR IGNORE INTO Modifiers
(ModifierId , ModifierType, RunOnce, Permanent, OwnerRequirementSetId, SubjectRequirementSetId)
VALUES
('TRAIT_TOQUI_COMBAT_BONUS_UNITS_VS_GOLDEN_AGE_CIV' ,'MODIFIER_PLAYER_UNITS_ADJUST_COMBAT_STRENGTH', 0, 0, NULL, NULL);
INSERT OR IGNORE INTO ModifierArguments
(ModifierId , Name, Value, Extra, SecondExtra)
VALUES
('TRAIT_TOQUI_COMBAT_BONUS_UNITS_VS_GOLDEN_AGE_CIV' ,'Amount', 5, NULL, NULL);
Trait Id is TRAIT_TOQUI_COMBAT_BONUS_UNITS_VS_GOLDEN_AGE_CIV different from TRAIT_TOQUI_COMBAT_BONUS_VS_GOLDEN_AGE_CIV of Mapuche.
Original code was more complex but since I add no effect (and no database error) I tried a much simpler version first to debug it.