Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
So taking the foreach loop from VS feat. Code:
~ Loop through all weapons on the hero except Touch Attacks ~ and any Ammunition. foreach pick in hero from BaseWep where "!(thingid.wRay|wCategory.Ammunition|thingid.wTouch|wCategory.AmmoCart)" nexteach We need to add logic so that we only find weapons that have the Foe-Biter ability: Code:
~ Loop through all weapons that have Foe-Biter ability foreach pick in hero from BaseWep where "HasAbility.laFoeBite" nexteach This should cause your logic to now run on any Foe-Biter weapon on your character. Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|
#9 |
|
|