Junior Member
Join Date: Oct 2014
Location: New Jersey, USA
Posts: 3
|
Hello. I'm new to the forums and to Hero Lab in general. I have a question about adding the kundala class from the Book of Erotic Fantasy. I've skimmed the tutorials, but I have to admit I'm stumped on adding complex special abilities to the class.
Specifically, the kundala gets an ability called Blessings of the Wise. This ability gives the character a bonus to all saving throws equal to his/her Wisdom bonus. How would I add that? Thanks in advance |
#1 |
Senior Member
Join Date: Nov 2013
Location: Andover, Ma
Posts: 632
|
I actually have a Kundala class (and some other material) from the BoEF, made. If you want a copy of it I'd be happy send it to you.
But to answer your question you'd use the following code: Post-Attributes/10000 Code:
~ If we're not shown, just get out now doneif (tagis[Helper.ShowSpec] = 0) var bonus as number bonus = hero.child[aWIS].field[aModBonus].value hero.child[vFort].field[Bonus].value = hero.child[vFort].field[Bonus].value + bonus hero.child[vRef].field[Bonus].value = hero.child[vRef].field[Bonus].value + bonus hero.child[vWill].field[Bonus].value = hero.child[vWill].field[Bonus].value + bonus |
#2 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
You can also shortcut the following bit:
Code:
hero.child[vFort].field[Bonus].value = hero.child[vFort].field[Bonus].value + bonus hero.child[vRef].field[Bonus].value = hero.child[vRef].field[Bonus].value + bonus hero.child[vWill].field[Bonus].value = hero.child[vWill].field[Bonus].value + bonus Code:
hero.child[vFort].field[Bonus].value += bonus hero.child[vRef].field[Bonus].value += bonus hero.child[vWill].field[Bonus].value += bonus |
#3 |
Senior Member
Join Date: Nov 2013
Location: Andover, Ma
Posts: 632
|
Right... Its been months since I did anything with it, back when I knew next to nothing thanks for catching this for me. Kinda obvious once you pointed it out.. lol
|
#4 |
Junior Member
Join Date: Oct 2014
Location: New Jersey, USA
Posts: 3
|
Thank you both very much for the help. And sure, Toby, I'd love to see your work. I can compare your kundala to mine and see how badly I did.
|
#5 |
Senior Member
Join Date: Nov 2013
Location: Andover, Ma
Posts: 632
|
I'll go back and touch it up, and add source information to the file and post it as soon as I get a chance.
|
#6 |
Senior Member
Join Date: Nov 2013
Location: Andover, Ma
Posts: 632
|
I am really sorry about the delay, it took longer than I thought it would to source everything.
The file is far from complete and will very likely, never be contained in Lawful_G pack. The material contained within is highly adult, I don't have any immediate plans to add to this file but in the future I probably will. Please note that using the metaphysical spellshaper with other classes/feats/abilities that reduce Metamagic cost WILL CAUSE SERIOUS ERRORS if you reduce the cost of metamagics to a zero or negative value. EDIT: I cannot upload the file as it is larger than what forum uploads permit, as follows is the dropbox link. https://www.dropbox.com/s/680s9e4l3v...Only.user?dl=0 |
#7 |
Junior Member
Join Date: Oct 2014
Location: New Jersey, USA
Posts: 3
|
Thanks again, Toby. And no worries about the delay.
Last edited by zhoufengrong; October 22nd, 2014 at 02:04 PM. |
#8 |
|
|