Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Savage Worlds
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Praetor
Member
 
Join Date: Mar 2008
Location: Richmond, Va
Posts: 79

Old September 24th, 2011, 10:45 AM
Anybody can tell me what I am doing wrong here, i tried using this code like searching for an edge but it will not work while searching for a hindrance. it tests without errors but does nothing when put in place.

Code:
 
foreach pick in hero from Edge where "!Hide.Hindrance"
if (eachpick.tagis[Hindrance.hinBloodTh] <> 0) then
perform #traitadjust[trParry,-,1,"Bloodscent"]
endif
nexteach

Alvin Leadbetter
www.rpden.net
Praetor is offline   #1 Reply With Quote
CapedCrusader
Senior Member
Volunteer Data File Contributor
 
Join Date: Aug 2009
Posts: 1,550

Old September 25th, 2011, 08:15 PM
What's the desired end result? Why not just put the -1 Parry in an Eval Script on Bloodscent? How does it depend on hinBloodTh?

Oh, and did you try "foreach pick in hero from Hindrance"?
CapedCrusader is offline   #2 Reply With Quote
Praetor
Member
 
Join Date: Mar 2008
Location: Richmond, Va
Posts: 79

Old September 26th, 2011, 01:16 PM
no I didn't should have though. Gaslight gives Werewolves in werewolf form a -4 charisma, however if they already have the bloodthirsty hindrance they become reckless and ake a -1 parry instead. These penalties are only when they are in werewolf form.

Alvin Leadbetter
www.rpden.net
Praetor is offline   #3 Reply With Quote
Praetor
Member
 
Join Date: Mar 2008
Location: Richmond, Va
Posts: 79

Old September 26th, 2011, 02:04 PM
Foreach pick in hero from Hindrance was the answer. Here's the full script.
Code:
 
if (field[abilActive].value <> 0) then
perform #traitadjust[trCharisma,-,4,"Bloodscent"]
foreach pick in hero from Hindrance where "!Hide.Hindrance"
if (eachpick.tagis[Hindrance.hinBloodth] <> 0) then
perform #traitadjust[trParry,-,1,"Bloodscent"]
endif
nexteach
endif
Now if i can figure out how to add 1 point of natural armor thru the script.

Alvin Leadbetter
www.rpden.net
Praetor is offline   #4 Reply With Quote
Reply


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 06:04 AM.


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