Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Kalladar
Member
 
Join Date: Aug 2013
Location: Lenexa, KS
Posts: 71

Old January 6th, 2015, 01:24 PM
If you have the Deific Obedience feat, worship Sarenrae, and your level is sufficient, you can select Sunburst as a boon. This boon lets you add 1/2 of your level to determine your channeling die damage. On a cleric this works correctly, but on the the Divine Channeler, it does nothing. I tried copying the sunburst boon and modified the script to change it to use cHelpDCh for Divine Channeler, but it is not recognized. I then copied the script from the DCh class and I still get nothing. I played with the timing, but that doesn't seem to do anything. Anyway, long winded, but here are my current scripts. If anyone can point out what I am missing that would be great.


doneif (tagis[Helper.SpcDisable] <> 0)

doneif (field[usrChosen1].ischosen = 0)

field[usrChosen1].chosen.field[abImprove].value += (hero.childfound[cHelpClr].field[cTotalLev].value / 2)

field[usrChosen1].chosen.field[abImprove].value += (hero.childfound[cHelpDCh].field[cTotalLev].value / 2)


~ We need to change the channeling dice to match the new progression
var tagexpr as string
tagexpr = "SpecSource.cHelpDCh"
call ChanEnFind

doneif (state.isfocus = 0)

if (field[xAllLev].value >= 20) then
focus.field[abValue2].value = 12
elseif (field[xAllLev].value >= 18) then
focus.field[abValue2].value = 11
elseif (field[xAllLev].value >= 16) then
focus.field[abValue2].value = 10
elseif (field[xAllLev].value >= 14) then
focus.field[abValue2].value = 9
elseif (field[xAllLev].value >= 12) then
focus.field[abValue2].value = 8
elseif (field[xAllLev].value >= 11) then
focus.field[abValue2].value = 7
elseif (field[xAllLev].value >= 10) then
focus.field[abValue2].value = 6
elseif (field[xAllLev].value >= 8) then
focus.field[abValue2].value = 5
elseif (field[xAllLev].value >= 6) then
focus.field[abValue2].value = 4
elseif (field[xAllLev].value >= 4) then
focus.field[abValue2].value = 3
elseif (field[xAllLev].value >= 2) then
focus.field[abValue2].value = 2
else
focus.field[abValue2].value = 1
endif




and this is the latest script.

doneif (tagis[Helper.SpcDisable] <> 0)

doneif (field[usrChosen1].ischosen = 0)

field[usrChosen1].chosen.field[abImprove].value += (hero.childfound[cHelpClr].field[cTotalLev].value / 2)

field[usrChosen1].chosen.field[abImprove].value += (hero.childfound[cHelpDCh].field[cTotalLev].value / 2)


~ We need to change the channeling dice to match the new progression
var tagexpr as string
tagexpr = "SpecSource.cHelpDCh"
call ChanEnFind

doneif (state.isfocus = 0)

~ this next line was added because I couldn't think of anything else. It didn't work, so can be removed

hero.herofield[tLevel].value += (hero.herofield[tLevel].value /2)

if (hero.herofield[tLevel].value >= 20) then
focus.field[abValue2].value = 12
elseif (hero.herofield[tLevel].value >= 18) then
focus.field[abValue2].value = 11
elseif (hero.herofield[tLevel].value >= 16) then
focus.field[abValue2].value = 10
elseif (hero.herofield[tLevel].value >= 14) then
focus.field[abValue2].value = 9
elseif (hero.herofield[tLevel].value >= 12) then
focus.field[abValue2].value = 8
elseif (hero.herofield[tLevel].value >= 11) then
focus.field[abValue2].value = 7
elseif (hero.herofield[tLevel].value >= 10) then
focus.field[abValue2].value = 6
elseif (hero.herofield[tLevel].value >= 8) then
focus.field[abValue2].value = 5
elseif (hero.herofield[tLevel].value >= 6) then
focus.field[abValue2].value = 4
elseif (hero.herofield[tLevel].value >= 4) then
focus.field[abValue2].value = 3
elseif (hero.herofield[tLevel].value >= 2) then
focus.field[abValue2].value = 2
else
focus.field[abValue2].value = 1
endif
Kalladar is offline   #1 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old January 6th, 2015, 02:05 PM
Are you sure that cHelpDCh is the Class Helper tag for Divine Channeler class? When you do "Develop->Floating Info Windows->Show Selection Tags" on the Divine CHanneler is that the cHelp tag?

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #2 Reply With Quote
Kalladar
Member
 
Join Date: Aug 2013
Location: Lenexa, KS
Posts: 71

Old January 6th, 2015, 02:26 PM
Yes. this is the tag that is shown.cHelpDCh
Kalladar is offline   #3 Reply With Quote
Kalladar
Member
 
Join Date: Aug 2013
Location: Lenexa, KS
Posts: 71

Old January 7th, 2015, 01:00 PM
I figured out a solution. I changed the timing to be post attributes instead of post levels and that resolved my issues. I did change the script slightly as well, but all is well.

Thanks.

Kal
Kalladar is offline   #4 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old January 7th, 2015, 02:49 PM
Quote:
Originally Posted by Kalladar View Post
I figured out a solution. I changed the timing to be post attributes instead of post levels and that resolved my issues. I did change the script slightly as well, but all is well.

Thanks.

Kal
Great. I am off vaca and got home late last night and didn't look into this... Glad you got it working...

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #5 Reply With Quote
Reply


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 01:58 PM.


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