• Visit Rebornbuddy
  • Nourish

    Discussion in 'Community Developer Forum' started by Iso, May 1, 2017.

    1. Iso

      Iso Member

      Joined:
      Sep 30, 2014
      Messages:
      323
      Likes Received:
      5
      Trophy Points:
      18
      Hey, I want to give Nourish bonus for 3 carddraw choice, will _combo line do the trick?
      cardvalue:EX1_164a,50
       
    2. Iso

      Iso Member

      Joined:
      Sep 30, 2014
      Messages:
      323
      Likes Received:
      5
      Trophy Points:
      18
      or it will be the opposite:
      cardvalue:EX1_164b,50
       
    3. Iso

      Iso Member

      Joined:
      Sep 30, 2014
      Messages:
      323
      Likes Received:
      5
      Trophy Points:
      18
      or will rule engine work for Choose one like that?
      //Nourish - Gain 2 Mana Crystals.
      ohero=DRUID&p=EX1_164a,bonus=-10
       
    4. Coolmaster

      Coolmaster Member

      Joined:
      Aug 16, 2013
      Messages:
      709
      Likes Received:
      3
      Trophy Points:
      18
      You can't use EX1_164a or EX1_164b, because you don't play this card from your hand.

      I have added to rule new parameter "owncarddraw" (extra carddraw on your turn).
      You can use any comparison operators (=, !=, >, <)
      You can use it separately or together with other parameters.

      Examples:
      1)Give a small bonus if your carddraw this turn more than 2:
      owncarddraw>2,bonus=10
      2)Give a small bonus if your carddraw this turn more than 2 and you have played Nourish:
      p=EX1_164&owncarddraw>2,bonus=12
      3)Give a negative bonus if your carddraw this turn less than 3 and you have played Nourish and you have less 4 cards in your hand: (don't forget that the rules work at the end of the turn, after all actions)
      p=EX1_164&owncarddraw<3&ohc<4,bonus=-20
       
    5. Iso

      Iso Member

      Joined:
      Sep 30, 2014
      Messages:
      323
      Likes Received:
      5
      Trophy Points:
      18
      Nice, thanks a lot.
      I ended up with _combo.txt:
      cardvalue:EX1_164a,-20
      cardvalue:CFM_602b,-20
       

    Share This Page