Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Savage Worlds

Notices

Reply
 
Thread Tools Display Modes
Gumbytie
Senior Member
 
Join Date: Jun 2010
Location: Florida
Posts: 235

Old August 26th, 2023, 12:18 PM
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 offline   #1 Reply With Quote
Gumbytie
Senior Member
 
Join Date: Jun 2010
Location: Florida
Posts: 235

Old August 26th, 2023, 12:22 PM
Never mind, I finally got this to work.
Gumbytie is offline   #2 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 11:45 AM.


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