Junior Member
Join Date: Nov 2012
Posts: 11
|
Hey, I cannot figure out how to add shield to this script:
Quote:
Essentially, this is a feat that requires that you be wearing light or no armor, and may not use shields except bucklers. I tried adding hero.shield or hero.lightshield or hero.heavyshield but those don't seem to exist. Is there a comprehensive list of item references somewhere? Thanks in advance. Last edited by nextgenrpg; April 26th, 2013 at 05:00 PM. |
|
#1 |
Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
Unique Id's for shields
Buckler ID = shBuckler Heavy Steel Shield ID = shHvSteel Light Steel Shield ID = shLtSteel Tower Shield ID = shTower Dormio Forte Somnio Community Created Resources : Data Package Repositories : d20pfsrd Custom Character Sheets Community Server Setup (Packs) Hero Lab Help- Video Tutorials and Pathfinder FAQ Created by the community for the community
|
#2 |
Junior Member
Join Date: Nov 2012
Posts: 11
|
Thanks!
|
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Go to "Develop->Floating Info Windows->Show Hero Tags" will show you every tag currently active on the hero. Look through the list for helpful tags. We find we have "Hero.EquipShld" and "ShldClass.Buckler" when a buckler is equipped. Or we have "Hero.EquipShld" and "ShldClass.Light" when its a light shield. So with this info we can do the following: Code:
~ Get out now if wearing Medium or Heavy armor doneif (hero.tagis[Hero.MedArmor] + hero.tagis[Hero.HeavyArmor] <> 0) ~ Get out now if wearing a shield besides a buckler doneif (hero.tagis[Hero.EquipShld] - hero.tagis[ShldClass.Buckler] <> 0) 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. |
|
#4 |
|
|