Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
Kaleb
Senior Member
 
Join Date: Aug 2010
Posts: 576

Old March 21st, 2017, 03:23 PM
I have to create a custom channel Energy ability I have used the channel energy ability from the Hospitilar paladin but I cannot figure out where the healing/damage is set. I think it is set in the bootstrap xchannel but do I do not know where that procedure is located.
Kaleb is offline   #1 Reply With Quote
DeltaMasterMind
Senior Member
 
Join Date: Jul 2014
Posts: 412

Old March 23rd, 2017, 07:01 AM
I am with you on that one! I been building up a new healer archetype and one player suggested adding in channel, but I realized I couldn't find the procedure either. So I did this:

Quote:
~ If we're disabled, do nothing
doneif (tagis[Helper.SpcDisable] <> 0)
field[abValue2].value = #levelcount[CLASS] + 1
field[abValue] = maximum(round(field[abValue2].value / 2,0,-1),1)
field[livename].text = field[thingname].text & " " & field[abValue].value & " d6"
field[abSumm].text = "Channel " & field[abValue].value & "d6 hp per cast."
Granted I did not add the option to select negative or positive as my build can only use positive anyways. This gives an increase every 2 levels on odd numbers. I also bootstrapped the xChannel ability and added tags Helper ChannelPos as I believe some feats need this to work, I haven't gone back to test that theory so take what I say on xChannel with a grain of salt. Cheers!

Edit: If you meant how to set the channel type manually then all you need to do is add ChannelPos or ChannelNeg with the Helper tag.

Last edited by DeltaMasterMind; March 23rd, 2017 at 07:04 AM.
DeltaMasterMind is offline   #2 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old March 23rd, 2017, 12:23 PM
Assuming you want the turning to progress as a cleric does, bootstrap xChannel with a SpecSource tag. Then in a script for the class ability which adds channelling, use that tag with the ChanEnFind procedure to get the focus to the correct copy, and add to xChannel's abValue field (which is the effective level).

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

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

~ Add our class level to our turning level.
focus.field[abValue].value += field[xAllLev].value
Aaron is offline   #3 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 06:17 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.