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
The Wyrm Ouroboros
Member
 
Join Date: Oct 2013
Posts: 37

Old December 5th, 2023, 03:45 PM
I'm looking to add to a spell list all Divination Spells from the Cleric list. So far, I have managed this:

Quote:
doneif (state.isfocus = 0)

perform focus.assign[sClass.cHelpClr]
Is there a way to narrow this down to just Divination-school spells?

Dragonlance Fiction: Childe Lydia to the Dark Tower Came

"Look, I could kill you, but then I'd have to fill out paperwork. I hate paperwork. Even more than I hate you." -- Phineas Phentari
The Wyrm Ouroboros is offline   #1 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old December 6th, 2023, 08:52 AM
Quote:
Originally Posted by The Wyrm Ouroboros View Post
I'm looking to add to a spell list all Divination Spells from the Cleric list. So far, I have managed this:

Is there a way to narrow this down to just Divination-school spells?
Try the following:

Code:
hero.childfound[cHelpXXX].field[cCstSpExpr].text &= "| (sSchool.Divination & sClass.cHelpClr)"
Timing in final phase I think. XXX = class abbreviation (ie Drd for Druid). This is off the top of my head, so if it doesn't work let me know.
Sendric is offline   #2 Reply With Quote
The Wyrm Ouroboros
Member
 
Join Date: Oct 2013
Posts: 37

Old December 6th, 2023, 07:05 PM
Hm. No. Not in final phase, not in first phase, which is where 'pClsSplTyp' works.

Dragonlance Fiction: Childe Lydia to the Dark Tower Came

"Look, I could kill you, but then I'd have to fill out paperwork. I hate paperwork. Even more than I hate you." -- Phineas Phentari
The Wyrm Ouroboros is offline   #3 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old December 7th, 2023, 06:36 AM
Quote:
Originally Posted by The Wyrm Ouroboros View Post
Hm. No. Not in final phase, not in first phase, which is where 'pClsSplTyp' works.
Sorry. Wrong field:

Post-Level / 10500:

hero.childfound[cHelpDrd].field[cSpellExpr].text &= " | (sSchool.Divination & sClass.cHelpClr)"
Sendric is offline   #4 Reply With Quote
The Wyrm Ouroboros
Member
 
Join Date: Oct 2013
Posts: 37

Old December 8th, 2023, 10:16 PM
Unfortunately, that isn't working at any timing point. What is 'cSpellExpr' that it's calling / modifying?

Dragonlance Fiction: Childe Lydia to the Dark Tower Came

"Look, I could kill you, but then I'd have to fill out paperwork. I hate paperwork. Even more than I hate you." -- Phineas Phentari
The Wyrm Ouroboros is offline   #5 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old December 11th, 2023, 02:48 AM
Quote:
Originally Posted by The Wyrm Ouroboros View Post
Unfortunately, that isn't working at any timing point. What is 'cSpellExpr' that it's calling / modifying?
I made an adjustment with that exact script and timing and it worked. I'll need to see what exactly you're doing to see why it's not working on your end. (Note: You do need to change cHelpDrd to whatever class you're trying to modify).

The cSpellExpr field defines the list of spells a class has access to.
Sendric is offline   #6 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 03:02 AM.


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