I have a unit ability that uses modifier type 'MODIFIER_PLAYER_UNIT_ADJUST_GREAT_PEOPLE_POINTS_PER_KILL'. It works if requirements have to check the unit with this ability, but it does not work if I use a requirement that checks opponent's unit. For example this code does not work:
Does that modifier not work with requirements that check opponent's unit?
Code:
INSERT INTO RequirementSets ( RequirementSetId, RequirementSetType ) VALUES
( 'MY_REQUIREMENT', 'REQUIREMENTSET_TEST_ANY' );
INSERT INTO RequirementSetRequirements ( RequirementSetId, RequirementId ) VALUES
( 'MY_REQUIREMENT', 'ANTI_CAVALRY_OPPONENT_REQUIREMENT_LC' );