• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Channel Energy

Frodie

Well-known member
I have a Custom Ability for an archetype that does Channel Energy. How do you get it to chose positive or negative in the tracker? I know it has something to do with the following, but I just can't seem to get there.

Code:
  perform linkage[table].assign[ClassPanel.Channel]

         linkage[table].field[cClrTurn].value += 1
         perform assign[Helper.ChannelPos]

         linkage[table].field[cClrTurn].value -= 1
         perform assign[Helper.ChannelNeg]
 
Got it

Code:
  perform linkage[table].assign[ClassPanel.Channel]

      if (hero.childfound[cHelpInt].field[cClrTurn].value = -1) then
      perform hero.assign[Hero.ChanNeg]
      perform assign[Helper.ChannelNeg]
  elseif (hero.childfound[cHelpInt].field[cClrNeutGE].value = 1) then
      perform hero.assign[Hero.ChanNeg]
      perform assign[Helper.ChannelNeg]
    else
      perform hero.Assign[Hero.ChanPos]
      perform assign[Helper.ChannelPos]
      endif
 
Back
Top