View Single Post
Gumbytie
Senior Member
 
Join Date: Jun 2010
Location: Florida
Posts: 237

Old August 26th, 2023, 11:18 AM
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
Gumbytie is online now   #1 Reply With Quote