Senior Member
Join Date: Jun 2010
Location: Florida
Posts: 235
|
First time I have encountered this combination for an Edge, either a Skill level or Hindrance is a requirement.
Illusionist 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: Code:
validif (#traitfound[skTYRSpellcast] >= 3) validif (hero.tagis[Hindrance.hinTYROnlyIllusio] <> 0) if (@ispick <> 0) then altpick.linkvalid = 0 endif Version Two: Code:
validif (hero.tagis[Sk.skTYRSpellcast] >= 3) validif (hero.tagis[Hindrance.hinTYROnlyIllusio] <> 0) if (@ispick <> 0) then altpick.linkvalid = 0 endif |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Aug 2009
Posts: 1,550
|
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, SWADE Fantasy Companion Future Development: SWADE Super Powers Companion, SWADE Sci-Fi Companion _ Currently Running: 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 |
#2 |
|
|