• 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

Script based on created User Tag

Gumbytie

Well-known member
So I have an Edge that applies a +1 to attack bonus for "light" swords only (aka rapier, heavy rapier, shortsword). Since I am nit using Standard Gear, all these weapons reside in my .user file.

So I added a Tag: User Light, to each of these weapons. Then I applies this script to my Edge.

Pre-Traits/5000
Code:
foreach pick in hero from WeapMelee
   if (eachpick.tagis[User.Light] <> 0) then
      eachpick.field[wpBonus].value += 1
   endif
nexteach

No erros, just doesn't apply the +1 bonus. So my first question, can we script using Tags we create like above? If so, any idea why this doesn't work then. I tried using a Debug but it didn't like the syntax: debug User.Light
 
Back
Top