• 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

modifying spells per day with custom ability

TheNewProgrammer

Well-known member
hi all,
Still working on the new hunter's bonds. As it says in the title, I want to add spells per day with a custom ability.

I found
perform hero.child[ar......].setfocus
focus.field[cvCastTot].matrixvalue[0,0]-=4
..... continues for all levels
perform state.clearfocus

the problem with this is hero.child[] doesn't work with "ranger" or "cHelpRgr"

Is there a way to do this better?

I also wanted it to grant secondary spells. I have
perform hero.child[cHelpRgr].setfocus
focus.field[cSecSpName].text = "domain spells"
focus.field[cSecSplReq].value += 1
perform state.clearfocus
This, however does not grant access to secondary spells. I think I need a line that allows the secondary spells to appear. also ClsScAllSp tag doesn't work on custom abilities.

Overall, this might work better as a domain, but I can't figure out how to make it only available to rangers. If someone knows how to do that, i'd make it a domain.

thanks!
 
Back
Top