• 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

Nargrym's Steel hand error on equip

Jamz

Well-known member
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
 
Back
Top