• 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

Kundala class help

zhoufengrong

New member
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
 
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
 
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

to this:

Code:
      hero.child[vFort].field[Bonus].value += bonus
      hero.child[vRef].field[Bonus].value += bonus
      hero.child[vWill].field[Bonus].value += bonus
 
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

You can also shortcut the following bit:

Code:
      hero.child[vFort].field[Bonus].value += bonus
      hero.child[vRef].field[Bonus].value += bonus
      hero.child[vWill].field[Bonus].value += bonus
 
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. :D
 
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/680s9e4l3v39dkp/3.0 - Book of Erotic Fantasy - Adult Only.user?dl=0
 
Back
Top