Requirements for unit ability that gives GG points per kill

qqqbbb

Prince
Joined
Sep 25, 2010
Messages
530
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:
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' );
Does that modifier not work with requirements that check opponent's unit?
 
Back
Top Bottom