Zauberfaedenpony
Chieftain
- Joined
- Oct 10, 2020
- Messages
- 5
Hi all,
I am new to modding and I did not find any references to unit groups (e.g.: military units, raged units etc.)
Is there a way to add e.g. 5 combat strength to all units, or do I need to do it like:
INSERT INTO Modifiers
(ModifierId, ModifierType, RunOnce, Permanent )
VALUES ('MODIFIER_ADDITIONAL_COMBAT_STRENGTH', 'MODIFIER_UNIT_ADJUST_COMBAT_STRENGTH', 0, 1 ),
INSERT INTO ModifierArguments
(ModifierId, Name, Value )
('MODIFIER_ADDITIONAL_COMBAT_STRENGTH', 'UnitType', 'UNIT_WARRIOR')
('MODIFIER_ADDITIONAL_COMBAT_STRENGTH', 'ModifierType', 'PLAYER_UNIT_ADJUST_COMBAT_STREGTH')
('MODIFIER_ADDITIONAL_COMBAT_STRENGTH', 'Amount', '5')
('MODIFIER_ADDITIONAL_COMBAT_STRENGTH', 'UnitType', 'UNIT_ARCHER')
...
I am new to modding and I did not find any references to unit groups (e.g.: military units, raged units etc.)
Is there a way to add e.g. 5 combat strength to all units, or do I need to do it like:
INSERT INTO Modifiers
(ModifierId, ModifierType, RunOnce, Permanent )
VALUES ('MODIFIER_ADDITIONAL_COMBAT_STRENGTH', 'MODIFIER_UNIT_ADJUST_COMBAT_STRENGTH', 0, 1 ),
INSERT INTO ModifierArguments
(ModifierId, Name, Value )
('MODIFIER_ADDITIONAL_COMBAT_STRENGTH', 'UnitType', 'UNIT_WARRIOR')
('MODIFIER_ADDITIONAL_COMBAT_STRENGTH', 'ModifierType', 'PLAYER_UNIT_ADJUST_COMBAT_STREGTH')
('MODIFIER_ADDITIONAL_COMBAT_STRENGTH', 'Amount', '5')
('MODIFIER_ADDITIONAL_COMBAT_STRENGTH', 'UnitType', 'UNIT_ARCHER')
...