• 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

Grab Weapon group and apply to weapon

willuwontu

Well-known member
With Adventurer's Armory 2 out, (but still in the process of coming to HL), I thought I'd make some of the weapon Modifications into feats that I can add to my character so I can build them. Right now I'm running into problems with the Versatile Design Weapon Mod.

Right now I have the 2 selection fields as 1) all weapons on hero, 2) all weapon groups
Code:
      ~Pre-levels 5000 Index 1 (same time as weapon focus)

      ~ If we're disabled, do nothing
      doneif (tagis[Helper.FtDisable] <> 0)

      ~ If we haven't chosen anything, get out now
      doneif (field[usrChosen1].ischosen + tagis[Target.?] = 0)
      doneif (field[usrChosen2].ischosen + tagis[Target.?] = 0)

      ~ Get the weapon and wFtrGroup tag from our choice
      perform field[usrChosen1].chosen.pulltags[IsWeapon.?]
      perform field[usrChosen2].chosen.pulltags[wFtrGroup.?]

      ~ Assign the appropriate tag to the weapon
      var id as string
      var name as string
      var tagID as string

      tagID = field[usrChosen2].chosen.pulltags[wFtrGroup.?]

      call fTargetId

      perform field[usrChosen1].chosen.pushtags[wFtrGroup.Monk]

      ~ Set our 'short name'
      field[shortname].text = "Design: " & name
      field[sbName].text = "Versatile Design (" & lowercase(name) & ")"
      
      ~ Pull the proficiency and raise by a step if fWepAdept not found
      perform field[usrChosen1].chosen.pulltags[wProfReq.?]

I can't figure out how to get the weapon group I've selected (currently I only have the one it assigns hardcoded).

Also it should make the weapon go up one step in difficulty of wielding if they don't have the weapon mod. prof. feat., which is something I can't figure out as well, but aren't too troubled by
 
Aye, came out 1 hour before I asked this question, while I was working on it. Woo, I don't have to do it anymore (and all my effort today on it was pointless)
 
Back
Top