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
Pezmerga
Senior Member
 
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328

Old October 1st, 2011, 08:35 PM
I cannot get this to work...It is a modified Monk unarmed damage as a custom ability.

Code:
Post Levels   Priority 5000
~ Get our unarmed strike pick, delete the damage tag from it, and assign
      ~ a new damage tag.
      var dice as string
      perform hero.child[wUnarmed].delete[wMain.?]
      if (field[xTotalLev].value <= 3) then
        perform hero.child[wUnarmed].assign[wMain.1d6_5]
        dice = "1d6"
      elseif (field[xTotalLev].value < 8) then
        perform hero.child[wUnarmed].assign[wMain.1d8_6]
        dice = "1d8"
      elseif (field[xTotalLev].value >= 8) then
        perform hero.child[wUnarmed].assign[wMain.1d10_304]
        dice = "1d10"
      endif
level 1-3 they do 1d6
level 4-7 its 1d8
and 8 and up is 1d10...

I noticed [xAllLev] wouldn't work in custom abilities, just in class specials.... I swear I had this same script working like last week.

Last edited by Pezmerga; October 2nd, 2011 at 12:24 AM.
Pezmerga is offline   #1 Reply With Quote
Pezmerga
Senior Member
 
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328

Old October 1st, 2011, 11:44 PM
I figured out what was going on. I have a feat as a prereq that changes unarmed damage to 1d4. This is taking precedence over the class ability.
Changed the feats timing to Pre-Levels and now it works fine!

Last edited by Pezmerga; October 2nd, 2011 at 12:17 AM.
Pezmerga is offline   #2 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 06:36 PM.


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