• 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

Help with Chanel energy

Kaleb

Well-known member
I used the cleric chanel energy [cClrChan] put in the levels that I wanted chanel energy at. Chanel Energy shows up on the specials tab but does not increment the dice for chanel energy. How do I fix this?
 
With channel energy for a new class you have to create the special from scratch, mostly its making a copy of the cleric ability and changing the parts that have SpecSource.cHelpClr to SpecSource.cHelpXXX where XXX is the abbv for your new class.
 
I still cannot get the Chanel energy to show show or Increment the dice
here are the 2 eval scripts that I am using
Post Levels 10000 1
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)

~ Set our name properly
var v_turnname as string
call cClrTurnNm
field[livename].text = v_turnname

var tagexpr as string
tagexpr = "SpecSource.cHelpBM2"
call ChanEnFind
doneif (state.isfocus = 0)

Post levels 10000 2
var bonus as number
var bonus2 as number

bonus += (field[xAllLev].value + 2)
bonus2 += round(bonus/4,0,-1)

var tagexpr as string
tagexpr = "SpecSource.cHelpBM2"
call ChanEnFind
doneif (state.isfocus = 0)

focus.field[trkMax].value += bonus2

Tags

Group ID:AbilType TagID Super
Name: Spernatural Ability Abbrv: (Su)
 
You're not assigning your bonus field anywhere it, try this
Post-Levels 1000
Code:
      ~only perform the calculations for the first copy
      doneif (tagis[Helper.FirstCopy] = 0)

      ~ If we're not shown, just get out now
      doneif (tagis[Helper.ShowSpec] = 0)


      if (root.field[cClrTurn].value = -1) then
         perform hero.assign[Hero.ChanNeg]
         perform assign[Helper.ChannelNeg]
      elseif (root.field[cClrNeutGE].value = 1) then
         perform hero.assign[Hero.ChanNeg]
         perform assign[Helper.ChannelNeg]
     endif

     if (tagis[Hero.ChanFlex] <> 0) then
        if (hero.tagis[Hero.ChanNeg] = 0) then
        perform hero.assign[Hero.ChanNeg]
        endif
      if (hero.tagis[Hero.ChanPos] = 0) then
        perform hero.assign[Hero.ChanPos]
        endif
      endif


      ~ Set our name properly
      var v_turnname as string
      call cClrTurnNm
      field[livename].text = v_turnname

      ~ Add our cleric level to our turning level.

      ~ We need to add to our channeling only, since we no longer stack.
      var tagexpr as string
      tagexpr = "SpecSource.cHelpBM2"
      call ChanEnFind
      doneif (state.isfocus = 0)

      focus.field[abValue].value += field[xAllLev].value + 2

      ~ We also need to add a Helper.ChannelPos or ChannelNeg depending on what
      ~ our alignment or the gods alignment. The cClrTurnNm assigned the
      ~ appropriate tag to this class special when it set the livename variable,
      ~ so forward that to the correct xChannel.
      perform focus.pushtags[Helper.Channel?]

Then get rid of the first bonus in your second script and run it as you had it to assign trkmax
 
Last edited:
Now to explain what I did a little better, the procedures called in the cleric's channel energy have just the Lone Wolf Paizo classes in there so when you have a different SpecSource it doesn't actually work (I found this out working on the Divine Channeler for Rite Publishing). What I had to do was break up the procedures (Aaron kindly gave me the code) and add them in where they would go to affect the class appropriately.
 
Back
Top