Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
I'm trying to add the Ascetic Hunter feat from Complete Adventurer, which allows you to add your ranger levels to the monk's hieghtened unarmed strike damage. I found the example in the help files, but there was one line I didn't understand.
levels = root.field[cTotalLev].value So I modified it like this Phase: Levels Priority: 999999 ~ Make sure this is done as one of the last things in the "Level" phase, before the "PostLevel" scripts run - we need to set the "xExtraLev" field before then. ~ Get our total number of levels from the Ranger class and add it to our monk levels for Unarmed Strike damage var levels as number levels = #levelcount[Ranger] hero.child[cMnkUnarm].field[xExtraLev].value += levels But upon testing, it is not working, even after adding 7 levels or ranger, unarmed strike damage remains d6. Any help/explainations? |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
I am also having trouble checking for smite evil as a prereq for a related feat. Here is what I am trying, since I can't seem to do @valid = tagis[Hero.Smite]
var total as number total = hero.childfound[cPalSmite1].field[hTotal].value if (total >= 1) then @valid = 1 endif It gives me an "invalid use of reserved word in script" error message |
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
Nevermind the Smite evil prereq. I got it working with
if (picklives[cPalSmite1] <> 0) then @valid = 1 endif |
#3 |
Senior Member
Join Date: Jul 2007
Location: Syracuse, NY (USA)
Posts: 213
|
Quote:
All I did was copy/paste from your post, set for "Levels" and 999999. |
|
#4 |
Senior Member
|
Thanks very much for this bit of code. I was able to use it for Ascetic Rogue and now my wife is happy.
AWizardInDallas |
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
Huh, yeah, it is working for me as well now. Maybe it was one of those that the Test Now button wasn't sufficient for, and I had to close the program and restart it for the effects to take. I've noticed a few things like that.
Anyway, there is one more part of the feat that I forgot until now. It allows the character to freely multiclass between Monk and Ranger, how would I code to allow this? Currently after taking my first level of ranger, monk becomes greyed out. |
#6 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
A related feat (Devoted Performer, the Paladin/bard crossover feat), allows Bards to be lawful, is there an eval script to make the validation error for alignment go away?
|
#7 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
How are animal companions/special mounts/familiars being handled currently? Another hybrid feat, Devoted Tracker, allows a paladin's special mount to also be his animal companion, and receive the benefits of both. Any way to handle this at the moment?
|
#8 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
Noticed an error in the Help files. In the section about making a class ability X levels higher, the ID for Bardic Music is listed as "cBrdMusic" but it is actually "hBrdMusic" in my copy of Hero Lab.
|
#9 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,217
|
For your monk question, I looked at the tags for the monk class helper (cHelpMnk, specifically). It has the tag Helper.NoMultiAdv, and after another class is added, it also has the tag Helper.NoMoreCls. I'd say deleting one or both of those should remove the restriction, although you'll have to work a bit on the timing.
For your bard question, the cBard class item has the tag AlgnForbid.Lawful, you may be able to delete that. |
#10 |
|
|