Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game


Thread Tools Display Modes
Prev Previous Post   Next Post Next
Join Date: Mar 2016
Posts: 68

Old August 17th, 2016, 02:01 PM
Hello again HL forums, I've got a tricky bit of eval scripting that I cannot seem to get working. I've got a race that is sort of 'build your own anthropomorphic' type deal from the Thunderscape Campaign setting, and they get their choice of claw or bite or gore attack, which I've copied the mechanics from 'claw attack' additional ability from tiefling. Then they get their pick of three abilities from a list.

One of which increases the damage rating of their natural attacks (from race), one of which makes their natural attacks (from race) 19-20/x2. I'm having difficulty coding this. I tried looking at how the script works to increase weapon damage of all natural weapons when you increase the size but it hasn't worked with my modifications. I've added a tag Helper.FerranNaturalWeapon to all the natural weapon abilities from the race, and went with something to this effect:

~change the size of our natural weapons
      var searchexpr as string
      searchexpr = "tagis[Helper.FeralNaturalWeapon]"      
      foreach pick in hero from BaseNatWep where searchexpr
         perform eachpick.assign[Helper.DamageUp]
I've tried variations of this, not using tagis, not doing it as a variable, it always comes back that it's not a valid expression. I also don't even know how I'm going to do the crit change.
chaoscowboy is offline   #1 Reply With Quote

Thread Tools
Display Modes

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 04:42 PM.

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