Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
Jamz
Senior Member
 
Join Date: Aug 2005
Location: Chicagoland
Posts: 397

Old March 7th, 2020, 12:50 PM
So, I'm trying to put NSH on my Small gnome in Giantslayer, but I get several errors, and it looks like it's related to it trying to adjust the size limitations for my unarmed attack? (I don't have any other slam attacks)

The relevant script is below, I don't have time for a bug fix as I need it tomorrow. Is there a way to fix this? like check if the pick from the foreach is unarmed, then skip it? (FWIW I tested it on a medium creature and it works just fine, so pretty sure it's because I'm small?)

Current script:
Code:
 var wepsize as number
      wepsize = herofield[tSize].value + 1

      ~ If we're not equipped, get out now
      doneif (field[gIsEquip].value = 0)

      foreach pick in hero from BaseWep
        if (eachpick.field[gSize].value = wepsize) then
            eachpick.field[gSizeDiff].value -= 1
        endif
      nexteach

-Jamz

RPTools.net | MapTool Discord Invite

Download Latest MapTool Release | Download Latest TokenTool Release
Jamz is offline   #1 Reply With Quote
Reply

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 05:31 PM.


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