1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

[R&F] Question about

Discussion in 'Mod Creation Help' started by Makarya, Aug 1, 2018.

  1. Makarya

    Makarya Chieftain

    Joined:
    Jul 25, 2018
    Messages:
    21
    I wanted to give submarine a combat malus against land unit.

    I didn't find the one for siege unit so i constructed one myself. I have one question.

    I know you can require for a requirement_set, all or any requirement but in this case i would like to have always one requirement (is_attacking) and one among many (land_opponent).
    Is this possible to create this particular set of requirement? (If it's not possible i can create one abilities by type of land unit)



    The mod: https://1drv.ms/u/s!AjzvkOieRFT54C3eNkJ4sbdGICVz
     
  2. S1AL

    S1AL Warlord

    Joined:
    Jun 17, 2018
    Messages:
    134
    Gender:
    Male
    If I understand you correctly, you want to test multiple RequirementSets simultaneously, which is possible with the RequirementType "REQUIREMENT_REQUIREMENTSET_IS_MET".

    That said, you can also just test against FormationClassType "FORMATION_CLASS_LAND_COMBAT".
     
  3. Makarya

    Makarya Chieftain

    Joined:
    Jul 25, 2018
    Messages:
    21
    Noted, it could be handy.
    Thank you for the simplification.
     

Share This Page