Lone Wolf Development Forums  

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


Thread Tools Display Modes
Senior Member
Join Date: Jun 2010
Location: Florida
Posts: 199

Old January 25th, 2020, 05:30 AM
First time I have encountered this combination for an Edge, either a Skill level or Hindrance is a requirement.

Requirements: Spellcasting d6+ or the Only Illusions Hindrance

So I have two versions of code I have tried and neither seems to work. No errors, just not working.

Version One:
        validif (#traitfound[skTYRSpellcast] >= 3)
        validif (hero.tagis[Hindrance.hinTYROnlyIllusio] <> 0)
        if (@ispick <> 0) then
          altpick.linkvalid = 0

Version Two:
        validif (hero.tagis[Sk.skTYRSpellcast] >= 3)
        validif (hero.tagis[Hindrance.hinTYROnlyIllusio] <> 0)
        if (@ispick <> 0) then
          altpick.linkvalid = 0
Any suggestions on where I screwed up?
Gumbytie is offline   #1 Reply With Quote
Senior Member
Volunteer Data File Contributor
Join Date: Aug 2009
Posts: 1,508

Old January 26th, 2020, 10:22 PM
OK, the first one is the one that should work. Ensure that skTYRSpellcast is the Spellcasting Skill being used.
Also, check your hero tag list and ensure that tag is present on the hero when the Hindrance is selected.
The code looks correct, though. Either one being true should pass that test.

Currently In Development: Savage Pathfinder
Future Development: SWADE Super Powers Companion, SWADE Fantasy Companion
Currently Running: Savage PsiWorld
Future Possibilities: Savage Autoduel, Savage Unity Inc. (homebrew multiverse theme)
Setting Files Supported: Deadlands: Reloaded, Flash Gordon, Gaslight, Hellfrost, Interface Zero 2.0, Seven Worlds, Slipstream, Solomon Kane
Future Setting Files: Savage Judge Dredd
CapedCrusader is offline   #2 Reply With Quote

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 05:26 AM.

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